HUB
Sign inSign up

pascalwilbrink/technitium-prometheus-exporter

By pascalwilbrink

•Updated about 3 years ago

Technitium DNS Prometheus exporter

Image
Integration & delivery
Monitoring & observability
Web analytics
0

10K+

pascalwilbrink/technitium-prometheus-exporter repository overview

View on GitHub⁠

⁠Technitium Prometheus Exporter

The Technitium Prometheus Exporter exports the Top Clients and Query information for Prometheus.

docker pull pascalwilbrink/technitium-prometheus-exporter -p 4001:4001 -e TECHNITIUM_HOST= "http://dns-server:5380" -e TECHNITIUM_TOKEN = "API_TOKEN"

⁠Docker Compose

Docker-Compose.yml

services:
  dns-server:
    container_name: dns-server
    hostname: dns-server
    image: technitium/dns-server:latest
    ports:
      - "5380:5380/tcp"
      - "53:53/udp"
      - "53:53/tcp"

  prometheus:
    image: prom/prometheus:latest
    container_name: prometheus
    ports:
      - 9090:9090
    command:
      - '--config.file=/etc/prometheus/prometheus.yml'
      - '--storage.tsdb.path=/prometheus'
      - '--web.console.libraries=/etc/prometheus/console_libraries'
      - '--web.console.templates=/etc/prometheus/consoles'
      - '--web.enable-lifecycle'
    volumes:
      - ./prometheus:/etc/prometheus

  technitium-prometheus-exporter:
    image: pascalwilbrink/technitium-prometheus-exporter
    container_name: technitium-prometheus-exporter
    environment:
      - TECHNITIUM_HOST=http://dns-server:5380
       - TECHNITIUM_TOKEN={API_TOKEN}
    ports:
      - 4001:4001

Prometheus.yml

scrape_configs:
  - job_name: dns
    scrape_interval: 5s
    metrics_path: /metrics
    static_configs:
      - targets: ['technitium-prometheus-exporter:4001']
Tag summary
Recent tags
Content type
Image
Digest
sha256:9ce3ad02e…
Size
72.6 MB
Last updated
about 3 years ago
docker pull pascalwilbrink/technitium-prometheus-exporter:latest