Diccionario de datos de New Relic

El diccionario de datos define algunos de los datos que se presentan de manera predeterminada en NRDB y los que se pueden consultar a través de NRQL. Esto incluye eventos como Transaction, MobileRequest y BrowserInteraction y también los tipos de datos de métricas, logs y spans. Estas definiciones también se pueden consultar a través de la IU de nuestro generador de consultas. Para ello, pasa el mouse por encima del tipo de datos y los nombres de atributos que corresponda.

Este diccionario no contiene:

  • Datos de nuestras integraciones de infraestructura (para ello, consulta la documentación de la integración correspondiente)
  • Datos personalizados
  • Atributos detallados y específicos de la integración para uso con los datos de métricas

LlmChatCompletionSummary

Data source:

An event that captures high level data about the creation of a chat completion for request and response messages.

Attribute nameDefinitionData types
duration
milliseconds (ms)

Total time for the chat or embedding call to complete.

error
Boolean

If the agent detects an error during the creation call, it sets the value to True. Omitted if the agent doesn't detect an error.

id
ID

An agent-generated identifier for the event.

ingest_source

The name of the APM agent that collected the data.

request.max_tokens

An integer value for the maximum number of tokens that can be generated during a chat completion. The value is typically set from a hardcoded configuration.

request.model

The model that processed the request. May or may not match the value for response.model.

request.temperature

An integer value that represents how random or deterministic an output response should be. The threshold for random and deterministic values can vary with vendor and model, but more deterministic responses will be closer to 0. If the number is higher, then it is more random.

request_id
ID

The ID associated with the request, which is typically available in the response headers.

response.choices.finish_reason

A string value containing the reason a model stopped generating tokens.

response.model

The model that returned the response. May or may not match the value for request.model.

response.number_of_messages

An integer value for the number of messages in a completed chat exchange. This includes messages from the system, user, and AI assistant

response.organization

The unique identifier for your organization that can be used in API requests.

span_id
ID

The identifier for the span.

trace_id
ID

The identifier for the trace.

vendor

The name of the vendor that provided the model.