[
https://issues.apache.org/jira/browse/KUDU-3549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
YUBI LEE updated KUDU-3549:
---------------------------
Description:
According to KUDU-3375, "Kudu now exposes all its metrics except for string
gauges in Prometheus format via the embedded webserver's `/metrics_prometheus`
endpoint".
*
[https://github.com/apache/kudu/blob/89e2715faf96afe0b67482166fda9c8699e8052f/docs/prior_release_notes.adoc?plain=1#L143-L145]
* https://issues.apache.org/jira/browse/KUDU-3375
However, with this commit
([https://github.com/apache/kudu/commit/e65ea38a4860c007d93ada9c991bccec903a80b1)]
, string gauge related to clock_ntp_status is exposed.
{code:java}
# HELP kudu_master_clock_ntp_status Output of ntp_adjtime()/ntp_gettime()
kernel API call
# TYPE kudu_master_clock_ntp_status gauge
kudu_master_clock_ntp_status{unit_type="state"} now:1706665936956760
maxerror:70013 status:ok {code}
It prevents prometheus operators from collecting prometheus metrics for kudu.
was:
According to KUDU-3375, "Kudu now exposes all its metrics except for string
gauges in Prometheus format via the embedded webserver's `/metrics_prometheus`
endpoint".
*
[https://github.com/apache/kudu/blob/89e2715faf96afe0b67482166fda9c8699e8052f/docs/prior_release_notes.adoc?plain=1#L143-L145]
* https://issues.apache.org/jira/browse/KUDU-3375
However, with this commit
([https://github.com/apache/kudu/commit/e65ea38a4860c007d93ada9c991bccec903a80b1)]
, string gauge related to clock_ntp_status is exposed.
{code:java}
# HELP kudu_master_clock_ntp_status Output of ntp_adjtime()/ntp_gettime()
kernel API call
# TYPE kudu_master_clock_ntp_status gauge
kudu_master_clock_ntp_status{unit_type="state"} now:1706665936956760
maxerror:70013 status:ok {code}
> String gauge exposed in prometheus format
> -----------------------------------------
>
> Key: KUDU-3549
> URL: https://issues.apache.org/jira/browse/KUDU-3549
> Project: Kudu
> Issue Type: Bug
> Components: metrics
> Affects Versions: 1.17.0
> Reporter: YUBI LEE
> Priority: Major
>
> According to KUDU-3375, "Kudu now exposes all its metrics except for string
> gauges in Prometheus format via the embedded webserver's
> `/metrics_prometheus` endpoint".
>
> *
> [https://github.com/apache/kudu/blob/89e2715faf96afe0b67482166fda9c8699e8052f/docs/prior_release_notes.adoc?plain=1#L143-L145]
> * https://issues.apache.org/jira/browse/KUDU-3375
>
> However, with this commit
> ([https://github.com/apache/kudu/commit/e65ea38a4860c007d93ada9c991bccec903a80b1)]
> , string gauge related to clock_ntp_status is exposed.
>
> {code:java}
> # HELP kudu_master_clock_ntp_status Output of ntp_adjtime()/ntp_gettime()
> kernel API call
> # TYPE kudu_master_clock_ntp_status gauge
> kudu_master_clock_ntp_status{unit_type="state"} now:1706665936956760
> maxerror:70013 status:ok {code}
> It prevents prometheus operators from collecting prometheus metrics for kudu.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)