Skip to content

Commit 3b21945

Browse files
Prepare changelog for 0.59.0 (#1390)
Co-authored-by: kgeckhart <[email protected]>
1 parent 82d189f commit 3b21945

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,53 @@ Refactoring:
2828

2929
**Full Changelog**: https://github.com/...
3030

31+
# 0.59.0
32+
33+
**Important news and breaking changes**
34+
35+
This release brings a bunch of breaking changes:
36+
* Setting `roundingPeriod` for 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 for `roundingPeriod` can 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](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html). This has the potential to produce data which will look inaccurate when compared against CloudWatch itself driving a lot of confusion. See https://github.com/nerdswords/yet-another-cloudwatch-exporter/issues/1290 for further context.
37+
* Setting `delay` at the metric level is deprecated, a warning will be logged at startup. This `delay` configuration has existed for a long time but was never utilized. Deprecating it and eventually removing it was chosen to simplify the configuration. See https://github.com/nerdswords/yet-another-cloudwatch-exporter/issues/1290#issuecomment-1948904375 for further context.
38+
* For discovery jobs, the `type` field and the keys of `exportedTagsOnMetrics` must 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.
39+
* Some metric names have been changed to avoid duplicating the namespace. This includes:
40+
- `aws_es_esreporting_failed_request_sys_err_count` is `aws_es_reporting_failed_request_sys_err_count`
41+
- `aws_es_esreporting_failed_request_user_err_count` is `aws_es_reporting_failed_request_user_err_count`
42+
- `aws_es_esreporting_request_count` is `aws_es_reporting_request_count`
43+
- `aws_es_esreporting_success_count` is `aws_es_reporting_success_count`
44+
- `aws_kafka_kafka_app_logs_disk_used` is `aws_kafka_app_logs_disk_used`
45+
- `aws_kafka_kafka_data_logs_disk_used` is `aws_kafka_data_logs_disk_used`
46+
- `aws_rds_rdsto_aurora_postgre_sqlreplica_lag` is `aws_rds_to_aurora_postgre_sqlreplica_lag`
47+
- `aws_glue_glue_.*` is `aws_glue_.*`
48+
49+
These breaking changes will allow making the configuration easier to understand and less error prone, and also to build better documentation around supported services.
50+
51+
**Bugfixes and features**
52+
53+
Features:
54+
* Add AWS/SecretsManager to the services list by @taraspos
55+
* Support partner events buses by @HristoStoyanovYotpo
56+
* `discovery.exportedTagsOnMetrics`: validate that keys match one of the job types defined by @cristiangreco
57+
58+
Refactoring:
59+
* Update comment in factory.go by @andriikushch
60+
* getmetricdata: move window calculator to processor by @kgeckhart
61+
* promutil: clean up prom metric names that duplicate parts of the namespace by @tristanburgess
62+
* promutil: rewrite sanitisation funcs for memory optimisation by @cristiangreco
63+
* Do not allow using aliases as job types in discovery jobs by @cristiangreco
64+
65+
**Dependencies**
66+
67+
* Bump github.com/aws/aws-sdk-go from 1.51.16 to 1.51.21
68+
* Bump github.com/aws/aws-sdk-go-v2 group
69+
* Bump github.com/prometheus/common from 0.52.2 to 0.52.3
70+
71+
**New contributors**
72+
73+
* @taraspos made their first contribution in https://github.com/nerdswords/yet-another-cloudwatch-exporter/pull/1330
74+
* @HristoStoyanovYotpo made their first contribution in https://github.com/nerdswords/yet-another-cloudwatch-exporter/pull/1359
75+
76+
**Full Changelog**: https://github.com/nerdswords/yet-another-cloudwatch-exporter/compare/v0.58.0...v0.59.0
77+
3178
# 0.58.0
3279

3380
**Bugfixes and features**

0 commit comments

Comments
 (0)