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

Viewing Grafana Dashboards is throwing an error #2058

Closed
juergenfl opened this issue Feb 19, 2025 · 1 comment
Closed

Viewing Grafana Dashboards is throwing an error #2058

juergenfl opened this issue Feb 19, 2025 · 1 comment

Comments

@juergenfl
Copy link
Contributor

Hi all, I have deployed the OpenTelemetry Demo App to a K8s cluster into a dedicated namespace and I'm facing issues with the Grafana configuration.

Grafana is throwing a server lookup error: prometheus-server: no such host

Image

When looking at the services, I can confirm that this is correct the service is only named "prometheus", not "prometheus-server":

Image

Could this be caused by my dedicated namespace "otel-demo-app" ???

@juergenfl
Copy link
Contributor Author

I got the issue resolved, looks like it got triggered by using a recent version of kubectl (v1.32.2) on my Mac. When deploying it from a Linux VM with kubectl version v1.31.2, all is good now:

$ kubectl get pods -n otel-demo-app
NAME                                               READY   STATUS    RESTARTS   AGE
...
otel-demo-prometheus-server-d5db55499-xnww2        1/1     Running   0          10m
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant