OpenTelemetryTraceCondition

An OpenTelemetryTraceCondition object represents a condition to trigger generating OpenTelemetry Traces. These conditions con be configured in a settings file (see logging.opentelemetry_trace_conditions) or manipulated at runtime using the REST API calls listed in OpenTelemetryTraceConditions endpoint.

OpenTelemetryTraceCondition

Represents an OpenTelemetryTrace condition.

Object Properties:
 
  • acl (string) – The subnet of the entry. Note that the YAML settings file allows multiple subnets for convenience. This object does not allow multiple subnets to be specified.
  • type (string) – set to “OpenTelemetryTraceCondition”
  • edns_option_required (bool) – See OpenTelemetry Traces
  • qid (number) – A specific query id
  • qnames ([DNSName]) – List of names
  • qtypes ([QType]) – List of qtypes, represented as string
  • traceid_only (bool) – See OpenTelemetry Traces

Example:

{
  "acl": "192.0.2.1/32",
  "edns_option_required": false,
  "qid": 1,
  "qnames": ["example.com.", "example.net."],
  "qtypes": ["AAAA", "A"],
  "traceid_only": false
  "type": "OpenTelemetryTraceCondition"
}