Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neuroforgede/docker-engine-networks-exporter
https://github.com/neuroforgede/docker-engine-networks-exporter
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/neuroforgede/docker-engine-networks-exporter
- Owner: neuroforgede
- License: apache-2.0
- Created: 2022-11-23T22:33:36.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-07T08:30:09.000Z (9 months ago)
- Last Synced: 2024-08-03T16:14:35.232Z (5 months ago)
- Language: Python
- Size: 26.4 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-swarm - docker-engine-networks-exporter - Prometheus Exporter for additional network metrics such as usable ips. (Community Tools / Monitoring)
README
# Docker engine networks exporter (Docker Engine/Swarm)
![](https://img.shields.io/docker/pulls/neuroforgede/docker-engine-networks-exporter.svg)
*Docker engine networks exporter* exposes docker network infromation to prometheus metrics.
The following metrics are supported:
- docker_network_container_used_ips
- docker_network_service_used_ips
- docker_network_usable_ipsProudly made by [NeuroForge](https://neuroforge.de/) in Bayreuth, Germany.
## Use in a Docker Swarm deployment
Deploy:
```yaml
version: "3.8"services:
docker-engine-networks-exporter:
image: ghcr.io/neuroforgede/docker-engine-networks-exporter:latest
networks:
- net
environment:
- DOCKER_HOSTNAME={{.Node.Hostname}}
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
deploy:
mode: global
resources:
limits:
memory: 256M
reservations:
memory: 128M
```prometheus.yml
```yaml
# ...
scrape_configs:
- job_name: 'docker-engine-networks-exporter'
dns_sd_configs:
- names:
- 'tasks.docker-engine-networks-exporter'
type: 'A'
port: 9000
```A monitoring solution based on the original swarmprom that includes this can be found at our [Swarmsible Stacks repo](https://github.com/neuroforgede/swarmsible-stacks)