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

[grafana] some dashboards seems to work not properly #192

Closed
phac008 opened this issue May 29, 2024 · 6 comments
Closed

[grafana] some dashboards seems to work not properly #192

phac008 opened this issue May 29, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@phac008
Copy link
Contributor

phac008 commented May 29, 2024

some data is missing, some dashboards only have monitoring namespace selectable

@phac008 phac008 added the bug Something isn't working label May 29, 2024
@jkleinlercher
Copy link
Contributor

dashboards which have "no data":

etcd metrics missing which are used in the dashboard:

etcd_server_has_leader
etcd_server_leader_changes_seen_total
grpc_server_started_total
grpc_server_handled_total
etcd_mvcc_db_total_size_in_bytes
etcd_disk_wal_fsync_duration_seconds_bucket
etcd_disk_backend_commit_duration_seconds_bucket
etcd_network_client_grpc_received_bytes_total
etcd_network_client_grpc_sent_bytes_total
etcd_network_peer_received_bytes_total
etcd_network_peer_sent_bytes_total
etcd_network_peer_round_trip_time_seconds_bucket
process_resident_memory_bytes exists, but not for {job=~".*etcd.*"}

don't know if this is something k3d or kind specific ... investigate

@jkleinlercher
Copy link
Contributor

jkleinlercher commented Jun 11, 2024

etcd in k3d: i think it is due to the architecture of k3s/k3d why api-server and etcd are not accessible and maybe also don't expose those metrics by default. However, I found a good issue which might have the solution for this

k3s-io/k3s#425 (comment) (and the comments below)

will try that. Maybe it also fixes the apiserver dashboard

We will propbably need to set it with "--k3s-arg=--cluster-init --k3s-arg=--etcd-expose-metrics=true"

Only with cluster-init a etcd server is used ?!? investigating

@jkleinlercher jkleinlercher self-assigned this Jun 11, 2024
@jkleinlercher
Copy link
Contributor

jkleinlercher commented Jun 14, 2024

kubernetes-sigs/kind#2695 (comment) could help for kind-Cluster

@jkleinlercher
Copy link
Contributor

jkleinlercher commented Jun 19, 2024

before fixing this on k3d (which is maybe also a not representative K8s architecture), I tested also on metalstack.cloud, if this problem persists: Also on metalstack.cloud the etcd dashboard prints "No data" ... investigating on metalstack

I found out that also in Gardener etcd Cluster is not part of the master node. In Gardener the control-plane of the shoot clusters is in the shoot control-plane namespace in the seed clusters:

https://github.com/gardener/gardener/blob/master/docs/concepts/etcd.md
https://github.com/gardener/gardener/blob/master/docs/development/monitoring-stack.md

So this is also not a standard architecture.
@phac008 lets have a chat when and how to tackle this issue.

@jkleinlercher jkleinlercher added this to the mvp light uibk milestone Jul 10, 2024
@jkleinlercher
Copy link
Contributor

jkleinlercher commented Aug 19, 2024

I will check: Are those dashboards still in grafana and still don‘t work? If not, I close this ticket

@jkleinlercher
Copy link
Contributor

those dashboards got replaced by new ones

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants