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

Easy way to get etcd metrics #3247

Closed
ferama opened this issue Jun 28, 2023 · 1 comment · Fixed by #3322
Closed

Easy way to get etcd metrics #3247

ferama opened this issue Jun 28, 2023 · 1 comment · Fixed by #3322
Assignees

Comments

@ferama
Copy link

ferama commented Jun 28, 2023

Is your feature request related to a problem? Please describe.

Actually I can't find a way to get the k0s etcd metrics. I already enabled the --enable-metrics-scraper flag but it doesn't seems to expose etcd metrics.

Describe the solution you would like

I would like to scrape the etcd metrics from prometheus.
Actually I can only get them from a controller node with.

curl \
    --cacert /var/lib/k0s/pki/etcd/ca.crt \
    --cert /var/lib/k0s/pki/etcd/server.crt \
    --key /var/lib/k0s/pki/etcd/server.key \
     https://localhost:2379/metrics
@juanluisvaladas
Copy link
Contributor

juanluisvaladas commented Jul 24, 2023

Edit: Reading the issue again I misunderstood it. Let me get back to this

jnummelin added a commit to jnummelin/k0s that referenced this issue Jul 25, 2023
jnummelin added a commit to jnummelin/k0s that referenced this issue Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants