pub struct MetricsSettings {
pub exporter: Exporter,
pub listen: SocketAddr,
pub per_partition_detail: bool,
pub e2e_basis: E2eBasis,
}Expand description
Exporter settings, mapped from the metrics config section by the
pipeline runtime. Defined here (not in config) so this module has no
config dependency.
Fields§
§exporter: ExporterWhich exporter to install.
listen: SocketAddrAdmin-server listen address (/metrics, /healthz, /readyz).
per_partition_detail: boolEnable cardinality-sensitive per-partition series.
e2e_basis: E2eBasisTime basis for end-to-end latency.
Trait Implementations§
Source§impl Clone for MetricsSettings
impl Clone for MetricsSettings
Source§fn clone(&self) -> MetricsSettings
fn clone(&self) -> MetricsSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetricsSettings
impl Debug for MetricsSettings
Source§impl Default for MetricsSettings
impl Default for MetricsSettings
Source§fn default() -> MetricsSettings
fn default() -> MetricsSettings
Returns the “default value” for a type. Read more
Source§impl PartialEq for MetricsSettings
impl PartialEq for MetricsSettings
Source§fn eq(&self, other: &MetricsSettings) -> bool
fn eq(&self, other: &MetricsSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MetricsSettings
impl StructuralPartialEq for MetricsSettings
Auto Trait Implementations§
impl Freeze for MetricsSettings
impl RefUnwindSafe for MetricsSettings
impl Send for MetricsSettings
impl Sync for MetricsSettings
impl Unpin for MetricsSettings
impl UnsafeUnpin for MetricsSettings
impl UnwindSafe for MetricsSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more