https://bugzilla.redhat.com/show_bug.cgi?id=1336130
Bug ID: 1336130
Summary: derived metrics between singleton and indom'd metrics
result in bad result indom
Product: Fedora
Version: rawhide
Component: pcp
Assignee: nathans@xxxxxxxxxx
Reporter: fche@xxxxxxxxxx
QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
CC: brolley@xxxxxxxxxx, fche@xxxxxxxxxx, lberk@xxxxxxxxxx,
mgoodwin@xxxxxxxxxx, myllynen@xxxxxxxxxx,
nathans@xxxxxxxxxx, pcp@xxxxxxxxxxx, scox@xxxxxxxxxx
Created attachment 1157490
--> https://bugzilla.redhat.com/attachment.cgi?id=1157490&action=edit
possible patch
Let x.conf be a file
x = kernel.all.uptime - proc.psinfo.start_time
Let the command to run be
env PCP_DERIVED_CONFIG=/path/to/x.conf pminfo -f x
Observe output
x
value 1008990.98
value 1008990.98
value 1008990.97
value 1008990.97
value 1008990.97
value 1008990.97
[...]
Observe absence of instances. Let the next command to run be
env PCP_DERIVED_CONFIG=/path/to/x.conf pminfo -d x
Observe output:
x
Data Type: double InDom: PM_INDOM_NULL 0xffffffff
Semantics: instant Units: sec
Observe mismatch: InDom should have been the indom of the right operand
(proc.psinfo.start_time).
Examine libpcp/src/derive.c, find bugs.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=Pp8IQQFd8g&a=cc_unsubscribe
|