Vladimir Kobal b5f8c224a9 Add a Google Cloud Pub/Sub connector to the exporting engine (#8855) 4 years ago
..
aws_kinesis 983a26d1a2 Revert "Revert changes since v1.21 in pereparation for hotfix release." 4 years ago
graphite 983a26d1a2 Revert "Revert changes since v1.21 in pereparation for hotfix release." 4 years ago
json 983a26d1a2 Revert "Revert changes since v1.21 in pereparation for hotfix release." 4 years ago
mongodb 983a26d1a2 Revert "Revert changes since v1.21 in pereparation for hotfix release." 4 years ago
opentsdb 983a26d1a2 Revert "Revert changes since v1.21 in pereparation for hotfix release." 4 years ago
prometheus 983a26d1a2 Revert "Revert changes since v1.21 in pereparation for hotfix release." 4 years ago
pubsub b5f8c224a9 Add a Google Cloud Pub/Sub connector to the exporting engine (#8855) 4 years ago
tests b5f8c224a9 Add a Google Cloud Pub/Sub connector to the exporting engine (#8855) 4 years ago
Makefile.am b5f8c224a9 Add a Google Cloud Pub/Sub connector to the exporting engine (#8855) 4 years ago
README.md e99692f145 Docs: Standardize links between documentation (#8638) 4 years ago
check_filters.c d79bbbf943 Add an AWS Kinesis connector to the exporting engine (#8145) 5 years ago
exporting_engine.c 983a26d1a2 Revert "Revert changes since v1.21 in pereparation for hotfix release." 4 years ago
exporting_engine.h b5f8c224a9 Add a Google Cloud Pub/Sub connector to the exporting engine (#8855) 4 years ago
init_connectors.c b5f8c224a9 Add a Google Cloud Pub/Sub connector to the exporting engine (#8855) 4 years ago
process_data.c 983a26d1a2 Revert "Revert changes since v1.21 in pereparation for hotfix release." 4 years ago
read_config.c b5f8c224a9 Add a Google Cloud Pub/Sub connector to the exporting engine (#8855) 4 years ago
send_data.c 983a26d1a2 Revert "Revert changes since v1.21 in pereparation for hotfix release." 4 years ago
send_internal_metrics.c 983a26d1a2 Revert "Revert changes since v1.21 in pereparation for hotfix release." 4 years ago

README.md

Exporting metrics to external databases (experimental)

The exporting engine is an update for the former backends. It's still work in progress. It has a modular structure and supports metric exporting via multiple exporting connector instances at the same time. You can have different update intervals and filters configured for every exporting connector instance. The exporting engine has its own configuration file exporting.conf. Configuration is almost similar to backends. The only difference is that the type of a connector should be specified in a section name before a colon and a name after the colon. At the moment only four types of connectors are supported: graphite, json, opentsdb, opentsdb:http.

An example configuration:

[exporting:global]
enabled = yes

[graphite:my_instance1]
enabled = yes
destination = localhost:2003
data source = sum
update every = 5
send charts matching = system.load

[json:my_instance2]
enabled = yes
destination = localhost:5448
data source = as collected
update every = 2
send charts matching = system.active_processes

[opentsdb:my_instance3]
enabled = yes
destination = localhost:4242
data source = sum
update every = 10
send charts matching = system.cpu

[opentsdb:http:my_instance4]
enabled = yes
destination = localhost:4243
data source = average
update every = 3
send charts matching = system.active_processes

[analytics](<>)