The metrics in format for Prometheus might break, if the database name and/or collection name contains quotes. Unfortunately we sometimes have this sutation with our customers.
Expected Behavior
The metrics should contain correct escaping for quotes. We would also need this fix as part of the platform edition.
Current Behavior
Quotes are not escaped and prematurely end the metrics properties. This leads to a situation where Prometheus can't parse the metrics anymore and the Prometheus Target as a whole does not get collected anymore.
Context
We have missing metrics for pods in kubernetes with this kind of database / collection names.
Possible Implementation
I'll provide a PR shortly and link it to this issue.
The metrics in format for Prometheus might break, if the database name and/or collection name contains quotes. Unfortunately we sometimes have this sutation with our customers.
Expected Behavior
The metrics should contain correct escaping for quotes. We would also need this fix as part of the platform edition.
Current Behavior
Quotes are not escaped and prematurely end the metrics properties. This leads to a situation where Prometheus can't parse the metrics anymore and the Prometheus Target as a whole does not get collected anymore.
Context
We have missing metrics for pods in kubernetes with this kind of database / collection names.
Possible Implementation
I'll provide a PR shortly and link it to this issue.