Class MetricEmfConverter

java.lang.Object
software.amazon.awssdk.metrics.publishers.emf.internal.MetricEmfConverter

public class MetricEmfConverter extends Object
Converts MetricCollection into List of Amazon CloudWatch Embedded Metric Format (EMF) Strings.

This class is responsible for transforming MetricCollection into the EMF format required by CloudWatch. It handles the conversion of different metric types and ensures the output conforms to EMF specifications.

See Also:
  • Constructor Details

  • Method Details

    • convertMetricCollectionToEmf

      public List<String> convertMetricCollectionToEmf(MetricCollection metricCollection)

      Convert SDK Metrics to EMF Format. Transforms a collection of SDK metrics into CloudWatch's Embedded Metric Format (EMF). The method processes standard SDK measurements and structures them according to CloudWatch's EMF specification.

      Example Output