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 Cloudwatch Metrics Stream via PriveLink support (beta) #126

Merged
merged 33 commits into from
Jan 29, 2025
Merged

Conversation

daidokoro
Copy link
Contributor

@daidokoro daidokoro commented Jan 20, 2025

This PR adds support for collecting metrics using Cloudwatch Metric Streams. This solution exists only to support a specific use case, that is, send data from a cloudwatch metric stream over PrivateLink.

cloudwatch-metrics-pl-workflow

  • initial commit
  • cargo
  • added metric config
  • cargo fmt
  • added processor code
  • added metrics handler to main
  • added config for metrics module
  • added handler for function metrics
  • initial metric test structure
  • exposed metric lib
  • added test dependencies
  • remove unused imports
  • re-add vendored openssl to fix local build
  • Cargo.locl
  • adjust tests
  • add unit test for metrics workflow
  • refactored metrics integration
  • added condition to do nothing for telemetrymode metrics
  • updated READEME
  • add initial support for metrics workflow to cfn template
  • updated template to support Cloudwatch Metrics Streams via PrivateLink
  • version bump
  • added initial documentation for cloudwatch metric stream workflow
  • add initial concept for re-batching payload
  • add drop success record
  • added test fixture
  • add cloudwatch metric stream workflow sequence daigram

Description

Fixes #

How Has This Been Tested?

Checklist:

  • I have updated the versions in the SemanticVersion in template.yaml
  • I have updated the CHANGELOG.md
  • I have created necessary PR to Terraform Module Repository (https://github.com/coralogix/terraform-coralogix-aws) if needed
  • This change does not affect any particular component (e.g. it's CI or docs change)

@daidokoro daidokoro requested a review from a team as a code owner January 20, 2025 22:18
@daidokoro daidokoro changed the title Add Cloudwatch Metrics Stream via PriveLink support Add Cloudwatch Metrics Stream via PriveLink support (beta) Jan 20, 2025
README.md Outdated Show resolved Hide resolved
src/metrics/process.rs Show resolved Hide resolved
src/metrics/process.rs Outdated Show resolved Hide resolved
src/metrics/process.rs Outdated Show resolved Hide resolved
src/metrics/process.rs Outdated Show resolved Hide resolved
@daidokoro daidokoro merged commit 6ff475d into master Jan 29, 2025
10 checks passed
@daidokoro daidokoro deleted the cds-1565 branch January 29, 2025 00:38
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.

2 participants