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

[OTel] Generate pkg-config file for grpcpp_otel_plugin (#36686) #36721

Merged
merged 2 commits into from
May 28, 2024

Conversation

yashykt
Copy link
Member

@yashykt yashykt commented May 24, 2024

Backport #36686 to v1.63.x

Public Changes -

  • Add a pkgconfig installer for grpcpp_otel_plugin

Example Changes -

  • Add example of how to use the pkgconfig for grpcpp_otel_plugin with the existing OpenTelemetry example.
  • Add another OpenTelemetry example that uses OTel's OStream exporter. This makes it easier to test the pkgconfig file for grpcpp_otel_plugin since the OStream exporter does not require any additional dependencies, as opposed to the Prometheus exporter.

Test changes -

  • Modify run_distrib_test_cmake_pkgconfig.sh test to install opentelemetry and build the example with the OStream exporter.

Public Changes -
* Add a pkgconfig installer for `grpcpp_otel_plugin`

Example Changes -
* Add example of how to use the pkgconfig for `grpcpp_otel_plugin` with the existing OpenTelemetry example.
* Add another OpenTelemetry example that uses OTel's OStream exporter. This makes it easier to test the pkgconfig file for `grpcpp_otel_plugin` since the OStream exporter does not require any additional dependencies, as opposed to the Prometheus exporter.

Test changes -
* Modify `run_distrib_test_cmake_pkgconfig.sh` test to install opentelemetry and build the example with the OStream exporter.

Closes grpc#36686

PiperOrigin-RevId: 636965475
@yashykt yashykt requested a review from veblush May 24, 2024 19:06
@yashykt yashykt added the release notes: yes Indicates if PR needs to be in release notes label May 24, 2024
@yashykt yashykt merged commit 261aa63 into grpc:v1.63.x May 28, 2024
61 of 63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants