Skip to content

[MEAI] server.address in telemetry is wrong #6741

@JamesNK

Description

@JamesNK

Semantic conventions says server.address should just be the host. MEAI is including the path and scheme which is wrong.

https://opentelemetry.io/docs/specs/semconv/registry/attributes/server/

In OpenTelemetryChatClient and OpenTelemetryEmbeddingGenerator get address from Uri with Host instead of GetLeftParth.

Metadata

Metadata

Assignees

Labels

area-aiMicrosoft.Extensions.AI libraries

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions