Skip to content

Sniphs98/ssdb_exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus SSDB Exporter

This repository is a fork of kys1230/ssdb_exporter. I've just made some changes to enable succesfull dockerization and a collection of replication parameters. It has now two ways of configuration, which are described below.

Usage

The Prometheus SSDB Exporter use command line flags , as well as environment variables. If the environment variables are set, values from flags are overwritten.

Flags

  • -bind-addr string - bind address for the metrics server (default ":9142")`
  • -log-level string - log level (default "info")`
  • -metrics-path string - path to metrics endpoint (default "/metrics")
  • -ssdb-list string - host1:port1,host2:port2 for ssdb socket (default "localhost:8888")`

Environment variables

  • BIND_ADDR - same as -bind-addr
  • LOG_LEVEL - same as -log-level
  • METRICS_PATH - same as -metrics-path
  • SSDB_LIST - same as -ssdb-list

Grafana Dashboard

I've created some Grafana Dashboard to use with Prometheus. You can find it here.

Docker images

The ssdb exporter is also built as a docker image, available here.

About

prometheus ssdb exporter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.4%
  • Dockerfile 2.6%