Overview

Full name
docker.io/vesoft/nebula-stats-exporter
Registry
docker.io
Namespace
vesoft
Repository
nebula-stats-exporter
Cached tags
9
Last synced
07/06/2026, 01:29 PM

Introduction

NebulaGraph 集群 Prometheus 指标导出器镜像,抓取 graphd/storaged/metad 统计并暴露 /metrics,用于图数据库可观测性建设。

Details

vesoft/nebula-stats-exporter 定期请求 NebulaGraph HTTP 统计端点,将 QPS、延迟与存储指标转为 Prometheus 文本格式。典型以 sidecar 或独立 Deployment 部署在可访问 graphd 9090 的管理网段。与通用 node_exporter 相比字段针对 Nebula 拓扑;配置经 --nebula.address 或配置文件指定集群地址,ServiceMonitor 抓取 exporter 端口即可接入 Grafana 大盘。

快速启动

docker run -d --name nebula-exporter \
  -p 9100:9100 \
  -e NEBULA_ADDRESS=graphd:9669 \
  docker.io/vesoft/nebula-stats-exporter:latest

推荐实践

docker run -d --name nebula-exporter \
  --restart unless-stopped \
  -p 9100:9100 \
  -e NEBULA_ADDRESS=nebula-graphd.nebula.svc:9669 \
  -e NEBULA_USER=root \
  -e NEBULA_PASSWORD=nebula \
  docker.io/vesoft/nebula-stats-exporter:3.8.0

核心参数说明

  • -p 9100:9100 — Prometheus scrape /metrics 端口
  • -e NEBULA_ADDRESS — graphd 服务地址
  • -e NEBULA_USER/PASSWORD — 图库认证凭据
  • --restart unless-stopped — 指标采集持续运行
  • 固定 tag — 指标字段与 Nebula 3.x 对齐
  • 网络 — 需可达 graphd/storaged HTTP

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: nebula-stats-exporter
  namespace: monitoring
spec:
  replicas: 1
  selector:
    matchLabels:
      app: nebula-exporter
  template:
    metadata:
      labels:
        app: nebula-exporter
    spec:
      containers:
        - name: exporter
          image: docker.io/vesoft/nebula-stats-exporter:3.8.0
          ports:
            - containerPort: 9100
          envFrom:
            - secretRef:
                name: nebula-exporter-secrets
---
apiVersion: v1
kind: Service
metadata:
  name: nebula-stats-exporter
  namespace: monitoring
spec:
  selector:
    app: nebula-exporter
  ports:
    - port: 9100
      targetPort: 9100

ServiceMonitor 抓取 9100;Nebula 凭据 Secret,monitoring namespace 网络策略放行 graphd。

Latest tags (20)

View all 9 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/vesoft/nebula-stats-exporter
:latest
linux/arm64linux/amd64
2024/08/29 15:0210.7 MBsha256:7e4647ac9a4a
docker.io/vesoft/nebula-stats-exporter
:v3.3.0
linux/arm64linux/amd64
2024/03/21 15:4210.8 MBsha256:4305d60c204b
docker.io/vesoft/nebula-stats-exporter
:v3.1.0
linux/amd64
2022/06/15 10:41103.0 MBsha256:d439d3366e0b
docker.io/vesoft/nebula-stats-exporter
:v0.0.6
linux/amd64
2022/02/14 17:25103.0 MBsha256:8bd84036589d
docker.io/vesoft/nebula-stats-exporter
:v0.0.5
linux/amd64
2021/08/16 11:56103.3 MBsha256:bbb54f64e6c8
docker.io/vesoft/nebula-stats-exporter
:v0.0.4
linux/amd64
2021/07/07 11:47103.3 MBsha256:a0b7d7f1730f
docker.io/vesoft/nebula-stats-exporter
:v0.0.3
linux/amd64
2021/05/14 12:0888.2 MBsha256:1a29d6640aee
docker.io/vesoft/nebula-stats-exporter
:v0.0.2
linux/amd64
2020/12/11 09:4289.1 MBsha256:600e5f66b74a
docker.io/vesoft/nebula-stats-exporter
:v0.0.1
linux/amd64
2020/05/21 15:1231.9 MBsha256:dc12ecdb1029