-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
New component: AWS CloudWatch metrics receiver #15667
Comments
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
On behalf of the OpenTelemetry Squad at Grafana Labs, I would like to volunteer as a sponsor for this component. In addition to the component's author, the code owners (as sponsors) will be: While we would very much prefer the affected vendor to support this receiver, we understand they might not be interested in translating their proprietary formats into OTLP, only the other way around. We believe that the community wants this receiver, and if community members are willing to contribute code for this, we are willing to support the community. |
@jpkrohling That's great, more than happy with that approach. Thanks to Grafana for stepping up :) |
@lewis262626, once you submit the PR, let me know. Please, make sure to follow the contributing guidelines for new components. |
Sorry for the delay -- have made a start on this :) |
@evan-bradley Please could I be assigned this issue |
Hi @lewis262626, has any work been started on this? We're also interested in having this receiver in the collector, happy to help where needed (contributing PRs, review). |
Has it been considered to implement this as part of
For reference there is also an older issue regarding this component: #6226 |
@matej-g H Yes. You can view my progress under my fork https://github.com/lewis262626/opentelemetry-collector-contrib/tree/awscloudwatchmetricsreceiver/receiver/awscloudwatchmetricsreceiver I only have an hour or so a week to commit to this so been slow progress I'm afraid. I have:
Any help much appreciated |
@secustor Potentially, yep. Although other metric receivers are standalone such as the |
@lewis262626 Thanks for sharing that. Let me know what form of help would make it possible to move this forward. Happy to take that code over if you're busy or feel free to open a draft PR if you'd like. |
@matej-g I'll open a draft PR then |
I've been pretty much done all the logic. Now onto finishing off the unit tests and integration tests. Should I also implement this logic or leave for a later version?
|
Hey @lewis262626, As I mentioned previously, I'd be happy to take it from there if you're busy. |
Hey, I'll reply to your PR comments in a bit. To answer your question, the receiver is done and I've been using to pull metrics from CloudWatch. I was asked to split my PR, but if you want to use my code feel free to check out my branch as referenced in #19218. |
Got it, thanks @lewis262626, in that case I'll wait on that second PR. |
Hi @wesleyreis1808 , does this receiver can handle EKS IRSA ( IAM ROLE for Service Account) and find credential with this Env variable : AWS_DEFAULT_REGION : eu-west-1 I do not find any trace of usage GetMetricData api in AWS cloudtrail , and i do not find any debug usefull information. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
The purpose and use-cases of the new component
Collect metrics from AWS Cloudwatch metrics and parse them in to OTel pmetric. Some metrics on AWS, such as Lambda memory usage etc, are only available from CloudWatch — users may want them to be put in one platform for analysis such as Prometheus with Grafana.
Example configuration for the component
Telemetry data types supported
Metrics
Is this a vendor-specific component?
Sponsor (optional)
No response
Additional context
Functionality is similar to AWSContainerMetrics receiver, maybe extend that instead and make it more generic?
The text was updated successfully, but these errors were encountered: