[][src]Trait appinsights::telemetry::Telemetry

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; }

A trait that provides Application Insights telemetry items.

Required methods

fn timestamp(&self) -> DateTime<Utc>

Returns the time when this telemetry was measured.

fn properties(&self) -> &Properties

Returns custom properties to submit with the telemetry item.

fn properties_mut(&mut self) -> &mut Properties

Returns mutable reference to custom properties.

fn tags(&self) -> &ContextTags

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

fn tags_mut(&mut self) -> &mut ContextTags

Returns mutable reference to custom tags.

Loading content...

Implementors

impl Telemetry for AggregateMetricTelemetry[src]

fn timestamp(&self) -> DateTime<Utc>[src]

Returns the time when this telemetry was measured.

fn properties(&self) -> &Properties[src]

Returns custom properties to submit with the telemetry item.

fn properties_mut(&mut self) -> &mut Properties[src]

Returns mutable reference to custom properties.

fn tags(&self) -> &ContextTags[src]

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

fn tags_mut(&mut self) -> &mut ContextTags[src]

Returns mutable reference to custom tags.

impl Telemetry for AvailabilityTelemetry[src]

fn timestamp(&self) -> DateTime<Utc>[src]

Returns the time when this telemetry was measured.

fn properties(&self) -> &Properties[src]

Returns custom properties to submit with the telemetry item.

fn properties_mut(&mut self) -> &mut Properties[src]

Returns mutable reference to custom properties.

fn tags(&self) -> &ContextTags[src]

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

fn tags_mut(&mut self) -> &mut ContextTags[src]

Returns mutable reference to custom tags.

impl Telemetry for EventTelemetry[src]

fn timestamp(&self) -> DateTime<Utc>[src]

Returns the time when this telemetry was measured.

fn properties(&self) -> &Properties[src]

Returns custom properties to submit with the telemetry item.

fn properties_mut(&mut self) -> &mut Properties[src]

Returns mutable reference to custom properties.

fn tags(&self) -> &ContextTags[src]

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

fn tags_mut(&mut self) -> &mut ContextTags[src]

Returns mutable reference to custom tags.

impl Telemetry for MetricTelemetry[src]

fn timestamp(&self) -> DateTime<Utc>[src]

Returns the time when this telemetry was measured.

fn properties(&self) -> &Properties[src]

Returns custom properties to submit with the telemetry item.

fn properties_mut(&mut self) -> &mut Properties[src]

Returns mutable reference to custom properties.

fn tags(&self) -> &ContextTags[src]

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

fn tags_mut(&mut self) -> &mut ContextTags[src]

Returns mutable reference to custom tags.

impl Telemetry for PageViewTelemetry[src]

fn timestamp(&self) -> DateTime<Utc>[src]

Returns the time when this telemetry was measured.

fn properties(&self) -> &Properties[src]

Returns custom properties to submit with the telemetry item.

fn properties_mut(&mut self) -> &mut Properties[src]

Returns mutable reference to custom properties.

fn tags(&self) -> &ContextTags[src]

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

fn tags_mut(&mut self) -> &mut ContextTags[src]

Returns mutable reference to custom tags.

impl Telemetry for RemoteDependencyTelemetry[src]

fn timestamp(&self) -> DateTime<Utc>[src]

Returns the time when this telemetry was measured.

fn properties(&self) -> &Properties[src]

Returns custom properties to submit with the telemetry item.

fn properties_mut(&mut self) -> &mut Properties[src]

Returns mutable reference to custom properties.

fn tags(&self) -> &ContextTags[src]

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

fn tags_mut(&mut self) -> &mut ContextTags[src]

Returns mutable reference to custom tags.

impl Telemetry for RequestTelemetry[src]

fn timestamp(&self) -> DateTime<Utc>[src]

Returns the time when this telemetry was measured.

fn properties(&self) -> &Properties[src]

Returns custom properties to submit with the telemetry item.

fn properties_mut(&mut self) -> &mut Properties[src]

Returns mutable reference to custom properties.

fn tags(&self) -> &ContextTags[src]

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

fn tags_mut(&mut self) -> &mut ContextTags[src]

Returns mutable reference to custom tags.

impl Telemetry for TraceTelemetry[src]

fn timestamp(&self) -> DateTime<Utc>[src]

Returns the time when this telemetry was measured.

fn properties(&self) -> &Properties[src]

Returns custom properties to submit with the telemetry item.

fn properties_mut(&mut self) -> &mut Properties[src]

Returns mutable reference to custom properties.

fn tags(&self) -> &ContextTags[src]

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

fn tags_mut(&mut self) -> &mut ContextTags[src]

Returns mutable reference to custom tags.

Loading content...