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

Integration of OpenTelemetry tracing via Custom Policy not working #231

Open
holymind84 opened this issue Jan 20, 2025 · 1 comment
Open

Comments

@holymind84
Copy link

Successfully integrated OpenTelemetry traces with Dynatrace through the connector with great results.

However, I'm facing issues while trying to extend this functionality through a Custom Mulesoft policy:

  • Created a custom policy containing OpenTelemetry configuration
  • Applied the policy through API Manager
  • Expected behavior: policy should capture all application trace values
  • Actual behavior: no traces are captured, and no error messages are shown

Has anyone successfully implemented OpenTelemetry tracing through a custom Mulesoft policy? Any guidance would be appreciated.

@manikmagar
Copy link
Contributor

Hi @holymind84! Glad to hear that integration with Dynatrace worked great.

We haven't tried using this module from within the policies. As the module captures traces based on the runtime notifications, I am unsure if that will work for policies. Even if it works, my understanding is, you will still need to include and configure the module in individual APIs. The policy won't change the internals of the applications.

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