lighthouse-pulse/beacon_node/http_metrics/src
Alan Höng cc4fc422b2 Add content-type header to metrics server response (#3970)
This fixes issues with certain metrics scrapers, which might error if the content-type is not correctly set.

## Issue Addressed

Fixes https://github.com/sigp/lighthouse/issues/3437

## Proposed Changes

Simply set header: `Content-Type: text/plain` on metrics server response. Seems like the errored branch does this correctly already.

## Additional Info

This is needed also to enable influx-db metric scraping which work very nicely with Geth.
2023-02-28 02:20:50 +00:00
..
lib.rs Add content-type header to metrics server response (#3970) 2023-02-28 02:20:50 +00:00
metrics.rs libp2p upgrade + gossipsub interval fix (#3012) 2022-02-10 04:12:03 +00:00