opentelemetry-java icon indicating copy to clipboard operation
opentelemetry-java copied to clipboard

[enh] Make maxAccumulations configurable and add remove method for meters

Open tjiuming opened this issue 1 year ago • 2 comments

Motivation:

  1. Currently, a meter(COUNTER/GAUGE/HISTOGRAM, etc.) could only have 2000 children, which means it couldn't cover some situations (such as there are 10000 topics in a broker, and they all have a COUNTER named publish_messages_count).
  2. For a meter, I think it should have a remove method to discard unused ACCUMULATIONS. (such as a user deletes a broker, so we need to remove it from publish_messages_count).

tjiuming avatar Jul 29 '22 06:07 tjiuming

CLA Not Signed

  • :x: - login: @dao-jun / name: 道君 . The commit (e8e672e9bd7488e68fef0d33925c54b78a273b9a, 022a5ef0451050f6dc6094e927a59f9f3a447c8a, 3f954ef25a6a592eb73375f71e02172d96a0a7d4, 11acd0ade678c67a4ca0746d7b0a97650b1327b7, c82dbcc46ced55395324332b3015c25b5faef81f) is not authorized under a signed CLA. Please click here to be authorized. For further assistance with EasyCLA, please submit a support request ticket.

I'll fix the CI failures later if the PR is acceptable.

tjiuming avatar Jul 29 '22 07:07 tjiuming

This PR was marked stale due to lack of activity. It will be closed in 14 days.

github-actions[bot] avatar Aug 12 '22 19:08 github-actions[bot]

Closed as inactive. Feel free to reopen if this PR is still being worked on.

github-actions[bot] avatar Aug 26 '22 19:08 github-actions[bot]