1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
QA output created by 1306
=== openmetrics agent installation ===
=== URL configuration file contains
file://TMP.labelfiltering.txt
# Filter to remove the "uninteresting" label
FILTER: EXCLUDE LABEL uninteresting
# Filter to remove all labels in metric2, thus it becomes singular
FILTER: EXCLUDE LABEL removeme
# Filter to exclude label "def" hence metric3 has duplicate instances
FILTER: EXCLUDE LABEL def
#
# *** NOTE: optional labels are not implemented yet
# Filter to flag some_optional_label as optional in metric4
# (an optional label is not present in instance name, but still included as a label for the metric)
# FILTER: OPTIONAL LABEL some_optional_label
# implicit final rule includes all labels not matching anything above
# (this implicit rule is listed here just for testing purposes)
FILTER: INCLUDE .*
=== pminfo listing. Note some labels in the pminfo listing have been removed, see _filter
openmetrics.labelfiltering.metric1
labels {"agent":"openmetrics","foo":"abc","source":"labelfiltering"}
inst [0 or "0 foo:abc"] value 1
inst [0 or "0 foo:abc"] labels {"agent":"openmetrics","foo":"abc","source":"labelfiltering"}
openmetrics.labelfiltering.metric2
labels {"agent":"openmetrics","source":"labelfiltering"}
value 8
openmetrics.labelfiltering.metric3
labels {"abc":"0","agent":"openmetrics","source":"labelfiltering"}
inst [0 or "0 abc:0"] value 458
inst [0 or "0 abc:0"] labels {"abc":"0","agent":"openmetrics","source":"labelfiltering"}
openmetrics.labelfiltering.metric4
labels {"agent":"openmetrics","someoptionallabel":"not in instance name","source":"labelfiltering","xyz":"0"}
inst [0 or "0 someoptionallabel:not in instance name xyz:0"] value 456
inst [0 or "0 someoptionallabel:not in instance name xyz:0"] labels {"agent":"openmetrics","someoptionallabel":"not in instance name","source":"labelfiltering","xyz":"0"}
openmetrics.labelfiltering.singular_metric
labels {"agent":"openmetrics","source":"labelfiltering"}
value 9
== Note: check 1306.full for details
=== remove openmetrics agent ===
Culling the Performance Metrics Name Space ...
openmetrics ... done
Updating the PMCD control file, and notifying PMCD ...
[...removing files...]
Check openmetrics metrics have gone away ... OK
|