Skip to content

Releases: prometheus-community/yet-another-cloudwatch-exporter

v0.56.0

12 Jan 15:00
61cb904
Compare
Choose a tag to compare

Important news and breaking changes

  • Release v0.55.0 didn't include binaries artifact due to an issue with the release pipeline.
  • The list-metrics-callback and max-dimensions-associator feature flags have been removed: their behaviour is now the new default.

Bugfixes and features

Features:

Bugs:

  • Remove unsupported MWAA resource filter by @matej-g
  • DDoSProtection: Include regionless protectedResources in us-east-1 by @kgeckhart
  • aws sdk v2: ensure region is respected for all aws clients by @kgeckhart
  • SageMaker: Associator buildLabelsMap to lower case EndpointName to match ARN by @GGonzalezGomez
  • Update goreleaser action by @cristiangreco

Refactoring:

  • Decouple config models from internal models by @cristiangreco
  • Change config Validate() signature to include model conversion by @cristiangreco

Dependencies

  • Bump actions/setup-go from 4 to 5
  • Bump alpine from 3.18.3 to 3.19.0
  • Bump docker/setup-buildx-action from 2 to 3
  • Bump docker/setup-qemu-action from 2 to 3
  • Bump github.com/aws/aws-sdk-go from 1.45.24 to 1.49.19
  • Bump github.com/aws/smithy-go from 1.17.0 to 1.19.0
  • Bump github.com/prometheus/client_golang from 1.16.0 to 1.18.0
  • Bump github.com/prometheus/common from 0.44.0 to 0.45.0
  • Bump github.com/urfave/cli/v2 from 2.25.7 to 2.27.1
  • Bump golang.org/x/sync from 0.3.0 to 0.6.0
  • Bump goreleaser/goreleaser-action from 4 to 5
  • Bump the aws-sdk-v2 group dependencies

New contributors

Full Changelog: v0.55.0...v0.56.0

v0.55.0

12 Sep 07:56
cd20da4
Compare
Choose a tag to compare

Important news and breaking changes

  • jobs of type customNamespace, which were deprecated in v0.51.0, are now un-deprecated due to customers' feedback
  • new feature flag always-return-info-metrics: return info metrics even if there are no CloudWatch metrics for the resource. This is useful if you want to get a complete picture of your estate, for example if you have some resources which have not yet been used.

Bugfixes and features

Features:

Bugs:

  • main: Initialise logger when exiting if needed by @iainlane

Docs:

Refactoring:

Dependencies

  • Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.45.7
  • Bump the aws-sdk-v2 group with 2 updates
  • Bump actions/checkout from 3 to 4 by

New Contributors

Full Changelog: v0.54.1...v0.55.0

v0.54.1

23 Aug 08:53
b343260
Compare
Choose a tag to compare

Bugfixes and features

Bugs:

  • sdk v2: Set RetryMaxAttempts on root config instead client options by @kgeckhart
  • Match FIPS implementation between sdk v1 and sdk v2 by @kgeckhart
  • Fix regex for vpc-endpoint-service by @cristiangreco

Dependencies

  • Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0
  • Bump github.com/aws/aws-sdk-go from 1.44.327 to 1.44.328

Full Changelog: v0.54.0...v0.54.1

v0.54.0

21 Aug 14:26
a16f2e3
Compare
Choose a tag to compare

Bugfixes and features

Features:

Bugs:

  • Remove tagged resource requirement from TrustedAdvisor by @kgeckhart
  • Fix: RDS dashboard filtering by job value by @andriikushch
  • Review dimensions regexps for APIGateway by @cristiangreco
  • Fix syntax in rds.libsonnet by @andriikushch
  • Fix the FilterId label value selection for s3 dashboard by @andriikushch
  • MaxDimAssociator: loop through all mappings by @cristiangreco
  • MaxDimAssociator: wrap some expensive debug logs by @cristiangreco
  • MaxDimAssociator: compile AmazonMQ broker suffix regex once by @cristiangreco
  • Limit number of goroutines for GetMetricData calls by @cristiangreco
  • Reduce uncessary pointer usage in getmetricdata code path by @kgeckhart
  • Improve perf in discovery jobs metrics to data lookup by @thepalbi
  • Improve FIPS endpoints resolve logic for sdk v1 by @thepalbi

Docs:

Refactoring:

Dependencies

New dependecies:

  • github.com/go-kit/log v0.2.1

Updates:

  • Docker image: bump alpine from 3.18.2 to 3.18.3
  • Docker image: bump golang from 1.20 to 1.21
  • Bump github.com/aws/smithy-go from 1.13.5 to 1.14.2
  • Bump github.com/aws/aws-sdk-go and aws-sdk-go-v2 to latest versions

Full Changelog: v0.53.0...v0.54.0

v0.53.0

30 Jun 16:17
2fd8cd3
Compare
Choose a tag to compare

Bugfixes and features

Services:

Bugs:

  • fix(kafkaconnect): update resource filter by @cgowthaman
  • Validate should fail when no roles are configured by @thepalbi
  • Fix default value for nilToZero and addCloudwatchTimestamp in static job by @cristiangreco
  • ddos protection: Discover resources outside us-east-1

Dependencies

  • Bump github.com/aws/aws-sdk-go from 1.44.284 to 1.44.290
  • Bump github.com/aws/aws-sdk-go-v2/service/amp from 1.16.12 to 1.16.13
  • Bump github.com/aws/aws-sdk-go-v2/service/apigatewayv2 from 1.13.12 to 1.13.13
  • Bump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.26.1 to 1.26.2
  • Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.100.0 to 1.102.0
  • Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0
  • Bump github.com/prometheus/common from 0.43.0 to 0.44.0
  • Bump github.com/urfave/cli/v2 from 2.25.6 to 2.25.7

Full Changelog: v0.52.0...v0.53.0

v0.52.0

19 Jun 10:24
be99502
Compare
Choose a tag to compare

v0.52.0

Important news and breaking changes

This releases introduces the feature flag aws-sdk-v2 (by @kgeckhart), which changes YACE networking layer to use the AWS sdk v2 package. Read on for more details and considerations.

  • The main benefit of sdk v2 is deserialization/serialization is done via code generation vs reflection which drastically lowers memory/cpu usage for large scrape jobs
  • Considerations before enabling sdk v2:
    1. FIPS is not supported in v2 as v2 delegates all URL resolution to the sdk and AWS does not have FIPS compliant endpoints for AutoScaling API and Tagging API. The v1 implementation worked around this by hard coding FIPS URLs where they existed and using non-FIPS URLs otherwise. This work around was not ported to v2 and is unlikely to be ported.
    2. sdk v2 uses regional sts endpoints by default vs global sts which is considered legacy by aws. The sts-region job configuration is still respected when setting the region for sts and will be used if provided. If you still require global sts instead of regional set the sts-region to aws-global.

Bugfixes and features

Features:

  • Discovery jobs support recentlyActiveOnly parameter to reduce number of old metrics returned by CloudWatch API by @PerGon
  • Feature flag aws-sdk-v2: use the more performant AWS sdk v2 (see above section) by @kgeckhart

Services:

Docs:

Bugs:

Refactoring:

  • Refactor AWS sdk client usage to hide behind new ClientCache by @kgeckhart
  • Introduce model types to replace sdk types in cloudwatch client by @kgeckhart

Dependencies

New dependencies:

  • github.com/aws/aws-sdk-go-v2/config 1.18.27
  • github.com/aws/aws-sdk-go-v2/service/amp 1.16.11
  • github.com/aws/aws-sdk-go-v2/service/apigateway 1.13.13
  • github.com/aws/aws-sdk-go-v2/service/autoscaling 1.28.9
  • github.com/aws/aws-sdk-go-v2/service/cloudwatch 1.26.1
  • github.com/aws/aws-sdk-go-v2/service/databasemigrationservice 1.25.7
  • github.com/aws/aws-sdk-go-v2/service/ec2 1.100.0
  • github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi 1.14.14
  • github.com/aws/aws-sdk-go-v2/service/storagegateway 1.18.14

Updates:

  • Bump alpine from 3.17.3 to 3.18.2
  • Bump github.com/aws/aws-sdk-go from 1.44.249 to 1.44.284
  • Bump github.com/prometheus/common from 0.42.0 to 0.43.0
  • Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.3
  • Bump github.com/stretchr/testify from 1.8.2 to 1.8.4
  • Bump github.com/urfave/cli/v2 from 2.25.1 to 2.25.6
  • Bump golang.org/x/sync from 0.1.0 to 0.3.0
  • Bump golangci/golangci-lint-action from 3.4.0 to 3.6.0

Full Changelog: v0.51.0...v0.52.0

v0.51.0

26 Apr 15:59
3c055cf
Compare
Choose a tag to compare

Important breaking changes

  • Jobs of type customNamespace are deprecated and might be removed in a future release (please reach out if you're still using this feature)

Bugfixes and features

Features:

  • Add feature flags support by @thepalbi
  • Feature flag max-dimensions-associator: new resource-matching algorithm for discovery jobs. It fixes metrics attribution for ECS. Please test it out and report any issue!
  • Feature flag list-metrics-callback: reduce memory usage of ListMetrics API requests

Services:

Docs:

Bugs:

  • Fix for Dockerfile smell DL3007 by @grosa1

Refactoring:

Dependencies

  • Bump github.com/aws/aws-sdk-go from 1.44.235 to 1.44.249
  • Bump github.com/prometheus/common from 0.41.0 to 0.42.0

Full Changelog: v0.50.0...v0.51.0

v0.50.0

06 Apr 13:17
b92aa80
Compare
Choose a tag to compare

Important breaking changes

  • Change UpdateMetrics signature to accept options and return error by @cristiangreco -- if you embed YACE as a Go library this is a breaking change.

Bugfixes and features
Features:

  • Refactor API clients concurrency handling by @cristiangreco
  • Add feature flags support by @thepalbi
  • Allow discovery jobs to return result even if there are no resources by @kgeckhart
  • Add flag to enable pprof profiling endpoints by @cristiangreco

Services:

  • Add a ResourceFilter to ElasticBeanstalk by @benbridts

Docs:

Refactoring:

Dependencies

  • Bump actions/setup-go from 3 to 4
  • Bump github.com/aws/aws-sdk-go from 1.44.215 to 1.44.235
  • Bump github.com/urfave/cli/v2 from 2.25.0 to 2.25.1

Full Changelog: v0.49.2...v0.50.0

v0.49.2

08 Mar 20:59
091c8a2
Compare
Choose a tag to compare

v0.49.2

Bugfixes and features

  • Update release action to use goreleaser docker image v1.16.0

v0.49.1

08 Mar 20:21
f40285d
Compare
Choose a tag to compare

v0.49.1

Bugfixes and features

  • Update release action to use Go 1.20