[ 
https://issues.apache.org/jira/browse/SPARK-51770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun resolved SPARK-51770.
-----------------------------------
    Fix Version/s: kubernetes-operator-0.1.0
       Resolution: Fixed

Issue resolved by pull request 171
[https://github.com/apache/spark-kubernetes-operator/pull/171]

> 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
>            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

Reply via email to