mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 16:37:34 +00:00
Update Prometheus to v3.11.2, fix etcdctl version
This commit is contained in:
@@ -16,7 +16,7 @@ USAGE:
|
|||||||
etcdctl
|
etcdctl
|
||||||
|
|
||||||
VERSION:
|
VERSION:
|
||||||
3.5.21
|
3.5.29
|
||||||
|
|
||||||
API VERSION:
|
API VERSION:
|
||||||
3.5
|
3.5
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ rule_files:
|
|||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus:v3.11.0
|
image: prom/prometheus:v3.11.2
|
||||||
volumes:
|
volumes:
|
||||||
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
||||||
- ./rules.yml:/etc/prometheus/rules.yml
|
- ./rules.yml:/etc/prometheus/rules.yml
|
||||||
|
|||||||
@@ -164,12 +164,12 @@ scrape_configs:
|
|||||||
**完整监控栈部署:**
|
**完整监控栈部署:**
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> 以下示例中的镜像标签(如 `prom/prometheus:v3.11.0`、`prom/node-exporter:v1.11.1`、`ghcr.io/google/cadvisor:v0.56.2`、`grafana/grafana:13.0.1`)仅为参考。在生产环境部署前,请访问各项目的官方发布页或文档获取最新版本号。
|
> 以下示例中的镜像标签(如 `prom/prometheus:v3.11.2`、`prom/node-exporter:v1.11.1`、`ghcr.io/google/cadvisor:v0.56.2`、`grafana/grafana:13.0.1`)仅为参考。在生产环境部署前,请访问各项目的官方发布页或文档获取最新版本号。
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus:v3.11.0
|
image: prom/prometheus:v3.11.2
|
||||||
container_name: prometheus
|
container_name: prometheus
|
||||||
ports:
|
ports:
|
||||||
- "9090:9090"
|
- "9090:9090"
|
||||||
|
|||||||
Reference in New Issue
Block a user