OpenTelemetry SDK
    Preparing search index...

    Variable ATTR_GEN_AI_PROVIDER_NAMEConst Experimental

    ATTR_GEN_AI_PROVIDER_NAME: "gen_ai.provider.name" = ...

    The Generative AI provider as identified by the client or server instrumentation.

    The attribute SHOULD be set based on the instrumentation's best knowledge and may differ from the actual model provider.

    Multiple providers, including Azure OpenAI, Gemini, and AI hosting platforms are accessible using the OpenAI REST API and corresponding client libraries, but may proxy or host models from different providers.

    The gen_ai.request.model, gen_ai.response.model, and server.address attributes may help identify the actual system in use.

    The gen_ai.provider.name attribute acts as a discriminator that identifies the GenAI telemetry format flavor specific to that provider within GenAI semantic conventions. It SHOULD be set consistently with provider-specific attributes and signals. For example, GenAI spans, metrics, and events related to AWS Bedrock should have the gen_ai.provider.name set to aws.bedrock and include applicable aws.bedrock.* attributes and are not expected to include openai.* attributes.

    This attribute is experimental and is subject to breaking changes in minor releases of @opentelemetry/semantic-conventions.