telegraf/plugins/inputs/disque
Paweł Żak 98ec91478a
chore(linters): replace 'fmt.Sprintf' with string addition (#14699)
2024-02-08 15:46:22 -05:00
..
README.md docs: Update all readme to pass linter (#12615) 2023-02-09 11:04:41 +01:00
disque.go chore(linters): Enable `preferDecodeRune` and `preferFprint` checkers for gocritic (#14453) 2023-12-15 07:01:25 -07:00
disque_test.go chore(linters): replace 'fmt.Sprintf' with string addition (#14699) 2024-02-08 15:46:22 -05:00
sample.conf chore(inputs_a-l): migrate sample configs into separate files (#11132) 2022-05-18 11:31:52 -05:00

README.md

Disque Input Plugin

Disque is an ongoing experiment to build a distributed, in-memory, message broker.

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 disque servers
[[inputs.disque]]
  ## An array of URI to gather stats about. Specify an ip or hostname
  ## with optional port and password.
  ## ie disque://localhost, disque://10.10.3.33:18832, 10.0.0.1:10000, etc.
  ## If no servers are specified, then localhost is used as the host.
  servers = ["localhost"]

Metrics

  • disque
    • disque_host
      • uptime_in_seconds
      • connected_clients
      • blocked_clients
      • used_memory
      • used_memory_rss
      • used_memory_peak
      • total_connections_received
      • total_commands_processed
      • instantaneous_ops_per_sec
      • latest_fork_usec
      • mem_fragmentation_ratio
      • used_cpu_sys
      • used_cpu_user
      • used_cpu_sys_children
      • used_cpu_user_children
      • registered_jobs
      • registered_queues

Example Output