Skip to content

[FEATURE REQ] Add API(s) to com.azure.core.util.tracing.Tracer for attributes with array values #43408

@anuchandy

Description

@anuchandy

The otel supports Span attributes with array values. For example, a string array attribute value can be added to a Span as:

span.setAttribute(AttributeKey.stringArrayKey("animals "), Arrays.asList( "cat", "lion", "tiger"));

Once API is in, update ChatCompletionClientTracer in azure-ai-inference to use it for the Span attributes - gen_ai.response.finish_reasons, gen_ai.request.stop_sequences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions