[ https://issues.apache.org/jira/browse/SPARK-51770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-51770: ---------------------------------- Summary: Set `Content-Type` headers for Prometheus v3 (was: Set Content-Type headers for Prometheus v3 compatibility) > Set `Content-Type` headers for Prometheus v3 > -------------------------------------------- > > Key: SPARK-51770 > URL: https://issues.apache.org/jira/browse/SPARK-51770 > Project: Spark > Issue Type: Sub-task > Components: Kubernetes > Affects Versions: kubernetes-operator-0.1.0 > Reporter: Zhou JIANG > Assignee: Zhou JIANG > Priority: Major > Labels: pull-request-available > Fix For: kubernetes-operator-0.1.0 > > > Prometheus v3 will fail the scrape if the Content-Type header is not present > in response and the fallback scrape protocol is not configured. Therefore > we'd configure the headers properly for the operator metrics handler. > Please also refer > [https://prometheus.io/docs/prometheus/latest/migration/#scrape-protocols] > > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org