telegraf/plugins/inputs/rethinkdb
Paweł Żak 714989aba2
chore: Fix linter findings for revive:max-public-structs in plugins/inputs/[n-s]* (#15878)
2024-09-16 11:50:23 -05:00
..
README.md docs: Update all readme to pass linter (#12615) 2023-02-09 11:04:41 +01:00
rethinkdb.go chore: Fix linter findings for errorlint (part7) (#12772) 2023-03-03 10:11:54 +01:00
rethinkdb_data.go chore: Fix linter findings for revive:max-public-structs in plugins/inputs/[n-s]* (#15878) 2024-09-16 11:50:23 -05:00
rethinkdb_data_test.go chore: Fix linter findings for revive:max-public-structs in plugins/inputs/[n-s]* (#15878) 2024-09-16 11:50:23 -05:00
rethinkdb_server.go chore(linters): Fix remaining errcheck warnings (#15518) 2024-07-10 12:51:25 +02:00
rethinkdb_server_test.go chore: Remove deprecated build tags (#11867) 2022-09-22 13:25:31 -05:00
rethinkdb_test.go chore: Remove deprecated build tags (#11867) 2022-09-22 13:25:31 -05:00
sample.conf chore(inputs_m-z): migrate sample configs into separate files (#11133) 2022-05-18 11:31:34 -05:00

README.md

RethinkDB Input Plugin

Collect metrics from RethinkDB.

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,
  ##   10.0.0.1:10000, etc.
  servers = ["127.0.0.1:28015"]

  ## If you use actual rethinkdb of > 2.3.0 with username/password authorization,
  ## protocol have to be named "rethinkdb2" - it will use 1_0 H.
  # servers = ["rethinkdb2://username:password@127.0.0.1:28015"]

  ## If you use older versions of rethinkdb (<2.2) with auth_key, protocol
  ## have to be named "rethinkdb".
  # servers = ["rethinkdb://username:auth_key@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