Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Prometheus metrics #412

Closed
malikkirchner opened this issue Jul 8, 2021 · 6 comments
Closed

Enable Prometheus metrics #412

malikkirchner opened this issue Jul 8, 2021 · 6 comments
Labels
kind/community-report This was reported by a user in the Cilium community, eg via Slack. kind/feature New feature or request stale

Comments

@malikkirchner
Copy link

The Cilium Helm Chart has support for Prometheus metrics. It would be great, if the cilium install command would have a flag, that enables Prometheus metrics.

@malikkirchner malikkirchner changed the title Enable prometheus labels Enable Prometheus metrics Jul 8, 2021
@tklauser tklauser added the kind/feature New feature or request label Jul 8, 2021
@tklauser tklauser added the kind/community-report This was reported by a user in the Cilium community, eg via Slack. label Oct 4, 2021
@jotak
Copy link

jotak commented Jun 8, 2022

Is there any way to get the hubble metrics in prometheus without installing via helm?

@jotak
Copy link

jotak commented Jun 8, 2022

For the record I did the following to get metrics after installing with the CLI:

cilium config set prometheus-serve-addr ":9090"
cilium config set hubble-metrics-server ":9091"
cilium config set hubble-metrics "dns drop tcp flow port-distribution icmp http"

Then I could switch back following the doc, like configuring DNS/L7 metrics as explained here https://docs.cilium.io/en/stable/policy/visibility/#proxy-visibility

So, that is clearly hacky.

Maybe it could be clarified in documentation that the CLI doesn't support metrics configuration (yet), especially as the CLI seem more promoted in the quick-start guide ?

@Ewarren7
Copy link

Is this fixed by this PR? #955
I'm not clear yet on how to use it via CLI if so.

@Ewarren7
Copy link

Ewarren7 commented Nov 11, 2022

Is this fixed by this PR? #955 I'm not clear yet on how to use it via CLI if so.

Looks like it is done like cilium install --kube-proxy-replacement strict --helm-set-string=k8sServiceHost=xxx.eks.amazonaws.com,k8sServicePort=443,hubble.metrics.enabled="{dns,drop,tcp,flow,icmp,http}"

edit: fixed quotes in command

Copy link

This issue has been automatically marked as stale because it has not
had recent activity. It will be closed if no further activity occurs.

@github-actions github-actions bot added the stale label Sep 28, 2024
Copy link

This issue has not seen any activity since it was marked stale.
Closing.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/community-report This was reported by a user in the Cilium community, eg via Slack. kind/feature New feature or request stale
Projects
None yet
Development

No branches or pull requests

4 participants