概要

フル名
docker.io/prometheuscommunity/elasticsearch-exporter
Registry
docker.io
名前空間
prometheuscommunity
リポジトリ
elasticsearch-exporter
キャッシュ Tag 数
12
最終同期
07/06/2026, 12:58 PM
関連トピック

概要

Prometheus Elasticsearch 指标 Exporter 镜像,抓取 ES 集群健康、索引与 JVM 指标,供 Grafana 告警与容量规划使用。

詳細

prometheuscommunity/elasticsearch-exporter 监听 HTTP /metrics,连接 ES REST API 导出 shard、search rate、heap 等时序数据。典型与 Prometheus Operator 配合监控 ELK 栈,与 elastic_exporter 社区版同源维护。生产固定 tag、ES 凭据经 env 注入、scrape 间隔与 index 过滤按集群规模调优,Exporter 本身无持久化需求。

快速启动

docker run -d --name es-exporter \
  -p 9114:9114 \
  -e ES_URI=http://elasticsearch:9200 \
  docker.io/prometheuscommunity/elasticsearch-exporter:latest

推荐实践

docker run -d --name es-exporter \
  --restart unless-stopped \
  -p 9114:9114 \
  -e ES_URI=https://elasticsearch.internal:9200 \
  -e ES_USERNAME=monitor \
  -e ES_PASSWORD=strong-pass \
  -e ES_SSL_VERIFY=false \
  docker.io/prometheuscommunity/elasticsearch-exporter:v1.7.0

核心参数说明

  • -p 9114:9114 — Prometheus scrape 端口
  • -e ES_URI — Elasticsearch 集群地址
  • -e ES_USERNAME/PASSWORD — 只读监控账号
  • -e ES_SSL_VERIFY — TLS 校验(内网自签可 false)
  • --restart unless-stopped — 监控 sidecar 持续在线
  • 固定 tag — 指标与 ES API 兼容版本 pin

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: elasticsearch-exporter
spec:
  replicas: 1
  selector:
    matchLabels:
      app: es-exporter
  template:
    metadata:
      labels:
        app: es-exporter
    spec:
      containers:
        - name: exporter
          image: docker.io/prometheuscommunity/elasticsearch-exporter:v1.7.0
          ports:
            - containerPort: 9114
          envFrom:
            - secretRef:
                name: es-exporter-secrets
---
apiVersion: v1
kind: Service
metadata:
  name: elasticsearch-exporter
  labels:
    app: es-exporter
spec:
  selector:
    app: es-exporter
  ports:
    - port: 9114
      name: metrics

ServiceMonitor 抓取 9114;ES 凭据 Secret 最小权限,多集群可每集群一个 Exporter Deployment。

Tagアーキテクチャプッシュ日時サイズDigest同期期望操作
docker.io/prometheuscommunity/elasticsearch-exporter
:master
linux/amd64linux/arm64linux/arm/v7linux/ppc64le
2026/07/03 06:298.7 MBsha256:d728ee53737c
docker.io/prometheuscommunity/elasticsearch-exporter
:latest
linux/amd64linux/arm64linux/arm/v7linux/ppc64le
2025/12/09 10:148.7 MBsha256:273b223e031d
docker.io/prometheuscommunity/elasticsearch-exporter
:v1.10.0
linux/amd64linux/arm64linux/arm/v7linux/ppc64le
2025/12/09 10:138.7 MBsha256:273b223e031d
docker.io/prometheuscommunity/elasticsearch-exporter
:v1.9.0
linux/amd64linux/arm64/v8linux/arm/v7linux/ppc64le
2025/03/03 18:048.0 MBsha256:f9b7355617c7
docker.io/prometheuscommunity/elasticsearch-exporter
:v1.8.0
linux/ppc64lelinux/amd64linux/arm64/v8linux/arm/v7
2024/09/20 22:577.3 MBsha256:9d48313c5ad0
docker.io/prometheuscommunity/elasticsearch-exporter
:v1.7.0
linux/amd64linux/arm64/v8linux/arm/v7linux/ppc64le
2023/12/22 03:517.3 MBsha256:a1b35845c0ef
docker.io/prometheuscommunity/elasticsearch-exporter
:v1.6.0
linux/ppc64lelinux/amd64linux/arm64/v8linux/arm/v7
2023/07/01 02:227.3 MBsha256:0d70b5fab16e
docker.io/prometheuscommunity/elasticsearch-exporter
:v1.5.0
linux/arm64linux/armlinux/ppc64lelinux/amd64
2022/07/28 21:366.3 MBsha256:3045ad2d1dc0
docker.io/prometheuscommunity/elasticsearch-exporter
:v1.4.0
linux/ppc64lelinux/amd64linux/arm64linux/arm
2022/07/18 13:376.1 MBsha256:8e43ff74dde7
docker.io/prometheuscommunity/elasticsearch-exporter
:v1.3.0
linux/amd64linux/arm64linux/armlinux/ppc64le
2021/10/21 21:396.7 MBsha256:697fbae49838
docker.io/prometheuscommunity/elasticsearch-exporter
:v1.2.1
linux/arm64linux/amd64linux/ppc64lelinux/arm
2021/06/29 22:025.7 MBsha256:096bb263fa36
docker.io/prometheuscommunity/elasticsearch-exporter
:v1.2.0
linux/amd64linux/arm64linux/armlinux/ppc64le
2021/06/11 04:216.7 MBsha256:b7457fa4434b