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

Specify grpc endpoint in otlp receiver config #531

Merged

Conversation

avillela
Copy link
Contributor

@avillela avillela commented Nov 28, 2022

Fixes #530

To fix this, I first rendered the k8s manifests for each scenario as follows:

helm template my-otel-demo open-telemetry/opentelemetry-demo -n otel-demo -f charts/opentelemetry-demo/values.yaml > otel-demo.yaml

and

helm template my-otel-demo open-telemetry/opentelemetry-demo -n otel-demo > otel-demo-2.yaml

I ran a diff of the 2 files, and noticed that otel-demo.yaml was missing the OTLP gRPC endpoint configuration:

      otlp:
        protocols:
          grpc:
            endpoint: 0.0.0.0:4317

After adding this configuration to values.yaml, it appeared to fix the issue.

@avillela avillela requested a review from a team November 28, 2022 20:18
@avillela avillela requested a review from puckpuck as a code owner November 28, 2022 20:18
…hat the default is picked up from the collector chart
Copy link
Member

@TylerHelmuth TylerHelmuth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@avillela please bump the patch version of the demo chart and then run make generate-examples.

@avillela
Copy link
Contributor Author

@avillela please bump the patch version of the demo chart and then run make generate-examples.

@TylerHelmuth done!

@TylerHelmuth TylerHelmuth merged commit a1a7f10 into open-telemetry:main Nov 28, 2022
JaredTan95 pushed a commit to JaredTan95/opentelemetry-helm-charts that referenced this pull request Jan 19, 2023
* Specify grpc endpoint in otlp receiver config

* Remove grpc.endpoint config from otlp receiver config altogether so that the default is picked up from the collector chart

* Bump otel demo app chart version + update rendered example
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

Successfully merging this pull request may close these issues.

OTel Demo App Helm Chart Install with specified values.yaml was not sending traces to Jaeger
2 participants