pub struct TelemetryEnvironmentValues {
pub release_commit: Option<OsString>,
pub release_nonce: Option<OsString>,
pub metrics_enabled: Option<OsString>,
pub metrics_exporter: Option<OsString>,
pub metrics_bind_addr: Option<OsString>,
pub metrics_path: Option<OsString>,
pub otlp_endpoint: Option<OsString>,
pub otlp_protocol: Option<OsString>,
pub trace_sample_ratio: Option<OsString>,
}Expand description
Raw process environment values used by the deterministic telemetry resolver.
Missing variables remain None; validation and UTF-8 conversion happen only
when a present value participates in resolution.
Fields§
§release_commit: Option<OsString>ROCKETMQ_RELEASE_COMMIT, when present.
release_nonce: Option<OsString>ROCKETMQ_RELEASE_NONCE, when present.
metrics_enabled: Option<OsString>ROCKETMQ_METRICS_ENABLED, when present.
metrics_exporter: Option<OsString>ROCKETMQ_METRICS_EXPORTER, when present.
metrics_bind_addr: Option<OsString>ROCKETMQ_METRICS_BIND_ADDR, when present.
metrics_path: Option<OsString>ROCKETMQ_METRICS_PATH, when present.
otlp_endpoint: Option<OsString>OTEL_EXPORTER_OTLP_ENDPOINT, when present.
otlp_protocol: Option<OsString>OTEL_EXPORTER_OTLP_PROTOCOL, when present.
trace_sample_ratio: Option<OsString>The service-specific trace sample ratio, when configured and present.
Implementations§
Source§impl TelemetryEnvironmentValues
impl TelemetryEnvironmentValues
Sourcepub fn read(spec: TelemetryEnvironmentSpec) -> Self
pub fn read(spec: TelemetryEnvironmentSpec) -> Self
Reads the supported telemetry variables from the current process.
Trait Implementations§
Source§impl Clone for TelemetryEnvironmentValues
impl Clone for TelemetryEnvironmentValues
Source§impl Debug for TelemetryEnvironmentValues
impl Debug for TelemetryEnvironmentValues
Auto Trait Implementations§
impl Freeze for TelemetryEnvironmentValues
impl RefUnwindSafe for TelemetryEnvironmentValues
impl Send for TelemetryEnvironmentValues
impl Sync for TelemetryEnvironmentValues
impl Unpin for TelemetryEnvironmentValues
impl UnsafeUnpin for TelemetryEnvironmentValues
impl UnwindSafe for TelemetryEnvironmentValues
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more