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
|