HTTP client task. It sends one HTTP GET request to the prometheus endpoint and receives a respone that should contain the expected stats, as provided in PrometheusStats.collection_text.
A class containing structs representing stats and their labels, a method that can be added to the CollectorRegistry, followed by a textual representation of the stats mock-collected here.
Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).
Copyright (c) 2019 dunnhumby Germany GmbH. All rights reserved
Test-suite for stat collection using prometheus.
This test uses a TCP socket connection to localhost:8080.