OpenTelemetryTraceConditions endpoint¶
Note
All modifications using this endpoint are not persistent.
Reloading the configuration using rec_control reload-yaml will revert the trace conditions back to the conditions read from the configuration file(s).
- GET /api/v1/servers/:server_id/ottraceconditions¶
Get all
OpenTelemetryTraceConditionfrom the server. Note that while the settings file allows a list of subnets to be associated with a condition, this list will be flattened, with only one subnet per condition.- Query Parameters:¶
server_id – The name of the server
- POST /api/v1/servers/:server_id/ottraceconditions¶
Creates a new trace condition. The client body must contain a
OpenTelemetryTraceCondition.- Query Parameters:¶
server_id – The name of the server
- GET /api/v1/servers/:server_id/ottraceconditions/:ip/:prefixlen¶
Returns trace condition information.
- Query Parameters:¶
server_id – The name of the server
ip/prefixlen – The subnet of the
OpenTelemetryTraceCondition.
- DELETE /api/v1/servers/:server_id/ottraceconditions/:ip/:prefixlen¶
Deletes this zone, all attached metadata and rrsets.
- Query Parameters:¶
server_id – The name of the server
ip/prefixlen – The subnet of the
OpenTelemetryTraceCondition.