diff options
Diffstat (limited to 'src/pmdas/systemd/pmns')
-rw-r--r-- | src/pmdas/systemd/pmns | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/pmdas/systemd/pmns b/src/pmdas/systemd/pmns new file mode 100644 index 0000000..b9e6487 --- /dev/null +++ b/src/pmdas/systemd/pmns @@ -0,0 +1,35 @@ +/* + * Metrics for systemd PMDA + * + * Copyright (c) 2012-2013 Red Hat Inc. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + */ + +systemd { + numclients SYSTEMD:0:0 + maxmem SYSTEMD:0:1 + journal +} + +systemd.journal { + records SYSTEMD:2:0 + records_raw SYSTEMD:2:1 + field + count SYSTEMD:2:2 + bytes SYSTEMD:2:3 +} + +systemd.journal.field { + cursor SYSTEMD:1:0 + string SYSTEMD:1:1 /* possibly a string */ + blob SYSTEMD:1:2 /* a binary blob */ +} |