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

Opentelemetry dependency error #97

Open
igkg opened this issue Jan 13, 2025 · 4 comments
Open

Opentelemetry dependency error #97

igkg opened this issue Jan 13, 2025 · 4 comments

Comments

@igkg
Copy link

igkg commented Jan 13, 2025

Hi,
We use pgo in emqx plugin and latest versions of OSS emqx does not support opentelemetry dependency.
[error] msg: failed_to_start_plugin, reason: {opentelemetry_api,{"no such file or directory","opentelemetry_api.app"}}, app: emqx_my_plugin
Actually we do not need opentelemetry in our emqx plugin.
Is it possible to disable/remove opentelemetry dependency in pgo?

@tsloughter
Copy link
Collaborator

It isn't possible to remove otel_api but it act as a noop if no otel_sdk is there, so its like its not there at all except the dep exists.

Are you using the latest pgo package on hex?

@igkg
Copy link
Author

igkg commented Jan 14, 2025

Are you using the latest pgo package on hex?

yes, preview.hex.pm/preview/pgo/0.14.0

@tsloughter
Copy link
Collaborator

Are you using rebar3? Not require of course, but trying to understand if its a compilation issue or finding the app issue.

Is this started with a release or some other way?

@igkg
Copy link
Author

igkg commented Jan 15, 2025

Are you using rebar3?

yes

its a compilation issue or finding the app issue

Not compiling. It is when I try to activate plugin on emqx side.

Is this started with a release or some other way?

yes, with OSS emqx 5.8.3 release

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

2 participants