• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Span context propagation

Settings API - Span context propagation schema table

Span context propagation (builtin:span-context-propagation)

Context propagation enables you to connect PurePaths through OpenTelemetry/OpenTracing. Define rules to enable context propagation for certain spans within OneAgent.

Note: This config does not apply to Trace ingest.

Schema IDSchema groupsScope
builtin:span-context-propagation
  • group:service-monitoring
  • group:service-monitoring.spans
environment
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:span-context-propagation
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:span-context-propagation
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:span-context-propagation

Authentication

To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

PropertyLabelTypeDescriptionRequired
contextPropagationRuleContext Propagation RuleSpanContextPropagationRule-required

Request body objects

The SpanMatcher object
PropertyLabelTypeDescriptionRequired
sourceSourceenum-required
sourceKeyKeytext-required
typeComparison Typeenum

affects value

required
valueValuetext

evaluated at context injection

required
spanKindValueValueenum-required
caseSensitiveCase sensitiveboolean

affects value and key

required
The SpanContextPropagationRule object
PropertyLabelTypeDescriptionRequired
ruleNameRule nametext-required
ruleActionRule actionenum-required
matchersMatcherslist-required