Alexey Serbin created KUDU-3671:
-----------------------------------

             Summary: 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.1, 1.17.0
            Reporter: Alexey Serbin


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 how this is done for JSON format 
metrics.



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

Reply via email to