Releases: prometheus-community/yet-another-cloudwatch-exporter
0.63.0 / 2025-09-25
Important news and breaking changes
-
NOTE: As of Prometheus 3.0, UTF-8 strings are valid for metric names and label names. However, for backward compatibility, this release of YACE still uses the old, stricter legacy validation scheme. UTF-8 validation will be enabled in a feature version of YACE, thus requiring that your remote destination is compatible with UTF-8 support.
-
BREAKING CHANGE: the AWS SDK v2 is now the default in YACE. Use the flag
aws-sdk-v1to switch back to SDK v2. Flagaws-sdk-v2has been removed. -
NEW FEATURE:
exportAllDataPoints, enables the inclusion of past metric data points from the CloudWatch response if available.
- [CHANGE] Make aws sdk v2 the default choice by @cristiangreco
- [FEATURE] Support history data export by @woehrl01
- [FEATURE] Add AWS/Transfer as available service by @thepalbi
- [FEATURE] Add auto-discovery for Directory Services(MicrosoftAD) by @RuslanMustaev
- [FEATURE] Add support for Redshift-Serverless by @nickbazinet
- [FEATURE] Add db connections avg panel to RDS dashboard by @yduartep
- [FEATURE] Add example for lambda_edge by @tyagian
- [FEATURE] sagemaker: additional InferenceComponent support by @tristanburgess
- [ENHANCEMENT] Update Go version by @SuperQ
- [ENHANCEMENT] Use Prometheus common version library by @SuperQ
- [ENHANCEMENT] Update container repositories by @SuperQ
- [ENHANCEMENT] Speed up build metric name by @jeschkies
- [ENHANCEMENT] Add guard to hot logging location in associator by @thepalbi
- [ENHANCEMENT] Update resource association logic to try both with and without dimension fixes by @tristanburgess
- [ENHANCEMENT] Change discovery runtime model field from Type -> Namespace by @kgeckhart
- [BUGFIX] Fix
CachingFactoryconcurrent usage issues by @andriikushch - [BUGFIX] Correctly run tests in CI and fix failing tests by @jeschkies
- [BUGFIX] Fix doc about non-existing
debugflag by @zipkid - [BUGFIX] Update URL to Helm Chart in docs by @koralowiec
- [BUGFIX] Add missing license header to
associator_logging_test.goby @cristiangreco - [BUGFIX] Dashboards: replace
scrape_joblabel withjobby @yduartep - [BUGFIX] RDS dashboard: use average for cpu utilization to align with AWS best practices by @yduartep
0.62.1 / 2025-01-03
Important news and breaking changes
Bugfix release to address artifacts build error. The most important news is the same as 0.62.0: as of November 2024, YACE is part of prometheus-community. Read more about it in these announcement posts:
- https://prometheus.io/blog/2024/11/19/yace-joining-prometheus-community/
- https://grafana.com/blog/2024/11/19/yace-moves-to-prometheus-community/
- [ENHANCEMENT] Adopt log/slog, drop custom logging pkg by @tjhop
- [ENHANCEMENT] Bump github.com/prometheus/common from 0.60.1 to 0.61.0
- [ENHANCEMENT] Bump golang.org/x/sync from 0.9.0 to 0.10.0
- [ENHANCEMENT] Bump the aws-sdk-v2 group
- [ENHANCEMENT] Synchronize common files from prometheus/prometheus
- [ENHANCEMENT] Update CHANGELOG format by @SuperQ
- [BUGFIX] Fix artifact publishing by @SuperQ
v0.62.0
Important news and breaking changes
- As of November 2024, YACE is part of prometheus-community. Read more about it in these announcement posts:
- https://prometheus.io/blog/2024/11/19/yace-joining-prometheus-community/
- https://grafana.com/blog/2024/11/19/yace-moves-to-prometheus-community/
Bugfixes and features
Features:
- Add ContainerInsights service by @JetSquirrel
- Add AWS/Scheduler and AWS/ECR services by @andriikushch
- Add AWS/VpcLattice service by @greymd
- Add AWS/QuickSight service by @choppedpork
- Add AWS/Timestream service by @andriikushch
- Add Network Manager / Cloud WAN support by @kylehodgetts
- RDS: include RDS Proxy metrics within the RDS namespace by @vitaliyf
- Mediapackage: include mediapackagev2 namespace by @henrylaiBrightcove
Bugs:
- Add parentheses to sanitize list to prevent invalid metric name generation by @nixargh
Docs:
- Review and update supported services in README by @cristiangreco
- Mention support for AWS/MediaPackage by @prathamesh-sonpatki
- Update README and MAINTAINERS files to mention the move to prometheus-community by @cristiangreco
Refactoring:
- Start a unified scraper by @kgeckhart
- Refactor prom metric creation by @kgeckhart
- Update for Prometheus Community by @SuperQ
- Update Docker build by @SuperQ
- Fix linting issues detected by golangci-lint 1.60.3 by @cristiangreco
- Update build tools and CI to Go 1.23 by @cristiangreco
Dependencies
- Bump actions/checkout from 4.2.0 to 4.2.2
- Bump alpine from 3.20.1 to 3.20.3
- Bump github.com/aws/aws-sdk-go from 1.54.7 to 1.55.5
- Bump github.com/aws/smithy-go from 1.22.0 to 1.22.1
- Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.5
- Bump github.com/prometheus/common from 0.54.0 to 0.60.1
- Bump github.com/stretchr/testify from 1.9.0 to 1.10.0
- Bump github.com/urfave/cli/v2 from 2.27.2 to 2.27.5
- Bump golang from 1.22 to 1.23
- Bump golang.org/x/sync from 0.7.0 to 0.9.0
- Bump golangci/golangci-lint-action from 6.0.1 to 6.1.1
- Bump grafana/regexp to
20240607082908-2cb410fa05da - Bump the aws-sdk-v2 group
New contributors
- @prathamesh-sonpatki made their first contribution in #1465
- @JetSquirrel made their first contribution in #1463
- @greymd made their first contribution in #1506
- @choppedpork made their first contribution in #1477
- @SuperQ made their first contribution in #1568
- @prombot made their first contribution in #1570
- @nixargh made their first contribution in #1563
- @kylehodgetts made their first contribution in #1580
- @vitaliyf made their first contribution in #1501
- @henrylaiBrightcove made their first contribution in #1544
Full Changelog: v0.61.2...v0.62.0
v0.61.2
Bugfix release to update the goreleaser configuration (again!), please refer to the release notes for 0.61.0 for actual code changes.
https://github.com/nerdswords/yet-another-cloudwatch-exporter/releases/tag/v0.61.0
v0.61.1
Bugfix release to update the goreleaser configuration, please refer to the release notes for 0.61.0 for actual code changes.
https://github.com/nerdswords/yet-another-cloudwatch-exporter/releases/tag/v0.61.0
v0.61.0
Important news and breaking changes
- This release adds support for AWS account aliases (by @thepalbi). If the role used by YACE has
"iam:ListAccountAliases"permission, the account alias (if any) is added as a label to theaws_account_infometric.
Bugfixes and features
Features:
- Add AWS/EC2CapacityReservations to the services list by @luismy
- Add support for MediaPackage metrics by @theunissenne
- Add AWS/AppRunner as supported service by @fabiiw05
Bugs:
- Fix association with gwlb by @vainiusd
Refactoring:
- Add support for batching by time params by @kgeckhart
Dependencies
- Bump alpine from 3.19.1 to 3.20.1
- Bump github.com/aws/aws-sdk-go from 1.53.1 to 1.54.7
- Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.161.4 to 1.162.0 in the aws-sdk-v2 group
- Bump github.com/prometheus/common from 0.53.0 to 0.54.0
- Bump golangci/golangci-lint-action from 5.3.0 to 6.0.1
- Bump goreleaser/goreleaser-action from 5 to 6
- Bump the aws-sdk-v2 group
New contributors
Full Changelog: v0.60.0...v0.61.0
v0.60.0
0.60.0
Bugfixes and features
Features:
Bugs:
- Fix all value for function_name variable in lambda dashboard by @thepalbi
- Fix rounding period deprecation notice by @cristiangreco
Docs:
- README: update config example by @cristiangreco
- Fix ElastiCache metric namespace typo on README by @Roberdvs
Refactoring:
- getmetricdata: Move batching to an iterator by @kgeckhart
Dependencies
- Bump github.com/aws/aws-sdk-go from 1.51.21 to 1.53.1
- Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.156.0 to 1.160.0
- Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1
- Bump github.com/prometheus/common from 0.52.3 to 0.53.0
- Bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.2
- Bump golangci/golangci-lint-action from 4.0.0 to 5.3.0
- Bump the aws-sdk-v2 group with 13 updates
New contributors
Full Changelog: v0.59.0...v0.60.0
v0.59.0
Important news and breaking changes
This release brings a bunch of breaking changes:
- Setting
roundingPeriodfor discovery jobs is deprecated, a warning will be logged at startup. This is being deprecated in favor of always using the metric period. The implementation forroundingPeriodcan result in inconsistent Start and EndTime between batches. This negates its intent to ensure Start and EndTimes align with the metric period for CloudWatch best practices. This has the potential to produce data which will look inaccurate when compared against CloudWatch itself driving a lot of confusion. See #1290 for further context. - Setting
delayat the metric level is deprecated, a warning will be logged at startup. Thisdelayconfiguration has existed for a long time but was never utilized. Deprecating it and eventually removing it was chosen to simplify the configuration. See #1290 (comment) for further context. - For discovery jobs, the
typefield and the keys ofexportedTagsOnMetricsmust be the AWS namespace rather than the alias (the README contains an up-to-date list of namespaces). Aliases are not allowed anymore. An error will be thrown at startup in an invalid namespace or an alias is used. - Some metric names have been changed to avoid duplicating the namespace. This includes:
aws_es_esreporting_failed_request_sys_err_countisaws_es_reporting_failed_request_sys_err_countaws_es_esreporting_failed_request_user_err_countisaws_es_reporting_failed_request_user_err_countaws_es_esreporting_request_countisaws_es_reporting_request_countaws_es_esreporting_success_countisaws_es_reporting_success_countaws_kafka_kafka_app_logs_disk_usedisaws_kafka_app_logs_disk_usedaws_kafka_kafka_data_logs_disk_usedisaws_kafka_data_logs_disk_usedaws_rds_rdsto_aurora_postgre_sqlreplica_lagisaws_rds_to_aurora_postgre_sqlreplica_lagaws_glue_glue_.*isaws_glue_.*
These breaking changes will allow making the configuration easier to understand and less error prone, and also to build better documentation around supported services.
Bugfixes and features
Features:
- Add AWS/SecretsManager to the services list by @taraspos
- Support partner events buses by @HristoStoyanovYotpo
discovery.exportedTagsOnMetrics: validate that keys match one of the job types defined by @cristiangreco
Refactoring:
- Update comment in factory.go by @andriikushch
- getmetricdata: move window calculator to processor by @kgeckhart
- promutil: clean up prom metric names that duplicate parts of the namespace by @tristanburgess
- promutil: rewrite sanitisation funcs for memory optimisation by @cristiangreco
- Do not allow using aliases as job types in discovery jobs by @cristiangreco
Dependencies
- Bump github.com/aws/aws-sdk-go from 1.51.16 to 1.51.21
- Bump github.com/aws/aws-sdk-go-v2 group
- Bump github.com/prometheus/common from 0.52.2 to 0.52.3
New contributors
- @taraspos made their first contribution in #1330
- @HristoStoyanovYotpo made their first contribution in #1359
Full Changelog: v0.58.0...v0.59.0
v0.58.0
0.58.0
Bugfixes and features
Features:
- Simplify CloudWatch API call counters by @kgeckhart
Bugs:
- Fixed issue with generated Prometheus metric name when working with AWS namespaces which have a leading special character, like
/aws/sagemaker/TrainingJobsby @tristanburgess
Refactoring:
- Add abstraction for
GetMetricsDataprocessing by @kgeckhart GetMetricData: refactor QueryID generation and result mapping by @kgeckhart- Refactored out the name-building part of
promutil.BuildNamespaceInfoMetrics()andpromutil.BuildMetrics()intopromutil.BuildMetricName()by @tristanburgess - Set initial maps size in promutil/migrate by @cristiangreco
Dependencies
- Bump github.com/aws/aws-sdk-go from 1.50.30 to 1.51.16
- Bump github.com/prometheus/common from 0.49.0 to 0.52.2
- Bump golang.org/x/sync from 0.6.0 to 0.7.0
- Bump the aws-sdk-v2 group with 14 updates
New contributors
- @tristanburgess made their first contribution in #1351
Full Changelog: v0.57.1...v0.58.0
v0.57.1
Important news and breaking changes
- Reverted a change from 0.57.0 to fix scraping of ApiGateway resources.
Bugfixes and features
Bugs:
- ApiGateway: bugfix to restore FilterFunc for correct mapping of resources by @cristiangreco
Dependencies
What's Changed
- Bump github.com/aws/aws-sdk-go from 1.50.26 to 1.50.30
- Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0
- Bump github.com/prometheus/common from 0.48.0 to 0.49.0
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
- Bump the aws-sdk-v2 group
Full Changelog: v0.57.0...v0.57.1