New Relic · JSON Structure

Trace Api Common Block Structure

Shared attributes applied to all spans in this batch

Type: object Properties: 1
AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

CommonBlock is a JSON Structure definition published by New Relic, describing 1 property. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

attributes

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/new-relic/refs/heads/main/json-structure/trace-api-common-block-structure.json",
  "name": "CommonBlock",
  "description": "Shared attributes applied to all spans in this batch",
  "type": "object",
  "properties": {
    "attributes": {
      "type": "object",
      "description": "Key-value attributes applied to every span in the batch",
      "additionalProperties": {
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "double"
          },
          {
            "type": "boolean"
          }
        ]
      },
      "example": {
        "customAttribute": "example_value"
      }
    }
  }
}