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

feat: start agent as a function that receive span processor #13

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

blumamir
Copy link
Collaborator

This PR makes it so that the code in autoinstrument.ts will not start instrumentation itself. Now starting the agent is a function which implementations can use. for example: the "native-community" distro will use a batch span processor with OTLP exporter, and send it's name to be populated in the resource attribute ("odigos-native-community")

For eBPF instrumentation, this will allow us to use the same code, and only set the name and span processor to those we need there

@blumamir blumamir merged commit c4eb8d7 into odigos-io:main Sep 21, 2024
4 checks passed
blumamir added a commit to odigos-io/odigos that referenced this pull request Sep 21, 2024
See odigos-io/opentelemetry-node#13

This PR starts the nodejs agent by calling a function, and supplying the
distro name `'odigos-native-community'`, and a span processor for the
community tier that uses batch span processor with OTLP exporter.

CI will pass once we merge the node agent PR
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.

2 participants