[][src]Struct datadog_logs::logger::DataDogConfig

pub struct DataDogConfig {
    pub tags: Option<String>,
    pub apikey: String,
    pub service: Option<String>,
    pub hostname: Option<String>,
    pub source: String,
    pub datadog_url: String,
}

Configuration for DataDogLogger

Fields

tags: Option<String>

Tags to add to each log

apikey: String

DataDog API key

service: Option<String>

Service name to add to each log

hostname: Option<String>

Hostname to add to each log

source: String

Source to add to each log

datadog_url: String

Url of DataDog service along with scheme and path

Defaults to https://http-intake.logs.datadoghq.com/v1/input

For other geographies you might want to use https://http-intake.logs.datadoghq.eu/v1/input for example

Trait Implementations

impl Clone for DataDogConfig[src]

impl Debug for DataDogConfig[src]

impl Default for DataDogConfig[src]

impl<'de> Deserialize<'de> for DataDogConfig[src]

impl Serialize for DataDogConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.