/var/lib/pcp/testsuite/1342.out is in pcp-testsuite 4.0.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | QA output created by 1342
Waiting for pmcd to terminate ...
=== prometheus agent installation ===
=== URL configuration file contains
file://QA_DIR/prometheus/samples/simple_metric.txt
# this is a comment and the next line is blank
# basic standard headers
HEADER: Accept: text/html
HEADER: Keep-Alive: 300
HEADER: Connection: keep-alive
# header with two words in the value
HEADER: Authorization: bearer ababbdbbebbbebdbbe5538003023
# header with multiple words in the value and colons and spaces
HEADER: Someheader: has: colons: and spaces in: it!!!!!!
# various headers with assorted characters
HEADER: Accept-Language: en-us,en;q=0.5
HEADER: Accept-Encoding: gzip,deflate
HEADER: Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
# Filter to include metric1 and exclude all other metrics
# note: these are anchored regex matches (whole metric name must match)
FILTER: INCLUDE METRIC prometheus.*metric1
FILTER: EXCLUDE METRIC .*
# unrecognized keyword
SOMECRAP: unrecognised
=== pminfo listing. Note prometheus.simple_metric.metric2 should be filtered out
prometheus.simple_metric.metric1 [Simple gauge metric with three instances]
Data Type: double InDom: 144.5120 0x24001400
Semantics: instant Units: none
Help:
Simple gauge metric with three instances
inst [0 or "0 abc:0"] value 456
inst [1 or "1 def:123"] value 123
inst [2 or "2 hig:246 xyz:something"] value 128
== Note: check 1342.full for log entries for the expected headers
=== remove prometheus agent ===
Culling the Performance Metrics Name Space ...
prometheus ... done
Updating the PMCD control file, and notifying PMCD ...
[...removing files...]
Check prometheus metrics have gone away ... OK
|