Fix ServerMonitor thread name JAVA-6135#1861
Conversation
eee760d to
2430acf
Compare
690110d to
bf13f7e
Compare
bf13f7e to
4aa0777
Compare
4aa0777 to
63a6d20
Compare
Current thread name is verbose and breaks integration with monitoring tools which prohibit `=` in label values
63a6d20 to
02203ac
Compare
@raipc, could you please provide more detains about the above, and clarify what you mean by "label values"? |
When this thread name is collected via JMX and fed into monitoring systems as a label or tag value (e.g. in metrics like Graphite — uses . as hierarchy separator and does not allow |
|
@raipc thanks for suggestion , as graphite treats let me check with the team if server address (dot separated) adds any value , maybe it could be removed so that we can keep |
strogiyotec
left a comment
There was a problem hiding this comment.
thanks for finding this out
Current thread name is verbose and breaks integration with monitoring tools which prohibit
=in label values.Old name example:
cluster-ClusterId{value='67664b095dd867448cefc455', description='null'}-db.example.com:27017New name:
cluster-67664b095dd867448cefc455-db.example.com:27017