Skip to content

Add support for egressing OTLP logs and metrics #6282

Open
@wiktork

Description

@wiktork
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions