pcp2influxdb is a PCP metric exporter. It relays metrics of the
pmns(5) to a designated InfluxDB database by periodically polling,
then copying/converting relevant numerical metrics across the
InfluxDB HTTP(S) protocols. Metric values are optionally scaled to a
given unit/scale, but are not rate-converted. Metric names are
somewhat canonicalized (mangled) to fit the InfluxDB namespace rules.
The data transfer will continue on a best-effort basis until the
program is interrupted. Temporary errors are ignored, but reported.
Multiple copies of this program may be run in parallel, to populate
different InfluxDB databases or subtrees, with different scaling or
Extract metrics from the specified pmcd(1) daemon, using a
host specification as described on PCPIntro(1). The default
Extract metrics from the given set of archives, which is a
comma-separated list of names, each of which may be the base
name of an archive or the name of a directory containing one
or more archives.
-L Extract metrics from the local context PCP PMDAs.
Specify the polling interval in seconds. If live, polling is
aligned to natural multiples of this interval. The default is
Set the time origin for archive scanning. The default is the
start of the set of archives.
Set the time finish for archive scanning. The default is the
end of the set of archives.
Set the maximum number of samples to relay. The default is
Specify the influxdb HTTP(S) address where the relayed data is
to be relayed. The default is http://localhost:8086.
Rescale the metrics to the given UNITS string, as parsed by
the pmParseUnitsStr(3) function. This must be dimensionally
consistent with the underlying PCP metric. The default is to
perform no scaling.
The name of the database to write to. Must exist already; will
not be created. Defaults to "pcp".
The username to use to authenticate to InfluxDB. Must have
write access on the database that metrics are written to.
The password to use to authenticate to InfluxDB that goes with
the given username.
A string of tags, in InfluxDB's format (i.e.
host=www.example.com,gpu=tesla). Not required, but
recommended to be enable richer querying and dashboard
Relay all numeric metrics nested at or below the given name in
the PMNS. This option may be repeated. This is a compulsory
option, having no default.
This page is part of the PCP (Performance Co-Pilot) project.
Information about the project can be found at ⟨http://www.pcp.io/⟩.
If you have a bug report for this manual page, send it to
firstname.lastname@example.org. This page was obtained from the project's upstream
Git repository ⟨git://git.pcp.io/pcp⟩ on 2017-03-13. If you discover
any rendering problems in this HTML version of the page, or you
believe there is a better or more up-to-date source for the page, or
you have corrections or improvements to the information in this
COLOPHON (which is not part of the original manual page), send a mail
Performance Co-Pilot PCP PCP2INFLUXDB(1)