https://github.com/nfrankel/opentelemetry-tracing
Demo for end-to-end tracing via OpenTelemetry
https://github.com/nfrankel/opentelemetry-tracing
devops jaegertracing observability opentelemetry tracing
Last synced: 3 months ago
JSON representation
Demo for end-to-end tracing via OpenTelemetry
- Host: GitHub
- URL: https://github.com/nfrankel/opentelemetry-tracing
- Owner: nfrankel
- Created: 2022-08-12T17:14:03.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-04-02T02:51:53.000Z (3 months ago)
- Last Synced: 2025-04-02T08:51:14.369Z (3 months ago)
- Topics: devops, jaegertracing, observability, opentelemetry, tracing
- Language: Kotlin
- Homepage: https://blog.frankel.ch/end-to-end-tracing-opentelemetry/
- Size: 568 KB
- Stars: 66
- Watchers: 1
- Forks: 23
- Open Issues: 5
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= OpenTelemetry demo
image::overview.png[OpenTelemetry demo Jaeger overview]
== Build images
You need a local Docker daemon, _e.g._, Docker Desktop or Orbstack.
At the root of the repo, run:
[source,bash]
----
./build.sh
----== Docker compose usage
If the images are built:
[source,bash]
----
docker compose up
----If not:
[source,bash]
----
docker compose -f docker-compose-build.yml up
----Be patient, the stack builds a Rust and a GraalVM-native app (among others).
== Kubernetes usage
* Create the virtual cluster in the `otel` namespace of the host cluster:
+
[source,bash]
----
helm upgrade --install vcluster vcluster/vcluster --namespace otel --create-namespace --values helm/vcluster.yaml
----
+
* Install the infrastructure components in the `otel` namespace of the host cluster:
+
[source,bash]
----
helm upgrade --install otel-infra ./helm/infra --values helm/infra/values.yaml --namespace otel
----
+
* Connect to the virtual cluster:
+
[source,bash]
----
vcluster connect vcluster
----
+
* Install the application components in the `default` namespace of the virtual cluster:
+
[source,bash]
----
helm upgrade --install otel-apps ./helm/apps --values helm/apps/values.yaml
----