bugsnag · Schema

ScopeSpans

A collection of spans from a single instrumentation scope (library or component).

Properties

Name Type Description
scope object The instrumentation scope that produced the spans.
spans array The individual spans within this scope.
View JSON Schema on GitHub

JSON Schema

bugsnag-scopespans-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ScopeSpans",
  "title": "ScopeSpans",
  "type": "object",
  "description": "A collection of spans from a single instrumentation scope (library or component).",
  "properties": {
    "scope": {
      "type": "object",
      "description": "The instrumentation scope that produced the spans.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the instrumentation scope."
        },
        "version": {
          "type": "string",
          "description": "The version of the instrumentation scope."
        }
      }
    },
    "spans": {
      "type": "array",
      "description": "The individual spans within this scope.",
      "items": {
        "$ref": "#/components/schemas/Span"
      }
    }
  }
}