mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2026-10-12 19:28:49 +00:00
prometheus: remove Hetzner Storage Box monitoring
This commit is contained in:
1 parent
cbb83f99f2
commit
83bfc4482e
3 files changed
+1
-28
No files matched your search
@@ -1,4 +1 @@
|
||||
############# Hetzner Storage Box exporter #############
|
||||
# Read-only Hetzner Cloud API token: Cloud Console -> Security -> API Tokens.
|
||||
# The Storage Box must be managed via the Hetzner Cloud API.
|
||||
HETZNER_TOKEN=
|
||||
# No environment variables are currently required for Prometheus.
|
||||
@@ -26,8 +26,3 @@ scrape_configs:
|
||||
scrape_interval: 30s
|
||||
static_configs:
|
||||
- targets: ["crowdsec_exporter:9100"]
|
||||
|
||||
- job_name: storagebox_exporter
|
||||
scrape_interval: 60s
|
||||
static_configs:
|
||||
- targets: ["storagebox_exporter:9509"]
|
||||
@@ -73,24 +73,5 @@ services:
|
||||
max-size: "100m"
|
||||
max-file: "3"
|
||||
|
||||
storagebox_exporter:
|
||||
image: ghcr.io/crstian19/prometheus-storagebox-exporter:0.7.0
|
||||
container_name: storagebox_exporter
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
networks:
|
||||
- prometheus
|
||||
environment:
|
||||
HETZNER_TOKEN: "${HETZNER_TOKEN}"
|
||||
LISTEN_ADDRESS: ":9509"
|
||||
METRICS_PATH: "/metrics"
|
||||
LOG_LEVEL: "info"
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "100m"
|
||||
max-file: "3"
|
||||
|
||||
volumes:
|
||||
prometheus-data:
|
||||
Reference in new issue
Block a user