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

Add new OTel pipeline for scraping Kueue metrics and publishing to CloudWatch #1426

Merged
merged 34 commits into from
Nov 14, 2024

Conversation

rvasahu-amazon
Copy link
Contributor

Description of the issue

As title says. This PR implements a new translator pipeline for collecting Kueue metrics and exporting them to CloudWatch.
The pipeline uses:

  • A custom receiver intended to run alongside the AWS Container Insights Receiver. This new receiver defines a Prometheus scrape config and passes it to a lower-level Prometheus Receiver.
  • A new processor.
  • The AWS EMF exporter, for which a new configuration has been added.

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

Added unit testing for new components, updated unit testing for existing ones.
Integration tests in a separate PR.

Requirements

Before commit the code, please do the following steps.

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

rohangujarathi and others added 27 commits October 25, 2024 11:39
…sights is true

test: add unit tests for ``awscontainerinsights/translator.go``
this will need to be replaced with a real version when merged into
public repos
condition is guaranteed to be true in that block of the code
@rvasahu-amazon rvasahu-amazon requested a review from a team as a code owner November 14, 2024 01:00
go.mod Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
@sky333999 sky333999 merged commit d6e36e5 into main Nov 14, 2024
6 checks passed
@sky333999 sky333999 deleted the kueue-for-cw branch November 14, 2024 22:40
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.

5 participants