Skip to content

Commit

Permalink
Add missing new before Uri in ExporterSettings (grafana#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard authored Mar 26, 2024
1 parent ecb9994 commit c7b0c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ using var tracerProvider = Sdk.CreateTracerProviderBuilder()
config.ExporterSettings = new OtlpExporter
{
Protocol = OpenTelemetry.Exporter.OtlpExportProtocol.HttpProtobuf,
Endpoint = Uri("https://otlp-gateway-prod-eu-west-0.grafana.net/otlp"),
Endpoint = new Uri("https://otlp-gateway-prod-eu-west-0.grafana.net/otlp"),
Headers = "Authorization=Basic a-secret-token"
};
})
Expand Down

0 comments on commit c7b0c6e

Please sign in to comment.