docker_service_exporter

command module
v0.0.0-...-ff9d979 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: MIT Imports: 15 Imported by: 0

README

Docker Service Exporter

Go Report Card

Docker Service exporter for various metrics about Docker Services, written in Go.

Installation
Docker
docker pull aviationexam/docker_service_exporter:latest
docker run --rm -p 9115:9115 aviationexam/docker_service_exporter:latest

Example docker-compose.yml:

elasticsearch_exporter:
  image: aviationexam/docker_service_exporter:latest
  restart: always
  ports:
    - "127.0.0.1:9114:9115"
Configuration

NOTE: The exporter fetches information from a Docker daemon on every scrape, therefore having a too short scrape interval can impose load on Docker daemon. As a last resort, you can scrape this exporter using a dedicated job with its own scraping interval.

Below is the command line options summary:

docker_service_exporter --help
Argument Introduced in Version Description Default
web.listen-address 0.1.0 Address to listen on for web interface and telemetry. :9115
web.telemetry-path 0.1.0 Path under which to expose metrics. /metrics
version 0.1.0 Show version info on stdout and exit.

Commandline parameters are specified with --.

Metrics
Name Type Cardinality Help
elasticsearch_clusterinfo_version_info gauge 6 Constant metric with ES version information as labels

Contributing

We welcome any contributions. Please fork the project on GitHub and open Pull Requests for any proposed changes.

Please note that we will not merge any changes that encourage insecure behaviour. If in doubt please open an Issue first to discuss your proposal.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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