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
Copy file name to clipboardExpand all lines: README.md
+13-11Lines changed: 13 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -210,9 +210,9 @@ All metrics have predefined structure: domain, subdomain, name, units:
210
210
211
211
-**Domain** - the first single-word prefix that represents a metric type. The examples of domain-level prefixes are: system, mq, mqobject and etc. More information can be found in ["Domains and subdomains" section](#domains-and-subdomains).
212
212
-**Subdomain** - second single-word prefix representation of a metric type. It provides more specific information about metric type and helps to differentiate metrics in a single domain. The examples of subdomain-level prefixes are: cpu, ram, put, subscribe, get and etc. More information can be found in ["Domains and subdomains" section](#domains-and-subdomains).
213
-
-**Units** - single-word suffix describing the metric's unit, in plural form. Note that an accumulating count has "total" as the first part of a suffix. The examples of unit suffixes are: percentage, hundredths, messages, totalmessages and etc. More information can be found in ["Units" section](#units).
213
+
-**Units** - single-word suffix describing the metric's unit, in plural form. Note that an accumulating count has "total" as the first part of a suffix. The examples of unit suffixes are: percentage, messages, totalmessages and etc. More information can be found in ["Units" section](#units).
214
214
-**Name** - represents metric meaning. The examples of a metric name are: cpu_time, cpu_load_fifteen_minute_average, failed_mqget_count and etc. Note that the amount of words in a metric name can vary:
@@ -366,10 +366,6 @@ This section provides a description of metric units.<br/>
366
366
<td>Shows %</td>
367
367
</tr>
368
368
<tr>
369
-
<td>hundredths</td>
370
-
<td>Shows amount of hundredths. For example, "370 hundredths" equals to "3.70". It is used to reflect system's load average and LISTENER\CHANNEL status codes.</td>
371
-
</tr>
372
-
<tr>
373
369
<td>megabytes</td>
374
370
<td>Shows amount of megabytes</td>
375
371
</tr>
@@ -421,9 +417,15 @@ This section provides a description of metric units.<br/>
421
417
<td>messages</td>
422
418
<td>Shows amount of messages.</td>
423
419
</tr>
420
+
<tr>
421
+
<td>untyped</td>
422
+
<td>If it's not obvious, what the type of metric is, then this type is used (for example, it is used, to reflect system's load average and LISTENER\CHANNEL status codes). </td>
423
+
</tr>
424
424
</tbody>
425
425
</table>
426
426
427
+
428
+
427
429
### Metrics list
428
430
#### CPU metrics
429
431
###### CPU performance metrics - platform wide
@@ -450,19 +452,19 @@ This section provides a description of CPU- and RAM-related metrics.
<td>Shows current listener status. Mapping of listener statuses to prometheus metric values can be found <ahref="#listener-status-mapping">here</a>.</td>
metrics.put(MQObject.MQType.QUEUE, newAdditionalMetric("mqobject_queue_queue_max_depth_messages", "The maximum number of messages that are allowed on the queue"));
128
-
metrics.put(MQObject.MQType.CHANNEL, newAdditionalMetric("mqobject_channel_channel_status_hundredths", "The status of the channel"));
129
-
metrics.put(MQObject.MQType.LISTENER, newAdditionalMetric("mqobject_listener_listener_status_hundredths", "The status of the listener"));
128
+
metrics.put(MQObject.MQType.CHANNEL, newAdditionalMetric("mqobject_channel_channel_status_untyped", "The status of the channel"));
129
+
metrics.put(MQObject.MQType.LISTENER, newAdditionalMetric("mqobject_listener_listener_status_untyped", "The status of the listener"));
0 commit comments