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§
- Allow
Split Entries - This config enables splitting entries in case of multiple dimension values.
- Emf
- The Amazon Embedded Metric Format.
- EmfBuilder
- Builder for
Emf - Entry
Dimensions - 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.
- High
Storage Resolution Ctor - Creates options for high storage resolution
- Metric
Definition - Serde declaration of EMF’s MetricDefinition type
- Metric
Directive - Serde declaration of EMF’s MetricDirective type
- NoMetric
Ctor - 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).
- Sampled
Emf - A wrapper around Emf that allows sampling. Datapoints are emitted with multiplicity
equal to either
floor(1/rate)orceil(1/rate)to ensure statistics are unbiased. See the docs for Emf::with_sampling and Emf::with_sampling_and_rng.
Enums§
- Storage
Resolution - Serde declaration of EMF’s Unit type
Type Aliases§
- High
Storage Resolution - 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.