Adds OpenTelemetry.Exporter.Console
[TracerProviderBuilderBase]
TracerProvider Instance of TracerProviderBuilderBase.. Mandatory, ValueFromPipeline[String]
Endpoint OTLP endpoint address. Mandatory[Hashtable]
Headers Headers to send.[UInt32]
Timeout Send timeout in ms.[String]
Protocol 'grpc' or 'http/protobuf'.
[MeterProviderBuilderBase]
MeterBuilder Instance of MeterProviderBuilderBase.. Mandatory, ValueFromPipeline[String]
Endpoint OTLP endpoint address. Mandatory[Hashtable]
Headers Headers to send.[UInt32]
Timeout Send timeout in ms.[String]
Protocol 'grpc' or 'http/protobuf'.
New-TracerProviderBuilder | Add-HttpClientInstrumentation | Add-ExporterOtlpTrace -Endpoint http://localhost:9999 | Start-Trace
Configure the Otlp Exporter for Honeycomb.
Add-ExporterOtlpTrace https://api.honeycomb.io:443 -Headers @{'x-honeycomb-team'='token'}
Configure the Otlp Exporter for Dynatrace.
Add-ExporterOtlpTrace -Endpoint https://{your-environment-id}.live.dynatrace.com/api/v2/otlp -Headers @{'Authorization'='Api-Token dt.....'} -Protocol 'http/protobuf'