Documentation

RethinkDB Input Plugin

This plugin collects metrics from RethinkDB servers.

Introduced in: Telegraf v0.1.3 Tags: server OS support: all

Global configuration options

In addition to the plugin-specific configuration settings, plugins support additional global and plugin configuration settings. These settings are used to modify metrics, tags, and field or create aliases and configure ordering, etc. See the CONFIGURATION.md for more details.

Configuration

# Read metrics from one or many RethinkDB servers
[[inputs.rethinkdb]]
  ## An array of URI to gather stats about. Specify an ip or hostname
  ## with optional port add password. ie,
  ##   rethinkdb://user:auth_key@10.10.3.30:28105,
  ##   rethinkdb://10.10.3.33:18832,
  ## For rethinkdb v2.3.0+ with username/password authorization you should use
  ##   rethinkdb2://username:password@127.0.0.1:28015"
  servers = ["127.0.0.1:28015"]

Metrics

  • rethinkdb

    • tags:
      • type
      • ns
      • rethinkdb_host
      • rethinkdb_hostname
    • fields:
      • cache_bytes_in_use (integer, bytes)
      • disk_read_bytes_per_sec (integer, reads)
      • disk_read_bytes_total (integer, bytes)
      • disk_written_bytes_per_sec (integer, bytes)
      • disk_written_bytes_total (integer, bytes)
      • disk_usage_data_bytes (integer, bytes)
      • disk_usage_garbage_bytes (integer, bytes)
      • disk_usage_metadata_bytes (integer, bytes)
      • disk_usage_preallocated_bytes (integer, bytes)
  • rethinkdb_engine

    • tags:
      • type
      • ns
      • rethinkdb_host
      • rethinkdb_hostname
    • fields:
      • active_clients (integer, clients)
      • clients (integer, clients)
      • queries_per_sec (integer, queries)
      • total_queries (integer, queries)
      • read_docs_per_sec (integer, reads)
      • total_reads (integer, reads)
      • written_docs_per_sec (integer, writes)
      • total_writes (integer, writes)

Example Output


Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more

New in InfluxDB 3.4

Key enhancements in InfluxDB 3.4 and the InfluxDB 3 Explorer 1.2.

See the Blog Post

InfluxDB 3.4 is now available for both Core and Enterprise, which introduces offline token generation for use in automated deployments and configurable license type selection that lets you bypass the interactive license prompt. InfluxDB 3 Explorer 1.2 is also available, which includes InfluxDB cache management and other new features.

For more information, check out: