[−][src]Struct elasticsearch_exporter::ExporterOptions
Elasticsearch exporter options
Fields
elasticsearch_url: Url
Elasticsearch cluster url
elasticsearch_global_timeout: Duration
Global HTTP request timeout
elasticsearch_query_fields: CollectionLabels
Elasticsearch /_nodes/stats fields comma-separated list or wildcard expressions of fields to include in the statistics.
elasticsearch_subsystem_timeouts: ExporterPollIntervals
Exporter timeout for subsystems, in case subsystem timeout is not defined default global timeout is used
elasticsearch_path_parameters: CollectionLabels
Elasticsearch path parameters https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html#cluster-nodes-info-api-path-params
exporter_skip_labels: CollectionLabels
Exporter labels to skip
exporter_include_labels: CollectionLabels
Exporter labels to include, caution this may increase metric cardinality
exporter_skip_metrics: CollectionLabels
Exporter labels to skip completely such as segment "id"
exporter_poll_default_interval: Duration
Metrics polling interval
exporter_poll_intervals: ExporterPollIntervals
Exporter skip zero metrics
exporter_skip_zero_metrics: bool
Exporter skip zero metrics
exporter_metrics_enabled: ExporterMetricsSwitch
Exporter metrics switch either ON or OFF
exporter_metadata_refresh_interval: Duration
Exporter metadata refresh interval
Implementations
impl ExporterOptions
[src]
pub fn is_metric_enabled(&self, subsystem: &'static str) -> bool
[src]
Check if metric is enabled
pub fn query_fields_for_subsystem(&self, subsystem: &'static str) -> Vec<&str>
[src]
?fields= parameters for subsystems
pub fn path_parameters_for_subsystem(
&self,
subsystem: &'static str
) -> Vec<&str>
[src]
&self,
subsystem: &'static str
) -> Vec<&str>
Path parameters for subsystems
pub fn timeout_for_subsystem(&self, subsystem: &'static str) -> Duration
[src]
Get timeout for subsystem or fallback to global
pub fn cat_subsystems() -> [&'static str; 16]
[src]
/_cat subsystems
pub fn cluster_subsystems() -> [&'static str; 1]
[src]
/_cluster subsystems
pub fn nodes_subsystems() -> [&'static str; 3]
[src]
/_nodes subsystems
Trait Implementations
impl Clone for ExporterOptions
[src]
pub fn clone(&self) -> ExporterOptions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExporterOptions
[src]
impl Display for ExporterOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExporterOptions
impl Send for ExporterOptions
impl Sync for ExporterOptions
impl Unpin for ExporterOptions
impl UnwindSafe for ExporterOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,