Skip to content

jaegertracing/vertx-create-span

Folders and files

NameName
Last commit message
Last commit date

Latest commit

faa2f6b · Sep 12, 2023

History

13 Commits
Sep 8, 2023
Oct 12, 2018
Oct 8, 2018
Sep 11, 2023
Sep 16, 2020
Sep 12, 2023
Sep 8, 2023
Jul 1, 2021
Oct 9, 2018
Jul 16, 2018
Jul 16, 2018
Jul 16, 2018
Oct 12, 2018

Repository files navigation

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:

trace

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 .