1 QA output created by 259
5 derived.inst = delta(sample.longlong.million)
7 derived.ctr = delta(sampledso.recv_pdu)
9 pmRegisterDerived: register metric[0] event.flags = anon(PM_TYPE_U32)
10 pmRegisterDerived: register metric[1] event.missed = anon(PM_TYPE_U32)
11 Derived metric initialization from $PCP_DERIVED_CONFIG
12 pmLoadDerivedConfig("TMP.config")
13 pmRegisterDerived: register metric[2] derived.inst = delta(sample.longlong.million)
14 pmRegisterDerived: register metric[3] derived.ctr = delta(sampledso.recv_pdu)
15 __dmopencontext: bind metric[0] event.flags
16 __dmopencontext: bind metric[1] event.missed
17 __dmgetpmid: metric "derived.inst" -> PMID 511.0.3
18 __dmopencontext: bind metric[2] derived.inst
19 __dmgetpmid: metric "derived.ctr" -> PMID 511.0.4
20 __dmopencontext: bind metric[3] derived.ctr
22 TIMESTAMP ... numpmid: 1
23 2.0.21 (pmcd.hostname): numval: 1 valfmt: 1 vlist[]:
25 Note: timezone set to "TZ=UTC"
27 __dmgetpmid: metric "derived.inst" -> PMID 511.0.3
30 semantics: instantaneous value
34 derived metrics prefetch added 1 metrics: 29.0.23
35 __dmpostfetch: [0] root node 511.0.3: numval=0
36 expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0
37 PMID: PM_ID_NULL (511.0.3 from pmDesc) numval: 0
38 Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff
39 Semantics: instant Units: none
40 expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [sample.longlong.million] master=0
41 PMID: 29.0.23 (29.0.23 from pmDesc) numval: 1
42 Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff
43 Semantics: instant Units: none
44 [0] inst=-1, val=<number>
46 TIMESTAMP ... numpmid: 1
47 511.0.3 (derived.inst): No values returned!
49 derived metrics prefetch added 1 metrics: 29.0.23
50 __dmpostfetch: [0] root node 511.0.3: numval=1 vset[0]: inst=-1 ll=0
51 expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0
52 PMID: PM_ID_NULL (511.0.3 from pmDesc) numval: 1
53 Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff
54 Semantics: instant Units: none
55 [0] inst=-1, val=<number>
56 expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [sample.longlong.million] master=0
57 PMID: 29.0.23 (29.0.23 from pmDesc) numval: 1
58 Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff
59 Semantics: instant Units: none
60 [0] inst=-1, val=<number> (last inst=-1, val=<number>)
62 TIMESTAMP ... numpmid: 1
63 511.0.3 (derived.inst): numval: 1 valfmt: 1 vlist[]:
66 derived metrics prefetch added 1 metrics: 29.0.23
67 __dmpostfetch: [0] root node 511.0.3: numval=1 vset[0]: inst=-1 ll=0
68 expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0
69 PMID: PM_ID_NULL (511.0.3 from pmDesc) numval: 1
70 Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff
71 Semantics: instant Units: none
72 [0] inst=-1, val=<number>
73 expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [sample.longlong.million] master=0
74 PMID: 29.0.23 (29.0.23 from pmDesc) numval: 1
75 Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff
76 Semantics: instant Units: none
77 [0] inst=-1, val=<number> (last inst=-1, val=<number>)
79 TIMESTAMP ... numpmid: 1
80 511.0.3 (derived.inst): numval: 1 valfmt: 1 vlist[]:
83 derived metrics prefetch added 1 metrics: 29.0.23
84 __dmpostfetch: [0] root node 511.0.3: numval=1 vset[0]: inst=-1 ll=0
85 expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0
86 PMID: PM_ID_NULL (511.0.3 from pmDesc) numval: 1
87 Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff
88 Semantics: instant Units: none
89 [0] inst=-1, val=<number>
90 expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [sample.longlong.million] master=0
91 PMID: 29.0.23 (29.0.23 from pmDesc) numval: 1
92 Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff
93 Semantics: instant Units: none
94 [0] inst=-1, val=<number> (last inst=-1, val=<number>)
96 TIMESTAMP ... numpmid: 1
97 511.0.3 (derived.inst): numval: 1 valfmt: 1 vlist[]:
101 pmRegisterDerived: register metric[0] event.flags = anon(PM_TYPE_U32)
102 pmRegisterDerived: register metric[1] event.missed = anon(PM_TYPE_U32)
103 Derived metric initialization from $PCP_DERIVED_CONFIG
104 pmLoadDerivedConfig("TMP.config")
105 pmRegisterDerived: register metric[2] derived.inst = delta(sample.longlong.million)
106 pmRegisterDerived: register metric[3] derived.ctr = delta(sampledso.recv_pdu)
107 __dmopencontext: bind metric[0] event.flags
108 __dmopencontext: bind metric[1] event.missed
109 __dmgetpmid: metric "derived.inst" -> PMID 511.0.3
110 __dmopencontext: bind metric[2] derived.inst
111 __dmgetpmid: metric "derived.ctr" -> PMID 511.0.4
112 __dmopencontext: bind metric[3] derived.ctr
114 TIMESTAMP ... numpmid: 1
115 2.0.21 (pmcd.hostname): numval: 1 valfmt: 1 vlist[]:
117 Note: timezone set to "TZ=UTC"
119 __dmgetpmid: metric "derived.ctr" -> PMID 511.0.4
122 semantics: instantaneous value
126 derived metrics prefetch added 1 metrics: 30.0.41
127 __dmpostfetch: [0] root node 511.0.4: numval=0
128 expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0
129 PMID: PM_ID_NULL (511.0.4 from pmDesc) numval: 0
130 Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
131 Semantics: instant Units: count
132 expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [sampledso.recv_pdu] master=0
133 PMID: 30.0.41 (30.0.41 from pmDesc) numval: 1
134 Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
135 Semantics: counter Units: count
136 [0] inst=-1, val=<number>
138 TIMESTAMP ... numpmid: 1
139 511.0.4 (derived.ctr): No values returned!
141 derived metrics prefetch added 1 metrics: 30.0.41
142 __dmpostfetch: [0] root node 511.0.4: numval=1 vset[0]: inst=-1 u=1
143 expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0
144 PMID: PM_ID_NULL (511.0.4 from pmDesc) numval: 1
145 Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
146 Semantics: instant Units: count
147 [0] inst=-1, val=<number>
148 expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [sampledso.recv_pdu] master=0
149 PMID: 30.0.41 (30.0.41 from pmDesc) numval: 1
150 Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
151 Semantics: counter Units: count
152 [0] inst=-1, val=<number> (last inst=-1, val=<number>)
154 TIMESTAMP ... numpmid: 1
155 511.0.4 (derived.ctr): numval: 1 valfmt: 0 vlist[]:
158 derived metrics prefetch added 1 metrics: 30.0.41
159 __dmpostfetch: [0] root node 511.0.4: numval=1 vset[0]: inst=-1 u=1
160 expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0
161 PMID: PM_ID_NULL (511.0.4 from pmDesc) numval: 1
162 Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
163 Semantics: instant Units: count
164 [0] inst=-1, val=<number>
165 expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [sampledso.recv_pdu] master=0
166 PMID: 30.0.41 (30.0.41 from pmDesc) numval: 1
167 Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
168 Semantics: counter Units: count
169 [0] inst=-1, val=<number> (last inst=-1, val=<number>)
171 TIMESTAMP ... numpmid: 1
172 511.0.4 (derived.ctr): numval: 1 valfmt: 0 vlist[]:
175 derived metrics prefetch added 1 metrics: 30.0.41
176 __dmpostfetch: [0] root node 511.0.4: numval=1 vset[0]: inst=-1 u=1
177 expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0
178 PMID: PM_ID_NULL (511.0.4 from pmDesc) numval: 1
179 Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
180 Semantics: instant Units: count
181 [0] inst=-1, val=<number>
182 expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [sampledso.recv_pdu] master=0
183 PMID: 30.0.41 (30.0.41 from pmDesc) numval: 1
184 Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
185 Semantics: counter Units: count
186 [0] inst=-1, val=<number> (last inst=-1, val=<number>)
188 TIMESTAMP ... numpmid: 1
189 511.0.4 (derived.ctr): numval: 1 valfmt: 0 vlist[]:
193 Errors and empty results here ...
197 myname.c = delta(sample.long.one + sample.long.hundred)
198 myname.d = delta(12345)
200 pmRegisterDerived: register metric[0] event.flags = anon(PM_TYPE_U32)
201 pmRegisterDerived: register metric[1] event.missed = anon(PM_TYPE_U32)
202 Derived metric initialization from $PCP_DERIVED_CONFIG
203 pmLoadDerivedConfig("TMP.config")
204 [TMP.config:1] Error: pmRegisterDerived(myname.a, ...) syntax error
208 pmRegisterDerived: register metric[2] myname.b = delta + 3
209 [TMP.config:3] Error: pmRegisterDerived(myname.c, ...) syntax error
210 delta(sample.long.one + sample.long.hundred)
213 [TMP.config:4] Error: pmRegisterDerived(myname.d, ...) syntax error
217 __dmopencontext: bind metric[0] event.flags
218 __dmopencontext: bind metric[1] event.missed
219 __dmgetpmid: metric "myname.b" -> PMID 511.0.3
220 __dmgetpmid: metric "delta" -> Unknown metric name
221 bind_expr: error: derived metric myname.b: operand: delta: Unknown metric name
223 TIMESTAMP ... numpmid: 1
224 2.0.21 (pmcd.hostname): numval: 1 valfmt: 1 vlist[]:
226 Note: timezone set to "TZ=UTC"
228 __dmgetpmid: metric "myname" -> Unknown metric name
229 pmval: pmLookupName(myname): Unknown metric name