https://github.com/jaegertracing/vertx-create-span
Demo application used in e2e tests for the Jaeger Operator
https://github.com/jaegertracing/vertx-create-span
Last synced: 5 months ago
JSON representation
Demo application used in e2e tests for the Jaeger Operator
- Host: GitHub
- URL: https://github.com/jaegertracing/vertx-create-span
- Owner: jaegertracing
- License: apache-2.0
- Created: 2020-09-16T08:17:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-12T11:45:52.000Z (about 2 years ago)
- Last Synced: 2025-04-07T08:37:16.951Z (6 months ago)
- Language: Java
- Size: 166 KB
- Stars: 3
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= Vert.x starter with Jaeger tracer
This is a Vert.x starter project (from http://start.vertx.io/), with
just enough code to include Jaeger tracer and report a span.== Run
Each in a different terminal:
```
$ docker run \
--rm \
--name jaeger \
-p 6831:6831/udp \
-p 16686:16686 \
jaegertracing/all-in-one:1.7 \
--log-level debug
$ JAEGER_REPORTER_LOG_SPANS=true JAEGER_SAMPLER_TYPE=const JAEGER_SAMPLER_PARAM=1 ./gradlew run
$ curl localhost:8080
```Expected outcome:
image::trace.png[]
== Docker image
```
docker build . -t ${USER}/vertx-create-span
```== Run via Docker
```
docker run --rm ${USER}/vertx-create-span
```== Install on Kubernetes
```
kubectl apply -f deployment.yaml
```== Build multiple architectures
```
docker buildx build --push --platform=linux/arm64,linux/amd64,linux/s390x,linux/ppc64le -t ${USER}/vertx-create-span .
```