Skip to content

Commit 65f6cb9

Browse files
authored
Add references to Jaeger v2 (jaegertracing#5779)
1 parent 5bf667e commit 65f6cb9

File tree

4 files changed

+52
-2
lines changed

4 files changed

+52
-2
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<img align="right" width="290" height="290" src="https://www.jaegertracing.io/img/jaeger-vector.svg">
44

55
[![Slack chat][slack-img]](#get-in-touch)
6-
[![Project+Community stats][community-badge]][community-stats]
76
[![Unit Tests][ci-img]][ci]
87
[![Coverage Status][cov-img]][cov]
8+
[![Project+Community stats][community-badge]][community-stats]
99
[![FOSSA Status][fossa-img]][fossa]
1010
[![OpenSSF Scorecard][openssf-img]][openssf]
1111
[![OpenSSF Best Practices][openssf-bp-img]][openssf-bp]
@@ -16,6 +16,8 @@
1616

1717
# Jaeger - a Distributed Tracing System
1818

19+
💥💥💥 Jaeger v2 is coming! Read the [blog post](https://medium.com/jaegertracing/towards-jaeger-v2-moar-opentelemetry-2f8239bee48e) and [try it out](./cmd/jaeger).
20+
1921
```mermaid
2022
graph TD
2123
SDK["OpenTelemetry SDK"] --> |HTTP or gRPC| COLLECTOR

cmd/jaeger/README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# jaeger
22

33
This is experimental Jaeger V2 based on OpenTelemetry collector.
4-
See https://github.com/jaegertracing/jaeger/issues/4843.
4+
Read the [blog post](https://medium.com/jaegertracing/towards-jaeger-v2-moar-opentelemetry-2f8239bee48e).
5+
6+
Tracking issue: https://github.com/jaegertracing/jaeger/issues/4843.
57

68
```mermaid
79
flowchart LR
@@ -31,3 +33,12 @@ flowchart LR
3133
Query
3234
end
3335
```
36+
37+
## Try it out
38+
39+
* Download `docker-compose-v2.yml` from https://github.com/jaegertracing/jaeger/blob/main/examples/hotrod/docker-compose-v2.yml
40+
* Optional: find the latest Jaeger version (see https://www.jaegertracing.io/download/) and pass it via environment variable `JAEGER_VERSION`. Otherwise `docker compose` will use the `latest` tag, which is fine for the first time you download the images, but once they are in your local registry the `latest` tag is never updated and you may be running stale (and possibly incompatible) verions of Jaeger and the HotROD app.
41+
* Run Jaeger backend and HotROD demo, e.g.:
42+
* `JAEGER_VERSION=1.59 docker compose -f path-to-yml-file-v2 up`
43+
* Access Jaeger UI at http://localhost:16686 and HotROD app at http://localhost:8080
44+
* Shutdown / cleanup with `docker compose -f path-to-yml-file down`

examples/hotrod/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ As of Jaeger v1.42.0 this application was upgraded to use the OpenTelemetry SDK
1919

2020
## Running
2121

22+
💥💥💥 Try it with Jaeger v2! See [cmd/jaeger](../../cmd/jaeger).
23+
2224
### Run everything via `docker compose`
2325

2426
* Download `docker-compose.yml` from https://github.com/jaegertracing/jaeger/blob/main/examples/hotrod/docker-compose.yml

examples/hotrod/docker-compose-v2.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
version: '3.7'
2+
# To run a specific version of Jaeger, use environment variable, e.g.:
3+
# JAEGER_VERSION=1.52 docker compose up
4+
5+
services:
6+
jaeger:
7+
image: ${REGISTRY:-}jaegertracing/jaeger:${JAEGER_VERSION:-latest}
8+
command: ["--feature-gates=-component.UseLocalHostAsDefaultHost"]
9+
ports:
10+
- "16686:16686"
11+
- "4317:4317"
12+
- "4318:4318"
13+
environment:
14+
- LOG_LEVEL=debug
15+
networks:
16+
- jaeger-example
17+
18+
hotrod:
19+
image: ${REGISTRY:-}jaegertracing/example-hotrod:${JAEGER_VERSION:-latest}
20+
# To run the latest trunk build, find the tag at Docker Hub and use the line below
21+
# https://hub.docker.com/r/jaegertracing/example-hotrod-snapshot/tags
22+
#image: jaegertracing/example-hotrod-snapshot:0ab8f2fcb12ff0d10830c1ee3bb52b745522db6c
23+
ports:
24+
- "8080:8080"
25+
- "8083:8083"
26+
command: ["all"]
27+
environment:
28+
- OTEL_EXPORTER_OTLP_ENDPOINT=http://jaeger:4318
29+
networks:
30+
- jaeger-example
31+
depends_on:
32+
- jaeger
33+
34+
networks:
35+
jaeger-example:

0 commit comments

Comments
 (0)