-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Labels
area/agentCilium agent related.Cilium agent related.area/documentationImpacts the documentation, including textual changes, sphinx, or other doc generation code.Impacts the documentation, including textual changes, sphinx, or other doc generation code.area/metricsImpacts statistics / metrics gathering, eg via Prometheus.Impacts statistics / metrics gathering, eg via Prometheus.good-first-issueGood starting point for new developers, which requires minimal understanding of Cilium.Good starting point for new developers, which requires minimal understanding of Cilium.kind/bugThis is a bug in the Cilium logic.This is a bug in the Cilium logic.
Description
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
Labels
area/agentCilium agent related.Cilium agent related.area/documentationImpacts the documentation, including textual changes, sphinx, or other doc generation code.Impacts the documentation, including textual changes, sphinx, or other doc generation code.area/metricsImpacts statistics / metrics gathering, eg via Prometheus.Impacts statistics / metrics gathering, eg via Prometheus.good-first-issueGood starting point for new developers, which requires minimal understanding of Cilium.Good starting point for new developers, which requires minimal understanding of Cilium.kind/bugThis is a bug in the Cilium logic.This is a bug in the Cilium logic.
Type
Projects
Status
Done