экспортер показателей pcp-to-elasticsearch (pcp-to-elasticsearch metrics exporter)
Конфигурационный файл (Config file)
pcp2elasticsearch
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
,
include_labels
, 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.
pcp2elasticsearch specific options
es_server (string)
Specify the URL of Elasticsearch server to send the metrics
to. Corresponding command line option is -g
. Default is
http://localhost:9200/
.
es_index (string)
Specify the Elasticsearch index for metric names.
Corresponding command line option is -x
. Default is pcp
.
es_hostid (string)
Specify the Elasticsearch host-id for measurements.
Corresponding command line option is -X
. Defaults to the
metrics source host.
es_search_type (string)
Specify the Elasticsearch search type for measurements.
Corresponding command line option is -p
. Defaults to pcp-
metric
.