Skip to content

[DOC] Monitoring & Metrics page has incomplete/inaccurate data #21958

@jcpunk

Description

@jcpunk

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

from: https://docs.cilium.io/en/stable/operations/metrics/

When metrics are enabled, all Cilium components will have the following annotations. They can be used to signal Prometheus whether to scrape metrics:
prometheus.io/scrape: true
prometheus.io/port: 9962

The helm chart, however, has:

    {{- if not .Values.hubble.metrics.serviceMonitor.enabled }}
    prometheus.io/scrape: "true"
    prometheus.io/port: {{ .Values.hubble.metrics.port | quote }}
    {{- end }}

Which shows the annotation is only enabled in some cases.

Cilium Version

1.12.3

Kernel Version

This is a documentation issue, local software doesn't seem relevant.

Kubernetes Version

This is a documentation issue, local software doesn't seem relevant.

Sysdump

This is a documentation issue, local software doesn't seem relevant.

Relevant log output

This is a documentation issue, local software doesn't seem relevant.

Anything else?

Additional fields on how to use the cilium serviceMonitor (with prometheus-kube-stack helm chart) would be most welcome!

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/agentCilium agent related.area/documentationImpacts the documentation, including textual changes, sphinx, or other doc generation code.area/metricsImpacts statistics / metrics gathering, eg via Prometheus.good-first-issueGood starting point for new developers, which requires minimal understanding of Cilium.kind/bugThis is a bug in the Cilium logic.

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions