Zhou JIANG created SPARK-51770: ---------------------------------- Summary: Set Content-Type headers for Prometheus v3 compatibility 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
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