Skip to content

malformed metric is produced on the operator's own /metrics page #865

@redbaron

Description

@redbaron

Expected behavior (what you expected to happen):

valid metrics are produced on the 9115 port

Actual behavior (what actually happened):

malformed metrics name are produced:

# HELP _PREFIX_kubernetes_client_rate_limiter_latency_seconds {PREFIX}kubernetes_client_rate_limiter_latency_seconds
# TYPE _PREFIX_kubernetes_client_rate_limiter_latency_seconds histogram
_PREFIX_kubernetes_client_rate_limiter_latency_seconds_bucket{url="https://10.100.0.1:443/api/v1/configmaps?fieldSelector=%7Bvalue%7D",verb="GET",le="0.005"} 0

Steps to reproduce:

  1. scrape metrics on :9115/metrics

Environment:

  • Shell-operator version: 1.14.3
  • Kubernetes version: 1.33
  • Installation type (kubectl apply, helm chart, etc.):

Anything else we should know?:

Additional information for debugging (if necessary):

hooks metrics on :9115/metrics/hooks seems to be fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions