pcp
[Top] [All Lists]

[Bug 1337212] New: derived metrics between singleton and indom' d metri

To: pcp@xxxxxxxxxxx
Subject: [Bug 1337212] New: derived metrics between singleton and indom' d metrics result in bad result indom
From: bugzilla@xxxxxxxxxx
Date: Wed, 18 May 2016 13:51:48 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
https://bugzilla.redhat.com/show_bug.cgi?id=1337212

            Bug ID: 1337212
           Summary: derived metrics between singleton and indom'd metrics
                    result in bad result indom
           Product: Red Hat Enterprise Linux 7
           Version: 7.2
         Component: pcp
          Severity: medium
          Priority: medium
          Assignee: nathans@xxxxxxxxxx
          Reporter: mlinden@xxxxxxxxxx
        QA Contact: qe-baseos-tools@xxxxxxxxxx
                CC: brolley@xxxxxxxxxx, fche@xxxxxxxxxx, lberk@xxxxxxxxxx,
                    mgoodwin@xxxxxxxxxx, myllynen@xxxxxxxxxx,
                    nathans@xxxxxxxxxx, pcp@xxxxxxxxxxx, scox@xxxxxxxxxx
        Depends On: 1336130
             Group: private



+++ This bug was initially created as a clone of Bug #1336130 +++

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.

--- Additional comment from Frank Ch. Eigler on 2016-05-14 10:13 EDT ---


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1336130
[Bug 1336130] derived metrics between singleton and indom'd metrics result
in bad result indom
-- 
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=RUv3AaWnCL&a=cc_unsubscribe
<Prev in Thread] Current Thread [Next in Thread>