github prometheus-community/yet-another-cloudwatch-exporter v0.66.0
0.66.0 / 2026-07-02

2 hours ago
  • BREAKING CHANGE: The package-level scrape instrumentation collectors in pkg/promutil have been replaced by promutil.ScrapeMetrics and promutil.NewScrapeMetrics(registry). Go library users importing those metrics must create a promutil.ScrapeMetrics value (which registers its counters on the prometheus.Registerer you supply) and use its fields or Collectors() method instead. Users of exporter.Metrics will need to build clients with promutil.DeprecatedScrapeMetrics() to continue using them, or otherwise switch to promutil.ScrapeMetrics and promutil.NewScrapeMetrics(registry). Both exporter.UpdateMetrics and exporter.Metrics APIs are now deprecated and will be removed in a future release.

  • BREAKING CHANGE: cloudwatch.NewClient, tagging.NewClient, and clients.NewFactory now require a *promutil.ScrapeMetrics argument for AWS API request instrumentation. Build one with promutil.NewScrapeMetrics(registry), or pass promutil.Discard to disable scrape telemetry.

  • [CHANGE] Add pkg/config.Config and pkg/metrics.Scraper so Go applications can embed YACE with isolated scrape configuration, scrape instrumentation collectors, and one-shot CloudWatch scraping by @ArthurSens. #1857
  • [CHANGE] Deprecate the legacy pkg/exporter entrypoints and defaults by @ArthurSens. Use config.DefaultConfig(), config.DefaultMetricsPerQuery, config.DefaultLabelsSnakeCase, config.DefaultTaggingAPIConcurrency, config.DefaultCloudwatchConcurrency, instead of the constants from the exporter package. #1857
  • [ENHANCEMENT] pkg/clients: use method-value closures to avoid defeating dead-code elimination by @roidelapluie. #1867
  • [ENHANCEMENT] enhance RDS metrics handling by filtering valid DB instance identifiers from ARNs by @andriikushch. #1877

Dependency updates

  • Bump the aws-sdk-v2 group with 19 updates. #1855
  • Bump actions/checkout from 6.0.2 to 6.0.3. #1870
  • Bump golangci/golangci-lint-action from 9.2.0 to 9.2.1. #1871
  • Bump github.com/prometheus/common from 0.67.5 to 0.68.0. #1872
  • Bump github.com/aws/smithy-go from 1.25.0 to 1.27.0. #1873

Don't miss a new yet-another-cloudwatch-exporter release

NewReleases is sending notifications on new releases.