-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Aerospike 5.3 #8430
Support Aerospike 5.3 #8430
Conversation
c9ba485
to
3812cf4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇
# Also submit old latency names like `aerospike.namespace.latency.read_over_64ms` | ||
if bucket in [1, 8, 64]: | ||
latency_name = metric_name + '_over_{}ms'.format(str(bucket)) | ||
self.send(NAMESPACE_LATENCY_METRIC_TYPE, latency_name, latencies[i], tags) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we add this new tag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the legacy metrics are also tagged by the bucket:<num>
Co-authored-by: Ofek Lev <[email protected]>
Co-authored-by: Ofek Lev <[email protected]>
Co-authored-by: Ofek Lev <[email protected]>
Co-authored-by: Ofek Lev <[email protected]>
What does this PR do?
Parse versions and ensure skipping deprecated commands gracefully.
aerospike.namespace.latency.*_over*ms
metrics are now tagged by histogram bucket with generic name likeaerospike.namespace.latency.read
. Backwards compatibility is maintained for the old naming convention.Mark deprecated metrics in metadata.csv
Motivation
dcs
command removed in5.0
: https://www.aerospike.com/docs/reference/info/?show-removed=1#dcslatency
command removed in5.2
: https://www.aerospike.com/docs/reference/info/?show-removed=1#latencythroughput
command removed in5.1
: https://www.aerospike.com/docs/reference/info/?show-removed=1#throughputAdditional Notes
Review checklist (to be filled by reviewers)
changelog/
andintegration/
labels attached