sanyam230902(a)gmail.com has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1229379?usp=email )
Change subject: Add Content-Type header to Prometheus metrics response
......................................................................
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(a)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
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1229379?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ic4495c49d5caacdfc913c9ac233cc254df7b5002
Gerrit-Change-Number: 1229379
Gerrit-PatchSet: 1
Gerrit-Owner: sanyam230902(a)gmail.com