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

Add support for egressing OTLP logs and metrics #6282

Open
wiktork opened this issue Mar 20, 2024 · 0 comments
Open

Add support for egressing OTLP logs and metrics #6282

wiktork opened this issue Mar 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@wiktork
Copy link
Member

wiktork commented Mar 20, 2024

  • Rather than egressing to storage or to an http endpoint, send logs and metrics to an OTLP collector endpoint.
  • Would not support direct backend egress (e.g. Azure Monitor)

Possible approaches

  1. Create a new out of process egress provider that egresses to OTLP endpoint.
  • Does not require any major changes to dotnet-monitor, other than restricting egress providers to specific artifact capabilities.
  • Forces an unnecessary serialization/out of proc transfer/deserialization of the artifacts
  1. Create an in-proc egress provider
  • Built-in providers only, no need to serialize/deserialize artifacts
  • Need to figure out configuration

Other concerns:

  • The current OTLP Metrics exporter requires the creation of System.Diagnostics.Metrics. Since dotnet-monitor is a managed implementation, it likely creates these implicitly and may interfere with exporting user metrics.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant