def METHOD_NAME(aggregator, dd_run_check, mock_http_response):
    payload = """
        # HELP http_request_duration_microseconds The HTTP request latencies in microseconds.
        # TYPE http_request_duration_microseconds summary
        http_request_duration_microseconds{handler="prometheus",quantile="0.5"} 1599.011
        http_request_duration_microseconds{handler="prometheus",quantile="0.9"} 1599.011
        http_request_duration_microseconds{handler="prometheus",quantile="0.99"} 1599.011
        http_request_duration_microseconds_sum{handler="prometheus"} 65093.229
        http_request_duration_microseconds_count{handler="prometheus"} 25
        """
    mock_http_response(payload)
    check = get_check({'metrics': ['.+']})
    dd_run_check(check)
    aggregator.assert_metric(
        'test.http_request_duration_microseconds.quantile',
        1599.011,
        metric_type=aggregator.GAUGE,
        tags=['endpoint:test', 'handler:prometheus', 'quantile:0.5'],
    )
    aggregator.assert_metric(
        'test.http_request_duration_microseconds.quantile',
        1599.011,
        metric_type=aggregator.GAUGE,
        tags=['endpoint:test', 'handler:prometheus', 'quantile:0.9'],
    )
    aggregator.assert_metric(
        'test.http_request_duration_microseconds.quantile',
        1599.011,
        metric_type=aggregator.GAUGE,
        tags=['endpoint:test', 'handler:prometheus', 'quantile:0.99'],
    )
    aggregator.assert_metric(
        'test.http_request_duration_microseconds.sum',
        65093.229,
        metric_type=aggregator.MONOTONIC_COUNT,
        tags=['endpoint:test', 'handler:prometheus'],
    )
    aggregator.assert_metric(
        'test.http_request_duration_microseconds.count',
        25,
        metric_type=aggregator.MONOTONIC_COUNT,
        tags=['endpoint:test', 'handler:prometheus'],
    )
    aggregator.assert_all_metrics_covered()
    assert_metric_counts(aggregator, payload)