экспортер показателей pcp-to-influenxdb (pcp-to-influxdb metrics exporter)
Конфигурационный файл (Config file)
pcp2influxdb
uses a configuration file with overall syntax
described in pmrep.conf(5). The following options are common
with pmrep.conf
: version
, source
, speclocal
, derived
, header
,
globals
, samples
, interval
, type
, type_prefer
, ignore_incompat
,
names_change
, instances
, live_filter
, rank
, limit_filter
,
limit_filter_force
, invert_filter
, predicate
, omit_flat
,
precision
, precision_force
, count_scale
, count_scale_force
,
space_scale
, space_scale_force
, time_scale
, time_scale_force
.
The output
option is recognized but ignored for pmrep.conf
compatibility.
pcp2influxdb specific options
influx_server (string)
Specify the URL of InfluxDB server to send the metrics to.
Corresponding command line option is -g
. Default is
http://127.0.0.1:8086
.
influx_db (string)
Specify the metrics database. Corresponding command line
option is -x
. Default is pcp
.
influx_user (string)
Specify the username for the database. Corresponding command
line option is -U
.
influx_pass (string)
Specify the password for the database. Corresponding command
line option is -E
.
influx_tags (string)
Specify string of tags to add to the metrics. Corresponding
command line option is -X
.