Skip to content

[feature request] OTLPExportert - User-Agent customisation #6496

@Kielek

Description

@Kielek

Package

OpenTelemetry.Exporter.OpenTelemetryProtocol

Is your feature request related to a problem?

OTel spec 1.49.0 adds support for User-Agent prepend in OTLP Exporter. See open-telemetry/opentelemetry-specification#4560

Need to support this in .NET implementation.

What is the expected behavior?

This method

private static string GetUserAgentString()
{
var assembly = typeof(OtlpExporterOptions).Assembly;
return $"OTel-OTLP-Exporter-Dotnet/{assembly.GetPackageVersion()}";
}

Reflects newly created setting.

Which alternative solutions or features have you considered?

N/A

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgood first issueGood for newcomershelp wantedGood for taking. Extra help will be provided by maintainerspkg:OpenTelemetry.Exporter.OpenTelemetryProtocolIssues related to OpenTelemetry.Exporter.OpenTelemetryProtocol NuGet package

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions