pcp
[Top] [All Lists]

Re: pmda-systemd qa tweak

To: myllynen@xxxxxxxxxx
Subject: Re: pmda-systemd qa tweak
From: fche@xxxxxxxxxx (Frank Ch. Eigler)
Date: Mon, 14 Dec 2015 17:15:58 -0500
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <566D89E4.3010002@xxxxxxxxxx> (Marko Myllynen's message of "Sun, 13 Dec 2015 17:08:20 +0200")
References: <20151211210856.GA21055@xxxxxxxxxx> <566D89E4.3010002@xxxxxxxxxx>
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
Marko Myllynen <myllynen@xxxxxxxxxx> writes:

> [...]
> somewhat related to this, I wanted to check a real-world PMDA using
> aggregate and/or event data type (so something else than pmdasample).
> pmdasystemd has both but even after I configured it to run as root
> (journald is running as root on my system) I don't see any data with
> sudo pmval/pmevent for the following fields:
>
> systemd.journal.field.cursor
> systemd.journal.field.string
> systemd.journal.field.blob

There is a misunderstanding here of how pcp events are represented.
These metrics are not ones that you can directly fetch and expect
values of.  These metrics are instead *fields in an event record* when
you ask for a systemd.journal.record or systemd.journal.record_raw
metric.

This may make it clearer why it's nontrivial to support events in pmfg.

- FChE

<Prev in Thread] Current Thread [Next in Thread>