(version)
return slm_health_metrics
Get the proper set of SLM metrics for the specified ES version
Get the proper set of SLM metrics for the specified ES version
Get the proper set of SLM metrics for the specified ES version
def slm_stats_for_version(version):
    """
    Get the proper set of SLM metrics for the specified ES version
    """
    slm_health_metrics = {}
    if version >= [7, 4, 0]:
        slm_health_metrics.update(dict(SLM_POLICY_METRICS))

    return slm_health_metrics
def slm_stats_for_version ( version ) : slm_health_metrics = { } if version >= [ 7 , 4 , 0 ] : slm_health_metrics . update ( dict ( SLM_POLICY_METRICS ) ) return slm_health_metrics