
flaviostutz/prometheusPrometheus server with configurable settings through ENV parameters.
By using this image you would avoid creating prometheus.yml manually, so that you indicate in ENV parameters the scrape targets and this container will start already configured to scrape them.
If you need more advanced Prometheus usage (custom alerting or more configurations), the best way is to create another container with those configurations embedded into it.
docker-compose.yml
version: '3.5' services: prometheus: image: flaviostutz/prometheus ports: - 9090:9090 environment: - SCRAPE_INTERVAL=15s - SCRAPE_TIMEOUT=10s - STATIC_SCRAPE_TARGETS=mynginx1@nginx1ip:8080 mysqlexporter1@sqlexporter1ip:7070 - DNS_SCRAPE_TARGETS=dnsscrape11@dnsscrape1:1111
ADD <rules path> /etc/prometheus
manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务