Skip to content

scala-steward/prometheus-bash-exporter

 
 

prometheus-bash-exporter

Docker Workflow Release Notes Apache License 2.0 Scala Steward badge

Prometheus metric exporter that executes a bash script on every scrape and returns the metrics from stdout. $@ in the executed script will always contain the request path segments.

Enviromnet variables

  • LOG_LEVEL: log level (default: ERROR)
  • SERVER_HOST: listen host (default: 0.0.0.0)
  • SERVER_PORT: listen port (default: 8080)
  • SCRIPT_METRICS: script that is executed on GET /metrics
  • SCRIPT_TEST: script that is executed on GET /test
  • CACHE_TEST: cache the output of GET /test for 10 seconds

Scripts

Head over to the wiki to see our collection of scripts.

Docker builds

https://github.com/users/lhns/packages/container/package/prometheus-bash-exporter

License

This project uses the Apache 2.0 License. See the file called LICENSE.

About

Prometheus metric exporter that executes a bash script on every scrape and returns the metrics from stdout

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Scala 82.5%
  • Dockerfile 9.2%
  • Java 8.3%