Peter Toth created SPARK-59927:
----------------------------------

             Summary: Fix the Kubernetes client metric names in 
`configuration.md`
                 Key: SPARK-59927
                 URL: https://issues.apache.org/jira/browse/SPARK-59927
             Project: Spark
          Issue Type: Sub-task
          Components: Kubernetes
    Affects Versions: kubernetes-operator-1.1.0
            Reporter: Peter Toth


The Kubernetes Client Metrics table in {{docs/configuration.md}} has wrong 
names for some meters.

- {{KubernetesMetricsInterceptor}} registers {{failed}} and {{1xx}}-{{5xx}} 
right under the {{kubernetes.client}} source. So the names a sink sees are 
{{kubernetes.client.failed}} and 
{{kubernetes.client.1xx}}-{{kubernetes.client.5xx}}. The table lists them as 
{{kubernetes.client.http.response.failed}} and 
{{kubernetes.client.http.response.1xx}}-{{5xx}}.
- The {{failed}} row says it tracks requests which have no response. 
{{afterFailure}} also marks it on every non-2xx response, e.g. a 404 GET.

Found while reviewing 
https://github.com/apache/spark-kubernetes-operator/pull/916.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to