redisqueue-exporter

command module
v0.0.0-...-3c9950e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

README

RedisQueue exporter

Docker Pulls

The redisqueue exporter allows probing redis key length, support type

  • list
  • zset

Running this software

From binaries
Using the docker image
Checking the results

Building the software

local Build
GOOS=linux GOARCH=amd64 go build . 
Building with Docker

After a successful local build:

docker build -t redisqueue-exporter . 

Prometheus Configuration

RedisQueue exporter implements the multi-target exporter pattern, so we advice to read the guide Understanding and using the multi-target exporter pattern to get the general idea about the configuration.

The redisqueue exporter needs to be passed the target as a parameter, this can be done with relabelling.

scrape_configs:
  - job_name: redisqueue
    metrics_path: /probe	
    static_configs:
    - targets:
      - 192.168.0.104:6379/0/test
      - 192.168.0.104:6379/0/test*
      - pwd@host:6379/0/erp_database_queues*
    relabel_configs:
    - source_labels: [__address__]
      target_label: __param_target
    - target_label: __address__
      replacement: 192.168.0.104:8080

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL