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

Ability to enable the Pekko instrumentation #3517

Merged
merged 2 commits into from
Jan 25, 2024
Merged

Conversation

jeanbisutti
Copy link
Member

Fix #3512

@@ -274,6 +274,10 @@ private static void enableInstrumentations(
properties.put("otel.instrumentation.akka-http.enabled", "true");
properties.put("otel.instrumentation.scala-fork-join.enabled", "true");
}
if (config.preview.instrumentation.pekko.enabled) {
properties.put("otel.instrumentation.pekko-actor.enabled", "true");
properties.put("otel.instrumentation.pekko-http.enabled", "true");

Choose a reason for hiding this comment

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

Pekko is a fork of Akka (because Akka is no longer open source) - it might be better to match Akka's setup - e.e by also including properties.put("otel.instrumentation.scala-fork-join.enabled", "true").

Copy link
Member Author

Choose a reason for hiding this comment

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

Done. Thanks!

@heyams
Copy link
Contributor

heyams commented Jan 24, 2024

please add it to stasbeat instrumentation list in azure-sdk.

@jeanbisutti jeanbisutti merged commit 0b18ef9 into main Jan 25, 2024
85 checks passed
@jeanbisutti jeanbisutti deleted the pekko-instrumentation branch January 25, 2024 11:27
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.

Auto-instrumentation support for Pekko 1.0.0 in Java agent
4 participants