You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| **streams_operator_ip_**|streams operator input port metrics|
266
266
| **streams_operator_op_**|streams operatore output port metrics|
267
267
268
+
### Sanitization
269
+
Metric names are sanitized (fixed) to meet Prometheus naming conventions. This is usually not required for 99% of IBM Streams metrics, however, since IBM Streams allows special characters and white space in metric names the following conversion rules are implemented:
270
+
271
+
* Replace series of one or more whitespaces with underscore (_)
272
+
* Remove any special characters
273
+
274
+
An example would be the metric "streams_operator_nItemsQueued (port 2)" would become "streams_operator_nItemsQueued_port_2"
275
+
268
276
## Metric Labels
269
277
The prometheus metric names are not specific to streams objects (e.g. a specific job), rather, they are for an object type (e.g. operator input port). The labels are used to identify the individual instances (e.g. job: job_1, operator: myBeacon, input port: StockTickersIn).
270
278
Note: the streams-metric-exporter resolves operator input and output ports to names rather than indexes. This is easier for use in queries.
0 commit comments