Skip to content

"Explore metrics" ignores TYPE/HELP for non-histogram/summary stat name ending with "_count" #16907

@stevewatanabe

Description

@stevewatanabe

Proposal

We are in the process of moving to the 3.5 version of Prometheus (from 2.53.5) and am pleased with the UI changes. For the "Explore metrics" feature we noticed the TYPE/HELP info was not present for a subset of our stats.
Image
and determined it was those with names ending in "_count".

Our endpoint which is scraped returns TYPE/HELP info for the stats ending in "_count" (this is from one of the services comprising our product).

$ curl -s -u Administrator:asdasd localhost:8091/_prometheusMetricsHigh | grep cm_erlang_
# TYPE cm_erlang_port_count gauge
# HELP cm_erlang_port_count The number of ports in use by the erlang VM
cm_erlang_port_count{} 121
# TYPE cm_erlang_port_limit gauge
# HELP cm_erlang_port_limit The maximum number of ports that the erlang VM can use
cm_erlang_port_limit{} 262144
# TYPE cm_erlang_process_count gauge
# HELP cm_erlang_process_count The number of processes in use by the erlang VM
cm_erlang_process_count{} 832
# TYPE cm_erlang_process_limit gauge
# HELP cm_erlang_process_limit The maximum number of processes that the erlang VM can use
cm_erlang_process_limit{} 524288

As many of our stat names have been in use for years it would be helpful if prometheus could be changed to use TYPE/HELP info provided for stats even if they end in "_count". Please consider this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions