New Relic data dictionary

This data dictionary defines some of our default-reported data stored in NRDB and queryable via NRQL. This includes events like Transaction, MobileRequest, and BrowserInteraction, and our Metric, Log, and Span data types. These definitions are also available from our query builder UI by mousing over applicable data type and attribute names.

This dictionary doesn't contain:

  • Data from our infrastructure integrations (for that, see docs for a specific integration)
  • Custom data
  • Detailed integration-specific attributes for Metric data

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.