pub struct MetricsSection {
pub exporter: MetricsExporter,
pub listen: SocketAddr,
pub per_partition_detail: bool,
pub e2e_basis: E2eBasis,
}Expand description
metrics: — exporter selection and observability knobs.
Fields§
§exporter: MetricsExporterWhich exporter to install.
listen: SocketAddrAdmin server bind address (/metrics, /healthz, /readyz).
per_partition_detail: boolEmit per-partition gauge series (partition label). Off by default:
cardinality grows with the assignment.
e2e_basis: E2eBasisTime basis for etl_e2e_latency_seconds.
Trait Implementations§
Source§impl Debug for MetricsSection
impl Debug for MetricsSection
Source§impl Default for MetricsSection
impl Default for MetricsSection
Source§fn default() -> MetricsSection
fn default() -> MetricsSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetricsSectionwhere
MetricsSection: Default,
impl<'de> Deserialize<'de> for MetricsSectionwhere
MetricsSection: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetricsSection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetricsSection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MetricsSection
impl PartialEq for MetricsSection
Source§fn eq(&self, other: &MetricsSection) -> bool
fn eq(&self, other: &MetricsSection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetricsSection
Auto Trait Implementations§
impl Freeze for MetricsSection
impl RefUnwindSafe for MetricsSection
impl Send for MetricsSection
impl Sync for MetricsSection
impl Unpin for MetricsSection
impl UnsafeUnpin for MetricsSection
impl UnwindSafe for MetricsSection
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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