Skip to content

Wire up logs export #424

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

Merged
merged 3 commits into from
Jun 11, 2024
Merged

Conversation

breedx-splk
Copy link
Contributor

This will rebase after #421 is merged.

So far, logs export has been completely absent. In order for logs and events to make it out of the agent, we need logs to be wired up in some form. For now, just like spans, the basic default exporter just logs to the console (visible in logcat). This also adds a method that allows customization, which the demo app now uses to export to the emulator host.

I was able to use this to see events exported as logs in a locally running collector!

And just to be extra clear, this isn't really what #142 is asking for, because it doesn't bridge the android logger...it's just otel logs.

@breedx-splk breedx-splk requested a review from a team June 7, 2024 23:45
@breedx-splk breedx-splk force-pushed the wire_up_logs_export branch from 63f2742 to cf09f3e Compare June 10, 2024 16:42
@breedx-splk breedx-splk merged commit a86238a into open-telemetry:main Jun 11, 2024
3 checks passed
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.

3 participants