[
https://issues.apache.org/jira/browse/KUDU-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986191#comment-17986191
]
ASF subversion and git services commented on KUDU-3671:
-------------------------------------------------------
Commit 80d55c8d227cf376e2139310dd3f9b033f351f0b in kudu's branch
refs/heads/branch-1.18.x from Alexey Serbin
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=80d55c8d2 ]
KUDU-3671 severity level filtering for /metrics_prometheus
This changelist implements severity level filtering for the
/metrics_prometheus endpoint of the embedded Kudu webserver based
on the current setting for the --metrics_default_level flag. This
is now similar to the filtering for the /metrics endpoints, but the
severity level filtering for the /metrics_prometheus cannot be
overridden by query options as of this changelist. Basic test
scenarios for Kudu master and tablet server are included.
Change-Id: If1542476f06d575594e8b3636cab3681f1b6fdfa
Reviewed-on: http://gerrit.cloudera.org:8080/23093
Reviewed-by: Abhishek Chennaka <[email protected]>
Tested-by: Alexey Serbin <[email protected]>
(cherry picked from commit f7c956859e2f49c4cf1caffa969c1777a7a5d81c)
Reviewed-on: http://gerrit.cloudera.org:8080/23095
Tested-by: Abhishek Chennaka <[email protected]>
> Make /metrics_prometheus endpoints honor the metrics_default_level flag
> setting
> -------------------------------------------------------------------------------
>
> Key: KUDU-3671
> URL: https://issues.apache.org/jira/browse/KUDU-3671
> Project: Kudu
> Issue Type: Task
> Components: master, tserver
> Affects Versions: 1.17.0, 1.17.1
> Reporter: Alexey Serbin
> Assignee: Alexey Serbin
> Priority: Major
>
> This is to address TODO in {{MetricEntity::WriteAsPrometheus()}}:
> {noformat}
> // TODO(aserbin): instead of hard-coding, pass MetricFilters as a parameter
> MetricFilters filters;
> filters.entity_level = "debug";
> {noformat}
> The {{entity_level}} filter field should be sourced from the setting of the
> {{\-\-metrics_default_level}} flag, similar to JSON format metrics.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)