pub trait Telemetry {
    fn timestamp(&self) -> DateTime<Utc>;
    fn properties(&self) -> &Properties;
    fn properties_mut(&mut self) -> &mut Properties;
    fn tags(&self) -> &ContextTags;
    fn tags_mut(&mut self) -> &mut ContextTags;
}
Expand description

A trait that provides Application Insights telemetry items.

Required Methods

Returns the time when this telemetry was measured.

Returns custom properties to submit with the telemetry item.

Returns mutable reference to custom properties.

Returns context data containing extra, optional tags. Overrides values found on client telemetry context.

Returns mutable reference to custom tags.

Implementors