-
Notifications
You must be signed in to change notification settings - Fork 31
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 plugin #178
opentelemetry plugin #178
Conversation
pom.xml
Outdated
@@ -52,6 +52,7 @@ | |||
<module>tasks/terraform</module> | |||
<module>tasks/xml</module> | |||
<module>tasks/zoom</module> | |||
<module>tasks/opentelemetry</module> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be in /plugins/runtime/opentelementry, IMO. First of its kind :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, yeah, why not :)
c984bf8
to
32f4aba
Compare
tasks/opentelemetry/pom.xml
Outdated
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-core</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-annotations</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.dataformat</groupId> | ||
<artifactId>jackson-dataformat-yaml</artifactId> | ||
</dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jackson deps can be provided
scope
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should mention somewhere in the documentation what dependencies and how can be used in plugins :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We kind of do mention it but I agree we need to give a more explicit here-exactly-what's-provided
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, right, I didn't notice :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need maven plugin for concord plugins :)
so maven plugin can verify that everything is ok with plugin...
import javax.inject.Named; | ||
|
||
@Named | ||
public class OpentelemetryModule implements com.google.inject.Module { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public class OpentelemetryModule implements com.google.inject.Module { | |
public class OpentelemetryModule implements Module { |
Let's add a README.md with the usage instructions. We can link to https://www.jaegertracing.io/docs/1.62/getting-started/#all-in-one or w/e for a local collector. |
plugin configuration is set as the default task variables for the
opentelemetry
task