Dicionário de dados da New Relic

Este dicionário de dados define alguns dos nossos dados relatados por padrão armazenados no NRDB e que podem ser consultados usando NRQL. Isso inclui eventos como Transaction, MobileRequest e BrowserInteraction, além dos nossos tipos de dados de métrica, log e span. Essas definições também estão disponíveis por meio da nossa interface do criador de consulta, passando o cursor do mouse sobre tipos de dados aplicáveis e nomes de atributos.

Este dicionário não contém:

  • Dados de nossas integrações de infraestrutura (para tal, consulte a documentação da integração específica)
  • Dados personalizados
  • Atributos detalhados específicos da integração para dados 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.