Overview

Full name
docker.io/jaegertracing/example-hotrod
Registry
docker.io
Namespace
jaegertracing
Repository
example-hotrod
Cached tags
157
Last synced
07/06/2026, 11:17 AM

Introduction

Jaeger HotROD 示例微服务镜像,演示分布式追踪与 OpenTelemetry 埋点,适合可观测性 PoC 与培训环境。

Details

jaegertracing/example-hotrod 模拟打车场景的多服务调用链,内置对 Jaeger Collector 的 span 上报。典型用于验证 tracing 管道、演示 latency 瀑布图,与生产业务相比纯演示用途。定位为无状态 demo Web/API 栈,需 Jaeger/OTel Collector 可达;K8s 可 Deployment 部署并配合 Jaeger Helm。

快速启动

docker run -d --name hotrod \
  -p 8080:8080 \
  -e JAEGER_ENDPOINT=http://jaeger:14268/api/traces \
  docker.io/jaegertracing/example-hotrod:latest

推荐实践

docker run -d --name hotrod \
  --restart unless-stopped \
  -p 8080:8080 \
  -e JAEGER_ENDPOINT=http://jaeger.internal:14268/api/traces \
  -e OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317 \
  docker.io/jaegertracing/example-hotrod:1.53.0

核心参数说明

  • -p 8080:8080 — HotROD Web UI 端口
  • -e JAEGER_ENDPOINT — Jaeger Collector HTTP 端点
  • -e OTEL_EXPORTER_OTLP_ENDPOINT — OTLP 导出地址(可选)
  • --restart unless-stopped — Demo 服务持续在线
  • 固定 tag — 示例代码与 SDK 版本 pin

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: hotrod
spec:
  replicas: 1
  selector:
    matchLabels:
      app: hotrod
  template:
    metadata:
      labels:
        app: hotrod
    spec:
      containers:
        - name: hotrod
          image: docker.io/jaegertracing/example-hotrod:1.53.0
          ports:
            - containerPort: 8080
          env:
            - name: JAEGER_ENDPOINT
              value: "http://jaeger-collector.observability:14268/api/traces"
---
apiVersion: v1
kind: Service
metadata:
  name: hotrod
spec:
  selector:
    app: hotrod
  ports:
    - port: 8080
      targetPort: 8080

Jaeger 独立 namespace;仅 PoC 环境暴露 Ingress,勿用于生产流量。

Latest tags (20)

View all 157 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/jaegertracing/example-hotrod
:latest
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2026/06/03 23:3212.3 MBsha256:72953878fbf4
docker.io/jaegertracing/example-hotrod
:2.19.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2026/06/03 23:3212.3 MBsha256:72953878fbf4
docker.io/jaegertracing/example-hotrod
:2.18.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2026/05/14 00:2512.2 MBsha256:45e363f21be6
docker.io/jaegertracing/example-hotrod
:2.17.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2026/04/01 11:4512.1 MBsha256:3df6f24349d3
docker.io/jaegertracing/example-hotrod
:2.16.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2026/03/08 06:3512.2 MBsha256:b5cff7f63e8d
docker.io/jaegertracing/example-hotrod
:2.15.1
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2026/02/09 08:3811.9 MBsha256:38c33cd4040d
docker.io/jaegertracing/example-hotrod
:2.15.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2026/02/07 03:2711.9 MBsha256:ef89790fb874
docker.io/jaegertracing/example-hotrod
:2.14.1
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2026/01/03 02:5911.9 MBsha256:fe37214af340
docker.io/jaegertracing/example-hotrod
:2.14.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2026/01/02 10:5211.9 MBsha256:ae0e5f4cbc99
docker.io/jaegertracing/example-hotrod
:1.76.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2025/12/04 01:1411.9 MBsha256:871bdfd872e2
docker.io/jaegertracing/example-hotrod
:1.75.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2025/11/19 21:1111.9 MBsha256:eb89b465b850
docker.io/jaegertracing/example-hotrod
:1.74.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2025/10/03 11:2711.8 MBsha256:c28be06eb32f
docker.io/jaegertracing/example-hotrod
:1.73.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2025/09/04 04:0011.8 MBsha256:114ac3b3c1a0
docker.io/jaegertracing/example-hotrod
:1.72.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2025/08/07 03:4712.3 MBsha256:996bc3ec3c9a
docker.io/jaegertracing/example-hotrod
:1.71.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2025/07/05 10:0412.2 MBsha256:960a1f8a6b44
docker.io/jaegertracing/example-hotrod
:1.70.0
linux/arm64linux/s390xlinux/ppc64lelinux/amd64
2025/06/11 03:5211.5 MBsha256:ffd9e71a6fa4
docker.io/jaegertracing/example-hotrod
:1.69.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2025/05/10 07:0612.2 MBsha256:ea0a9f5d614c
docker.io/jaegertracing/example-hotrod
:1.68.0
linux/amd64linux/arm64linux/s390xlinux/ppc64le
2025/04/05 19:2512.4 MBsha256:e71eb1e5dd04
docker.io/jaegertracing/example-hotrod
:1.67.0
linux/ppc64lelinux/s390xlinux/amd64linux/arm64
2025/03/08 15:0511.7 MBsha256:5b16a9782733
docker.io/jaegertracing/example-hotrod
:1.66.0
linux/ppc64lelinux/amd64linux/arm64linux/s390x
2025/02/07 03:3411.1 MBsha256:53e1792f2282