def METHOD_NAME(aggregator):
    version_parts = [int(p) for p in VERSION.split('.')]
    for metric in NAMESPACE_METRICS:
        aggregator.assert_metric("aerospike.namespace.{}".format(metric))
    if version_parts >= [5, 3]:
        for metric in LATENCIES_METRICS:
            aggregator.assert_metric(metric)
        aggregator.assert_metric('aerospike.set.device_data_bytes')
    else:
        for metric in TPS_METRICS:
            aggregator.assert_metric("aerospike.namespace.{}".format(metric))
        for metric in LAZY_METRICS:
            aggregator.assert_metric(metric)
    for metric in STATS_METRICS:
        aggregator.assert_metric("aerospike.{}".format(metric))
    if version_parts >= [5, 6]:
        for metric in SET_METRICS:
            aggregator.assert_metric("aerospike.set.{}".format(metric))
    else:
        for metric in LEGACY_SET_METRICS:
            aggregator.assert_metric("aerospike.set.{}".format(metric))
    aggregator.assert_all_metrics_covered()
    aggregator.assert_service_check('aerospike.can_connect', AerospikeCheck.OK)
    aggregator.assert_service_check('aerospike.cluster_up', AerospikeCheck.OK)