(version)
return index_stats
Get the proper set of index metrics for the specified ES version
Get the proper set of index metrics for the specified ES version
Get the proper set of index metrics for the specified ES version
def index_stats_for_version(version):
    """
    Get the proper set of index metrics for the specified ES version
    """
    index_stats = {}

    if version:
        index_stats.update(INDEX_STATS_METRICS)

    return index_stats
def index_stats_for_version ( version ) : index_stats = { } if version : index_stats . update ( INDEX_STATS_METRICS ) return index_stats