Skip to content

feat(metrics): add EMF emitter#5730

Merged
jmayclin merged 3 commits intoaws:mainfrom
jmayclin:2026-02-11-emitter
Feb 17, 2026
Merged

feat(metrics): add EMF emitter#5730
jmayclin merged 3 commits intoaws:mainfrom
jmayclin:2026-02-11-emitter

Conversation

@jmayclin
Copy link
Copy Markdown
Contributor

Goal

Allow metric records to be converted to EMF.

Why

The metric record is not useful unless we can actually do something with the data. We expect that most customers will be used CloudWatch for analysis/visualization, and EMF is the preferred way to get the metric records ingested in CloudWatch.

How

We use the Metrique Writer interface to handle the actual EMF formatting.

Callouts

The EmfEmitter is intended for future usage through FFI. Accordingly, it has internal buffering to allow a customers to separate that actual record flushing/IO from the aggregation.

Testing

Unit Tests.

I also wrote a simple cloudwatch emitter (not included in this PR) to dump things to CloudWatch and confirm that it made nice lines.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

* add copyright header
* clippy --all-targets
@jmayclin jmayclin enabled auto-merge February 17, 2026 18:26
@jmayclin jmayclin added this pull request to the merge queue Feb 17, 2026
Merged via the queue into aws:main with commit 312a6ae Feb 17, 2026
53 checks passed
@jmayclin jmayclin deleted the 2026-02-11-emitter branch February 17, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants