lighthouse/beacon_node
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
..
beacon_chain Allow compilation with no slasher backend (#3888) 2023-02-28 02:20:49 +00:00
builder_client Merge remote-tracking branch 'origin/unstable' into capella 2023-01-12 16:22:00 +11:00
client Allow compilation with no slasher backend (#3888) 2023-02-28 02:20:49 +00:00
eth1 exchangeCapabilities & Capella Readiness Logging (#3918) 2023-01-31 18:26:23 +01:00
execution_layer Suggestions for Capella execution_layer (#3983) 2023-02-17 11:58:33 +11:00
genesis Fix the new BLS to execution change test 2023-01-25 15:47:07 +11:00
http_api Merge branch 'capella' into unstable 2023-02-22 10:25:45 +11:00
http_metrics Add content-type header to metrics server response (#3970) 2023-02-28 02:20:50 +00:00
lighthouse_network Register disconnected peers when temporarily banned (#4001) 2023-02-21 23:45:44 +00:00
network Fix metric (#4020) 2023-02-22 09:46:45 +11:00
operation_pool Fix Capella schema downgrades (#4004) 2023-02-20 17:50:42 +11:00
src Self rate limiting dev flag (#3928) 2023-02-08 02:18:53 +00:00
store Fix Capella schema downgrades (#4004) 2023-02-20 17:50:42 +11:00
tests Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
timer Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
Cargo.toml Allow compilation with no slasher backend (#3888) 2023-02-28 02:20:49 +00:00