PR #65245 drop the header set for standby module,
we should still have it.
Fixes: https://tracker.ceph.com/issues/74149
Signed-off-by: Nitzan Mordechai <nmordech@ibm.com>
{% for service, urls in service_discovery_cfg.items() %}
{% if service != 'alertmanager' %}
- job_name: '{{ service }}'
+ fallback_scrape_protocol: PrometheusText0.0.4
relabel_configs:
- source_labels: [__address__]
target_label: cluster
@cherrypy.expose
def metrics(self) -> str:
+ cherrypy.response.headers['Content-Type'] = 'text/plain; charset=utf-8'
return ''
cherrypy.tree.mount(Root(), '/', {})