#include <userver/logging/telemetry_settings.hpp>
Combined policy accepted by components::LoggingConfigurator::SetRestrictions.
Definition at line 57 of file telemetry_settings.hpp.
Public Member Functions | |
| void | Validate () const |
| bool | operator== (const TelemetryConfig &) const =default |
| Compares both policies. | |
Public Attributes | |
| utils::DefaultDict< TelemetrySettings > | loggers {} |
| Logger name to settings; default is used only for names without explicit entries. | |
| TracingSettings | tracing {} |
| Trace settings shared by the whole process. | |
| void logging::TelemetryConfig::Validate | ( | ) | const |
Validates every logger entry, including default, and the trace settings.
| std::runtime_error | if any sampling rate is non-finite or outside [0, 1]. |
| utils::DefaultDict<TelemetrySettings> logging::TelemetryConfig::loggers {} |
Logger name to settings; default is used only for names without explicit entries.
Definition at line 59 of file telemetry_settings.hpp.
| TracingSettings logging::TelemetryConfig::tracing {} |
Trace settings shared by the whole process.
Definition at line 61 of file telemetry_settings.hpp.