New Relic · Schema

CommonBlock

Shared attributes applied to all spans in this batch

AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

Properties

Name Type Description
attributes object Key-value attributes applied to every span in the batch
View JSON Schema on GitHub

JSON Schema

trace-api-common-block-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/new-relic/refs/heads/main/json-schema/trace-api-common-block-schema.json",
  "title": "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": "number"
          },
          {
            "type": "boolean"
          }
        ]
      },
      "example": {
        "customAttribute": "example_value"
      }
    }
  }
}