Struct metrics_datadog_exporter::DataDogBuilder [−][src]
pub struct DataDogBuilder { /* fields omitted */ }
Expand description
Builder for creating/installing a DataDog recorder/exporter
Implementations
impl DataDogBuilder
[src]
impl DataDogBuilder
[src]pub fn default() -> Self
[src]
pub fn default() -> Self
[src]Creates a new DataDogBuilder
pub fn write_to_stdout(self, b: bool) -> DataDogBuilder
[src]
pub fn write_to_stdout(self, b: bool) -> DataDogBuilder
[src]Write metrics to stdout in DataDog JSON format
pub fn write_to_api(self, b: bool, api_key: Option<String>) -> DataDogBuilder
[src]
pub fn write_to_api(self, b: bool, api_key: Option<String>) -> DataDogBuilder
[src]Write metrics to DataDog API
pub fn api_host(self, api_host: String) -> DataDogBuilder
[src]
pub fn api_host(self, api_host: String) -> DataDogBuilder
[src]Set DataDog API host
pub fn build(&self) -> DataDogHandle
[src]
pub fn build(&self) -> DataDogHandle
[src]Build DataDogHandle
Auto Trait Implementations
impl RefUnwindSafe for DataDogBuilder
impl Send for DataDogBuilder
impl Sync for DataDogBuilder
impl Unpin for DataDogBuilder
impl UnwindSafe for DataDogBuilder
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T