Skip to content

Remove emitting the entry key with the METRICS_WRITE_ERROR metric#71

Merged
sruti1312 merged 1 commit intomainfrom
feature/remove-metruc
Sep 21, 2021
Merged

Remove emitting the entry key with the METRICS_WRITE_ERROR metric#71
sruti1312 merged 1 commit intomainfrom
feature/remove-metruc

Conversation

@sruti1312
Copy link
Copy Markdown
Contributor

@sruti1312 sruti1312 commented Sep 20, 2021

Signed-off-by: Sruti Parthiban partsrut@amazon.com

Is your feature request related to a problem? Please provide an existing Issue # , or describe.
There is an increase in cardinality of metrics due to a recently added metric MetricsWriteError which always has unique dimension value for field Instance as it includes timestamp and the threadId. This value was emitted continuously due a known bug causing the pa.plugin.stats file to grow really large. This bug is currently fixed in main

Describe the solution you are proposing
Alter to remove emitting the entry key with the METRICS_WRITE_ERROR metric.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Sruti Parthiban <partsrut@amazon.com>
@sruti1312 sruti1312 merged commit 43c0915 into main Sep 21, 2021
@sruti1312 sruti1312 deleted the feature/remove-metruc branch September 21, 2021 18:01
@sruti1312 sruti1312 restored the feature/remove-metruc branch September 21, 2021 20:22
@sruti1312 sruti1312 deleted the feature/remove-metruc branch September 21, 2021 20:26
sruti1312 added a commit that referenced this pull request Sep 23, 2021
* Remove emitting the entry key with the METRICS_WRITE_ERROR metric (#71)

Signed-off-by: Sruti Parthiban <partsrut@amazon.com>

* Update commons-io version

Signed-off-by: Sruti Parthiban <partsrut@amazon.com>
sruti1312 added a commit that referenced this pull request Sep 27, 2021
* Remove emitting the entry key with the METRICS_WRITE_ERROR metric (#71)

Signed-off-by: Sruti Parthiban <partsrut@amazon.com>

* Update commons-io version (#73)

Signed-off-by: Sruti Parthiban <partsrut@amazon.com>

* AdmissionControl Split RCA (#69)

Signed-off-by: Mital Awachat <awachatm@amazon.com>

Co-authored-by: Mital Awachat <awachatm@amazon.com>

Co-authored-by: Sruti Parthiban <partsrut@amazon.com>
Co-authored-by: Mital Awachat <awachatm@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants