pub struct RuntimeCoverageOptions {
pub path: PathBuf,
pub min_invocations_hot: u64,
pub min_observation_volume: Option<u32>,
pub low_traffic_threshold: Option<f64>,
pub license_jwt: String,
pub watermark: Option<RuntimeCoverageWatermark>,
}Expand description
Command-neutral runtime coverage input for health analysis.
Fields§
§path: PathBufPath to the runtime coverage artifact captured by the sidecar.
min_invocations_hot: u64Minimum invocation count for a function to classify as hot-path.
min_observation_volume: Option<u32>Minimum total trace volume before high-confidence safe_to_delete /
review_required verdicts may be emitted. Below this the sidecar caps
confidence at medium. None lets the sidecar use its spec-default
(5000).
low_traffic_threshold: Option<f64>Fraction of total trace count below which an invoked function is
classified as low_traffic rather than active. None lets the
sidecar use its spec-default (0.001 = 0.1%).
license_jwt: StringVerified license JWT forwarded to the closed-source sidecar.
watermark: Option<RuntimeCoverageWatermark>License or trial watermark to stamp on the runtime coverage output.
Trait Implementations§
Source§impl Clone for RuntimeCoverageOptions
impl Clone for RuntimeCoverageOptions
Auto Trait Implementations§
impl Freeze for RuntimeCoverageOptions
impl RefUnwindSafe for RuntimeCoverageOptions
impl Send for RuntimeCoverageOptions
impl Sync for RuntimeCoverageOptions
impl Unpin for RuntimeCoverageOptions
impl UnsafeUnpin for RuntimeCoverageOptions
impl UnwindSafe for RuntimeCoverageOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more