pcp
[Top] [All Lists]

pcp updates: merge frank's json pmda bugfix

To: pcp <pcp@xxxxxxxxxxx>
Subject: pcp updates: merge frank's json pmda bugfix
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Thu, 11 Jun 2015 10:10:20 +1000
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
Thanks David for the review, and QA discussion etc. In it goes :)

Changes committed to git://pcp.io/pcp master

Frank Ch. Eigler (1):
      json pmda: tolerate json array instances that are missing -> PM_ERR_INST

 src/pmdas/json/pmdajson.python |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Details ...

commit b202891bc4531d8b9b95f4cb6d0145c12f6d3898
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Mon Jun 8 20:34:39 2015 -0400

    json pmda: tolerate json array instances that are missing -> PM_ERR_INST

    Because of the caching of json array elements in the indom cache
    (/var/lib/pcp/config/pmda/137.*), it is easy to get the pmda machinery
    to recall indom entries that do not currently exist.  Prior to this
    patch, sending those indoms to the pmda fetch-handler resulted in
    needless error messages (and related slowdowns).  We now return the
    correct error (PM_ERR_INST) and don't log anything.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: merge frank's json pmda bugfix, Mark Goodwin <=