thiagoftsm f672f4a955 Rename log Macros (debug) (#15322) 1 год назад
..
Makefile.am bc0ca9b1b3 Add a Prometheus Remote Write connector to the exporting engine (#8292) 5 лет назад
README.md e9af618081 Make the title metadata H1 in all markdown files (#14625) 2 лет назад
remote_write.c f672f4a955 Rename log Macros (debug) (#15322) 1 год назад
remote_write.h ccfbdb5c3d Remove extern from function declared in headers. (#13790) 2 лет назад
remote_write.proto bc0ca9b1b3 Add a Prometheus Remote Write connector to the exporting engine (#8292) 5 лет назад
remote_write_request.cc 04742049a5 Invert order in remote write (#15097) 1 год назад
remote_write_request.h 56a1808d2e Exporting/send variables (#13221) 2 лет назад

README.md

Export metrics to Prometheus remote write providers

The Prometheus remote write exporting connector uses the exporting engine to send Netdata metrics to your choice of more than 20 external storage providers for long-term archiving and further analysis.

Prerequisites

To use the Prometheus remote write API with storage providers, install protobuf and snappy libraries. Next, reinstall Netdata, which detects that the required libraries and utilities are now available.

Configuration

To enable data exporting to a storage provider using the Prometheus remote write API, run ./edit-config exporting.conf in the Netdata configuration directory and set the following options:

[prometheus_remote_write:my_instance]
    enabled = yes
    destination = example.domain:example_port
    remote write URL path = /receive

You can also add :https modifier to the connector type if you need to use the TLS/SSL protocol. For example: remote_write:https:my_instance.

remote write URL path is used to set an endpoint path for the remote write protocol. The default value is /receive. For example, if your endpoint is http://example.domain:example_port/storage/read:

    destination = example.domain:example_port
    remote write URL path = /storage/read

You can set basic HTTP authentication credentials using

    username = my_username
    password = my_password

buffered and lost dimensions in the Netdata Exporting Connector Data Size operation monitoring chart estimate uncompressed buffer size on failures.

Notes

The remote write exporting connector does not support buffer on failures