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

Create background worker to send spans to an otel collector #27

Merged
merged 6 commits into from
Jun 27, 2024

Conversation

bonnefoa
Copy link
Collaborator

What does this PR do?

Create a background worker for that will export send spans to a otel collector at regular interval.
Spans are consumed by the worker from the shared_spans buffer and sent as json using http1 with libcurl.

Create a background workers that will periodically check for spans in
the shared_spans buffer. Spans are marshalled to json before being sent
to an otel collector.

libcurl is used to send the spans to the collector using OTLP/JSON.
@bonnefoa bonnefoa merged commit 0e51b89 into main Jun 27, 2024
3 checks passed
@bonnefoa bonnefoa deleted the span-json-export branch June 27, 2024 09:41
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.

None yet

1 participant