streams-metric-exporter 1.2.0
Bug Fix
- Sanitize metrics generated for prometheus based on streams metrics
Details
Prometheus does not handle special characters in metric names except for (underscore) and (colon). In Streams 4.3, the ThreadedSplit creates a metric named "streams_operator_nItemsQueued (port x)". This is not a valid prometheus metric and in prior version of streams-metric-exporter will cause a crash.
This fix sanitizes metrics to be valid. See the README.md for more details.