Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(transform): Add Metrics Bytes Transform #142

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

jshlbrd
Copy link
Contributor

@jshlbrd jshlbrd commented Mar 7, 2024

Description

  • Adds a transform for emitting a metric that contains the amount of bytes passed through the application

Motivation and Context

It's not unusual for a data processing system to provide metrics on both the count and volume of messages processed; since a Metrics Count transform exists, this adds the complementary metric. This is useful for anyone using AWS or external services that don't readily make this information available.

How Has This Been Tested?

This can be integration tested locally:

make build-config
make build-go
./examples/cmd/client/file/substation/substation -config examples/config/transform/utility/message_bytes/config.json -file examples/config/transform/utility/message_bytes/data.jsonl

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@jshlbrd jshlbrd marked this pull request as ready for review March 7, 2024 15:00
@jshlbrd jshlbrd requested a review from a team as a code owner March 7, 2024 15:00
@jshlbrd jshlbrd merged commit d708580 into main Mar 7, 2024
4 checks passed
@jshlbrd jshlbrd deleted the jshlbrd/feat/metrics-bytes branch March 7, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants