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.
Test-suite for stat collection using prometheus.
This test uses a TCP socket connection to localhost:8080.