open-telemetry / opentelemetry-demo

This repository contains the OpenTelemetry Astronomy Shop, a microservice-based distributed system intended to illustrate the implementation of OpenTelemetry in a near real-world environment.
https://opentelemetry.io/docs/demo/
Apache License 2.0
1.82k stars 1.18k forks source link

grafana-test pod is coming as Error #1765

Open ragigeo opened 1 week ago

ragigeo commented 1 week ago

Bug Report

I am deploying the application using kubectl apply with opentelemetry-demo.yaml . All the pods are up except the opentelemetry-demo-grafana-test While checking logs I can see 1..1 not ok 1 Test Health (in test file /tests/run.sh, line 5) [ "$code" == "200" ]' failed`

puckpuck commented 1 week ago

We just did a release which updated the K8s deployment file. Can you try again, since this seems to work just fine on my end.

If it does fail, can you provide more information on your K8s cluster such as type, version, and node sizes?

ragigeo commented 6 days ago

We just did a release which updated the K8s deployment file. Can you try again, since this seems to work just fine on my end.

If it does fail, can you provide more information on your K8s cluster such as type, version, and node sizes?

@puckpuck

We have tried to deploy the app using updated yaml file with kubectl apply but except grafana-test all are up and running. With bellow error log for grafana-test pod. Not sure due to this pod only We are not getting traces/metrics in our own endpoint. We have given the ip details and other like below.

Although via helm install we are successfully deploy and get the traces/metrics in our own endpoint. But we need to deploy the app using kubectl apply.

opentelemetry-collector: config: exporters: otlphttp/example: endpoint: http://<our-endpoint-url>:4318 service: pipelines: traces: exporters: [spanmetrics, otlphttp/example] metrics: exporters: [debug, otlphttp/example]

1..1 not ok 1 Test Health (in test file /tests/run.sh, line 5) [ "$code" == "200" ]' failed`

-k3s -version k3s version v1.30.6+k3s1 (1829eaae) go version go1.22.8


Capacity: cpu: 16 ephemeral-storage: 259915780Ki hugepages-1Gi: 0 hugepages-2Mi: 0 memory: 32860580Ki pods: 110

System Info: Kernel Version: 5.15.0-124-generic OS Image: Ubuntu 22.04.5 LTS Operating System: linux Architecture: amd64 Container Runtime Version: docker://20.10.12 Kubelet Version: v1.30.6+k3s1 Kube-Proxy Version: v1.30.6+k3s1

Allocated resources: (Total limits may be over 100 percent, i.e., overcommitted.) Resource Requests Limits


cpu 11185m (69%) 22 (137%) memory 17902Mi (55%) 37414Mi (116%) ephemeral-storage 0 (0%) 0 (0%) hugepages-1Gi 0 (0%) 0 (0%) hugepages-2Mi 0 (0%) 0 (0%)

julianocosta89 commented 5 days ago

Not sure if related to this one, because in my case Grafana is starting fine, but I also raised this issue: https://github.com/open-telemetry/opentelemetry-demo/issues/1771