-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix Prometheus recording rules to not use legacy metric names. #13718
Changes from 5 commits
e708b05
8027fff
8ddb4dd
3bd3255
9deaf2f
2d62260
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add experimental configuration option to allow disabling legacy Prometheus metric names. |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,12 +62,12 @@ | |
logger = logging.getLogger(__name__) | ||
|
||
sent_pdus_destination_dist_count = Counter( | ||
"synapse_federation_client_sent_pdu_destinations:count", | ||
"synapse_federation_client_sent_pdu_destinations_count", | ||
"Number of PDUs queued for sending to one or more destinations", | ||
) | ||
|
||
sent_pdus_destination_dist_total = Counter( | ||
"synapse_federation_client_sent_pdu_destinations:total", | ||
"synapse_federation_client_sent_pdu_destinations", | ||
"Total number of PDUs queued for sending across all destinations", | ||
Comment on lines
-65
to
71
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Any way to check if we've missed any others? I guess grep for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should have thought of that; suppose I never really twigged that they all have a convenient Found another pair of sneaky ones ... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I'm just guessing here!! Could also grep for something like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Conventionally we definitely are meant to use an easily-recognised prefix like |
||
) | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.