Skip to content

Conversation

@TravisStark
Copy link
Contributor

@TravisStark TravisStark commented Jan 27, 2026

Description of the issue

Collectd plugin doesn't support append_dimensions, preventing users from adding custom dimensions to collectd metrics for fleet-level aggregation.

Description of changes

  • Add append_dimensions to collectd schema
  • Call ProcessAppendDimensions in collectd translator
  • Add schema validation test and unit tests

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

  • Schema validation test (validCollectdConfig.json)
  • Unit tests with mocked EC2 metadata
  • Manual E2E testing on 2 EC2 instances verified metrics in CloudWatch with correct dimensions

Requirements

Before commiting your code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

Integration Tests

To run integration tests against this PR, add the ready for testing label.

Screenshot 2026-01-27 at 2 48 41 PM Screenshot 2026-01-27 at 2 51 14 PM

@TravisStark TravisStark requested a review from a team as a code owner January 27, 2026 21:22
@TravisStark TravisStark force-pushed the tjstark/collectd-append branch 2 times, most recently from feba8d7 to 159ff44 Compare January 27, 2026 21:25
@TravisStark TravisStark added the ready for testing Indicates this PR is ready for integration tests to run label Jan 27, 2026
@TravisStark TravisStark force-pushed the tjstark/collectd-append branch 2 times, most recently from cf9fcea to 8b8e009 Compare January 27, 2026 21:58
@TravisStark TravisStark force-pushed the tjstark/collectd-append branch from 8b8e009 to addd131 Compare January 27, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for testing Indicates this PR is ready for integration tests to run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant