-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore: Add flag to skip legacy duplicate telemetry #4
base: main
Are you sure you want to change the base?
Conversation
Currently we have some legacy metrics with `peer_id` in the metrics suffix (in addition to same metrics with `peer_id`d as label) 1. `raft_replication_appendEntries_rpc_peer0` 2. `raft_replication_appendEntries_logs_peer0` 3. `raft_replication_heartbeat_peer0` 4. `raft_replication_installSnapshot_peer0` These metrics may have additional `_count` or `_sum` metrics. And each metrics are multiplicative. Meaning if I have 10 peers, these metrics will be 10x. This PR adds a flag `noLegacyTelemetry` (default: false) which by setting to `true` you can skip those duplicate metrics. Signed-off-by: Kaviraj <[email protected]>
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.
Orca Security Scan Summary
Status | Check | Issues by priority | |
---|---|---|---|
Passed | Infrastructure as Code | 0 0 0 0 | View in Orca |
Passed | Secrets | 0 0 0 0 | View in Orca |
Passed | Vulnerabilities | 0 0 0 0 | View in Orca |
Signed-off-by: Kaviraj <[email protected]>
Signed-off-by: Kaviraj <[email protected]>
To avoid any confusion in the future about your contribution to Weaviate, we work with a Contributor License Agreement. If you agree, you can simply add a comment to this PR that you agree with the CLA so that we can merge. |
Signed-off-by: Kaviraj <[email protected]>
Co-authored-by: Piotr Kazmierczak <[email protected]>
Merge this PR first. That syncs the
main
with upstreamCurrently we have some legacy metrics with
peer_id
in the metrics suffix (in addition to same metrics withpeer_id
d as label)raft_replication_appendEntries_rpc_peer0
raft_replication_appendEntries_logs_peer0
raft_replication_heartbeat_peer0
raft_replication_installSnapshot_peer0
These metrics may have additional
_count
or_sum
metrics. And each metrics are multiplicative. Meaning if I have 10 peers, these metrics will be 10x.This PR adds a flag
noLegacyTelemetry
(default: false) which by setting totrue
you can skip those duplicate metrics.Before
After