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 OpenTelemetryTraceCondition from 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: | |
|---|---|
|
|
POST /api/v1/servers/:server_id/ottraceconditions¶Creates a new trace condition. The client body must contain a OpenTelemetryTraceCondition.
| Query Parameters: | |
|---|---|
|
|
GET /api/v1/servers/:server_id/ottraceconditions/:ip/:prefixlen¶Returns trace condition information.
| Query Parameters: | |
|---|---|
|
|
DELETE /api/v1/servers/:server_id/ottraceconditions/:ip/:prefixlen¶Deletes this zone, all attached metadata and rrsets.
| Query Parameters: | |
|---|---|
|
|