README ¶
Prometheus Service Discovery
internal etke.cc service, not usable for any other purposes.
API
job: node
Returns single target for prometheus node exporter
job: http
Returns all http endpoints that should be checked using prometheus blackbox exporter
job: dns
Returns all domains (and subdomains) that should point to the target server IP
job: ports:tcp
Returns all tcp ports that should be open
job: ports:udp
Returns all udp ports that should be open
Config
env:
- PSD_PORT - http port, default
8080
- PSD_PATH - path to inventory
- PSD_LOGLEVEL - log level, default
info
- PSD_SENTRY - sentry dsn
- PSD_AUTH_SINGLE_LOGIN - basic auth login (single-host results only)
- PSD_AUTH_SINGLE_PASSWORD - basic auth password (single-host results only)
- PSD_AUTH_SINGLE_IPS - list of allowed IPs (single-host results only)
- PSD_AUTH_MULTI_LOGIN - basic auth login (multi-host results only)
- PSD_AUTH_MULTI_PASSWORD - basic auth password (multi-host results only)
- PSD_AUTH_MULTI_IPS - list of allowed IPs (multi-host results only)
Click to show internal directories.
Click to hide internal directories.