WIP: Telemetry documentation
cppTango:
Requires opentelemetry-cpp and other libraries, see https://gitlab.com/tango-controls/cppTango/-/blob/main/INSTALL.md?ref_type=heads#cmake-variables.
Environment variables:
-
TANGO_TELEMETRY_TRACES_ENDPOINT, defaults toTango::telemetry::Configuration::DEFAULT_GRPC_TRACES_ENDPOINTfor gRPC andTango::telemetry::Configuration::DEFAULT_HTTP_TRACES_ENDPOINTfor HTTP. Can becoutorcerrfor console. -
TANGO_TELEMETRY_LOGS_ENDPOINT, defaults toTango::telemetry::Configuration::DEFAULT_GRPC_LOGS_ENDPOINTfor gRPC andTango::telemetry::Configuration::DEFAULT_HTTP_LOGS_ENDPOINTfor HTTP. Can becoutorcerrfor console. -
TANGO_TELEMETRY_ENABLE: defaults to "off" if not present, can be one of "on"/"off" -
TANGO_TELEMETRY_KERNEL_ENABLE: defaults to "off" if not present, can be one of "on"/"off" -
TANGO_TELEMETRY_TRACES_EXPORTER: defaults to "console", can be one of "grpc", "http", "console", or "off". -
TANGO_TELEMETRY_LOGS_EXPORTER: defaults to "console", can be one of "grpc", "http", "console", or "off".
Edited by Anton Joubert