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

oltp grpc exporter failing in k8s deployment using helm charts #114

Closed
parth-purohit opened this issue Jan 27, 2022 · 6 comments
Closed
Assignees
Labels
chart:collector Issue related to opentelemetry-collector helm chart

Comments

@parth-purohit
Copy link

Hi Team,

I have deployed both otel-collector as daemonset and standalone deployment as per the README docs in below link

https://github.com/open-telemetry/opentelemetry-helm-charts/tree/main/charts/opentelemetry-collector

agentCollector:
enabled: true
standaloneCollector:
enabled: true

The oltp grpc exporter in agent pod is failing with below error:

2022-01-25T05:53:25.907Z	info	service/telemetry.go:116	Serving Prometheus metrics	{"address": "0.0.0.0:8888", "level": "basic", "service.instance.id": "ebb82220-7804-4da1-af63-1bd1055120e8", "service.version": "latest"}
2022-01-25T05:53:25.907Z	info	service/collector.go:230	Starting otelcontribcol...	{"Version": "v0.37.1", "NumCPU": 4}
2022-01-25T05:53:25.907Z	info	service/collector.go:132	Everything is ready. Begin running and processing data.
2022-01-25T05:53:37.500Z	info	exporterhelper/queued_retry.go:231	Exporting failed. Will retry the request after interval.	{"kind": "exporter", "name": "otlp", "error": "failed to push metrics data via OTLP exporter: rpc error: code = DeadlineExceeded desc = context deadline exceeded", "interval": "5.810290538s"}
2022-01-25T05:53:56.408Z	info	exporterhelper/queued_retry.go:231	Exporting failed. Will retry the request after interval.	{"kind": "exporter", "name": "otlp", "error": "failed to push metrics data via OTLP exporter: rpc error: code = DeadlineExceeded desc = context deadline exceeded", "interval": "7.534661199s"}
2022-01-25T05:54:07.502Z	info	exporterhelper/queued_retry.go:231	Exporting failed. Will retry the request after interval.	{"kind": "exporter", "name": "otlp", "error": "failed to push metrics data via OTLP exporter: rpc error: code = DeadlineExceeded desc = context deadline exceeded", "interval": "4.816822688s"}
2022-01-25T05:54:26.217Z	info	exporterhelper/queued_retry.go:231	Exporting failed. Will retry the request after interval.	{"kind": "exporter", "name": "otlp", "error": "failed to push metrics data via OTLP exporter: rpc error: code = DeadlineExceeded desc = context deadline exceeded", "interval": "16.060087817s"}
2022-01-25T05:54:37.525Z	info	exporterhelper/queued_retry.go:231	Exporting failed. Will retry the request after interval.	{"kind": "exporter", "name": "otlp", "error": "failed to push metrics data via OTLP exporter: rpc error: code = DeadlineExceeded desc = context deadline exceeded", "interval": "4.261162066s"}

Steps followed:
helm install --set standaloneCollector.enabled=true my-opentelemetry-collector open-telemetry/opentelemetry-collector
kubectl logs -f daemonset/my-opentelemetry-collector-agent

Could you please help resolve this issue.

@TylerHelmuth
Copy link
Member

Hey @parth-purohit do you still need help with this issue? If so, can you provide:

  • Version of the collector having issues (looks like 0.37.1)
  • Version of the charts being used
  • The startup logs of the agent
  • The startup logs of the standalone collector

Thanks!

@dmitryax dmitryax added the chart:collector Issue related to opentelemetry-collector helm chart label Mar 3, 2022
@parth-purohit
Copy link
Author

Hi @TylerHelmuth I tried using the latest version and still facing the issue with opentelemetry-collector-0.9.4

Thanks!

@TylerHelmuth
Copy link
Member

Thanks. I'll be on PTO until next week but I will look when I get back.

Can you include your values.yaml as well?

@TylerHelmuth
Copy link
Member

Any chance you have a proxy in your environment that the agent would be interacting with?

@parth-purohit
Copy link
Author

Hi @TylerHelmuth I tried running it on a different machine and it worked.

Previous machine had some rules blocking traffic so it was failing.

We can close the this issue.

Thanks :)

@TylerHelmuth
Copy link
Member

@dmitryax Ready to close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart:collector Issue related to opentelemetry-collector helm chart
Projects
None yet
Development

No branches or pull requests

3 participants