[−][src]Struct libhoney::client::Options
Options is a subset of the global libhoney config that focuses on the configuration of the client itself.
Fields
api_key: String
api_key is the Honeycomb authentication token. If it is specified during libhoney initialization, it will be used as the default API key for all events. If absent, API key must be explicitly set on a builder or event. Find your team's API keys at https://ui.honeycomb.io/account
api_host: String
api_host is the hostname for the Honeycomb API server to which to send this event. default: https://api.honeycomb.io/
dataset: String
dataset is the name of the Honeycomb dataset to which to send these events. If it is specified during libhoney initialization, it will be used as the default dataset for all events. If absent, dataset must be explicitly set on a builder or event.
sample_rate: usize
sample_rate is the rate at which to sample this event. Default is 1, meaning no sampling. If you want to send one event out of every 250 times Send() is called, you would specify 250 here.
Trait Implementations
Auto Trait Implementations
impl Send for Options
impl Unpin for Options
impl Sync for Options
impl UnwindSafe for Options
impl RefUnwindSafe for Options
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,