Read saved and effective tracing settings (superadmin)
const url = 'https://example.com/v1/system/tracing';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/system/tracing \ --header 'Authorization: Bearer <token>'Reads saved tracing choices, the running node’s effective configuration and the names of environment overrides. Requires system administration. Override credential values are never returned.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”OK
object
object
Collector host or HTTP(S) URL without credentials, query or fragment.
Names of environment overrides; never their credential values.
object
Collector host or HTTP(S) URL without credentials, query or fragment.
Example
{ "effective": { "protocol": "grpc" }, "settings": { "protocol": "grpc" }}Bad request
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Unauthenticated
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Forbidden
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Not found
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Conflict / setup required
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Rate limited
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Tracing settings or collector configuration unavailable
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}