pub struct Sums {
pub cumulative_monotonic_mode: CumulativeMonotonicMode,
pub initial_cumulative_monotonic_value: InitialCumulativeMonotonicValue,
}Expand description
OTLP sum translation settings.
Fields§
§cumulative_monotonic_mode: CumulativeMonotonicModeCumulative monotonic sum reporting mode.
Defaults to to_delta, which converts cumulative values to delta counts. Set to raw_value to emit
cumulative values as gauges.
initial_cumulative_monotonic_value: InitialCumulativeMonotonicValueInitial cumulative monotonic sum reporting behavior.
Defaults to auto, which reports the value only when its series started after the translator process.
Set this to drop to always discard the first value or keep to always report it.
Trait Implementations§
impl StructuralPartialEq for Sums
Auto Trait Implementations§
impl Freeze for Sums
impl RefUnwindSafe for Sums
impl Send for Sums
impl Sync for Sums
impl Unpin for Sums
impl UnwindSafe for Sums
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