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

LlmChatCompletionMessage

Data source:

An event that corresponds to each message (sent and received) from a chat completion call. These messages include those created by the user, assistant, and system.

Attribute nameDefinitionData types
completion_id
ID

The ID of the LlmChatCompletionSummary event that a message event is connected to.

content

A string value that describes the contents of a message.

id
ID

An agent-generated identifier for the event.

ingest_source

The name of the APM agent that collected the data.

is_response
Boolean

Boolean set to True if a message is the result of a chat completion. The attribute is omitted if False, like in cases where the message is the result of an input.

response.model

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

role

A string value that describes the source of the message. This varies depending on the LLM vendor, but could have values that represent prompt engineering, the user, or a response from the LLM itself.

sequence

An index associated with each message, including the prompt and responses. Begins at 0.

span_id
ID

The identifier for the span.

token_count

The integer value returned from llm_token_count_callback. Omitted if no value is returned.

trace_id
ID

The identifier for the trace.

vendor

The name of the vendor that provided the model.