Skip to content

"Application metrics" not being exported after setting ENABLE_METRICS #713

Description

@davidpellcb

Chart version: 3.6.2

We've set ENABLE_METRICS:

/ $ strings /proc/1/environ | grep -i metrics
ENABLE_METRICS=true

...however, the metrics chartmuseum_charts_served_total and chartmuseum_chart_versions_served_total documented here aren't being exported.

❯ curl -s localhost:8080/metrics | grep -v "#" | grep chartmuseum_chart | wc -l
       0

The "general global metrics" are being exported:

❯ curl -s localhost:8080/metrics | grep -v "#" | grep -i chartmuseum
chartmuseum_request_duration_seconds_sum 11.347815388000111
chartmuseum_request_duration_seconds_count 330745
chartmuseum_request_size_bytes_sum 2.8782004e+07
chartmuseum_request_size_bytes_count 330745
chartmuseum_requests_total{code="200",handler="helm.sh/chartmuseum/pkg/chartmuseum/router.(*Router).rootHandler-fm",host="x:8080",method="GET",url="/health"} 330192
chartmuseum_requests_total{code="200",handler="helm.sh/chartmuseum/pkg/chartmuseum/router.(*Router).rootHandler-fm",host="x:8080",method="GET",url="/:repoindex.yaml"} 553
chartmuseum_response_size_bytes_sum 4.34963519e+08
chartmuseum_response_size_bytes_count 330745

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions