Skip to main content

Crate metrique_writer_format_emf

Crate metrique_writer_format_emf 

Source
Expand description

A metrique Format for formatting metrique metrics to Amazon CloudWatch Embedded Metric Format (EMF).

For more details, read the docs for Emf.

Structs§

AllowSplitEntries
This config enables splitting entries in case of multiple dimension values.
Emf
The Amazon Embedded Metric Format.
EmfBuilder
Builder for Emf
EntryDimensions
Putting this config on an entry will make supporting formatters extend their dimension-sets with the specified dimensions. Currently, this is supported by the EMF formatter by cartesian-producting the dimensions in this struct with its configured (“dev-ops”) dimensions.
HighStorageResolutionCtor
Creates options for high storage resolution
MetricDefinition
Serde declaration of EMF’s MetricDefinition type
MetricDirective
Serde declaration of EMF’s MetricDirective type
NoMetricCtor
Creates options for emitting a value to the JSON but not emitting EMF metric metadata for it (which will make it readable by code parsing the JSON, but will prevent it from creating a CloudWatch metric).
SampledEmf
A wrapper around Emf that allows sampling. Datapoints are emitted with multiplicity equal to either floor(1/rate) or ceil(1/rate) to ensure statistics are unbiased. See the docs for Emf::with_sampling and Emf::with_sampling_and_rng.

Enums§

StorageResolution
Serde declaration of EMF’s Unit type

Type Aliases§

HighStorageResolution
Wrapper type to force a metric value, entry, or metric stream to be written to EMF in high (1/second) storage resolution.
NoMetric
Wrapper type to force a metric value, entry, or metric stream to be present in the JSON but emit no EMF metadata and therefore not be present in CloudWatch.