sanyam230902@gmail.com has uploaded this change for review.
Add Content-Type header to Prometheus metrics response
Latest Prometheus rejects scrape targets without Content-Type,
marking Files pod metrics as non-compliant.
Include text/plain; version=0.0.4; charset=utf-8 in the
exposer response to satisfy the scraper.
Change-Id: Ic4495c49d5caacdfc913c9ac233cc254df7b5002
Signed-off-by: Sanyam <sanyam230902@gmail.com>
---
M src/monitoring/prometheus_exposer.cc
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/79/1229379/1
To view, visit change 1229379. To unsubscribe, or for help writing mail filters, visit settings.