{
  "id": "capability-telemetry",
  "revision": "82bc1eb404f21646e7ba228dfa6fe2a6b235da41c3b9a8dac6fc6f75905a1444",
  "regions": [
    {
      "id": "control",
      "label": "Control plane"
    },
    {
      "id": "data",
      "label": "Data plane"
    }
  ],
  "nodes": [
    {
      "id": "app",
      "label": "Application operation",
      "kind": "N02",
      "region": "data",
      "ports": [
        {
          "id": "span",
          "profile": "P24",
          "contract": "SpanEnvelopeV1",
          "polarity": "Offer"
        },
        {
          "id": "definition",
          "profile": "P24",
          "contract": "DefinitionRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "interceptor",
      "label": "Port interceptor",
      "kind": "N38",
      "region": "data",
      "ports": [
        {
          "id": "span",
          "profile": "P24",
          "contract": "SpanEnvelopeV1",
          "polarity": "Require"
        },
        {
          "id": "capture",
          "profile": "P20",
          "contract": "CaptureGrantV1",
          "polarity": "Require"
        },
        {
          "id": "envelope",
          "profile": "P01",
          "contract": "RedactedSpanV1",
          "polarity": "Offer"
        },
        {
          "id": "activation",
          "profile": "P24",
          "contract": "ActivationRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "policy",
      "label": "Capture / privacy policy",
      "kind": "N33",
      "region": "control",
      "ports": [
        {
          "id": "grant",
          "profile": "P20",
          "contract": "CaptureGrantV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "sampler",
      "label": "Sampling logic",
      "kind": "N01",
      "region": "data",
      "ports": [
        {
          "id": "input",
          "profile": "P01",
          "contract": "RedactedSpanV1",
          "polarity": "Require"
        },
        {
          "id": "selected",
          "profile": "P04",
          "contract": "RedactedSpanV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "exporter",
      "label": "OTel exporter",
      "kind": "N19",
      "region": "data",
      "ports": [
        {
          "id": "input",
          "profile": "P04",
          "contract": "RedactedSpanV1",
          "polarity": "Require"
        },
        {
          "id": "backend",
          "profile": "P02",
          "contract": "TelemetryBatchV1",
          "polarity": "Require"
        }
      ]
    },
    {
      "id": "collector",
      "label": "Observability backend",
      "kind": "N30",
      "region": "control",
      "ports": [
        {
          "id": "ingest",
          "profile": "P02",
          "contract": "TelemetryBatchV1",
          "polarity": "Offer"
        },
        {
          "id": "observation",
          "profile": "P24",
          "contract": "ObservationRefV1",
          "polarity": "Neutral"
        }
      ]
    }
  ],
  "relations": [
    {
      "id": "span",
      "kind": "H04",
      "incidences": [
        {
          "node": "app",
          "port": "span",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "interceptor",
          "port": "span",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "policy",
      "kind": "H23",
      "incidences": [
        {
          "node": "policy",
          "port": "grant",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "interceptor",
          "port": "capture",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "sample",
      "kind": "H02",
      "incidences": [
        {
          "node": "interceptor",
          "port": "envelope",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "sampler",
          "port": "input",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "export",
      "kind": "H02",
      "incidences": [
        {
          "node": "sampler",
          "port": "selected",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "exporter",
          "port": "input",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "backend",
      "kind": "H05",
      "incidences": [
        {
          "node": "collector",
          "port": "ingest",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "exporter",
          "port": "backend",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "attribution",
      "kind": "H27",
      "incidences": [
        {
          "node": "app",
          "port": "definition",
          "role": "definition",
          "ordinal": 0
        },
        {
          "node": "interceptor",
          "port": "activation",
          "role": "activation",
          "ordinal": 1
        },
        {
          "node": "collector",
          "port": "observation",
          "role": "observation",
          "ordinal": 2
        }
      ]
    }
  ]
}
