From 6687b665648a76ec8c0a14097b425faafe160012 Mon Sep 17 00:00:00 2001 From: Jens Reimann Date: Fri, 24 Jan 2025 10:50:01 +0100 Subject: [PATCH] docs: tweak readme --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index be5188c..5b28cf9 100644 --- a/README.md +++ b/README.md @@ -43,22 +43,25 @@ Then deploy the application: helm upgrade --install -n $NAMESPACE trustify charts/trustify --values values-minikube.yaml --set-string appDomain=$APP_DOMAIN ``` -> With traces enabled: +#### Enable tracing + +Infrastructure with tracing enabled: ```bash helm upgrade --install --dependency-update -n $NAMESPACE infrastructure charts/trustify-infrastructure --values values-minikube.yaml --set-string keycloak.ingress.hostname=sso$APP_DOMAIN --set-string appDomain=$APP_DOMAIN --set jaeger.enabled=true --set-string jaeger.allInOne.ingress.hosts[0]=jaeger$APP_DOMAIN --set tracing.enabled=true --timeout 10m ``` -> Setting OpenTelemetry collector endpoint: +Using the default http://infrastructure-otelcol:4317 OpenTelemetry collector endpoint. This works with the previous +command of the default infrastructure deployment: ```bash -helm upgrade --install -n $NAMESPACE trustify charts/trustify --values values-minikube.yaml --set-string appDomain=$APP_DOMAIN --set tracing.enabled=true --set-string tracing.collector="http://infrastructure-otelcol:4317" +helm upgrade --install -n $NAMESPACE trustify charts/trustify --values values-minikube.yaml --set-string appDomain=$APP_DOMAIN --set tracing.enabled=true ``` -> Using the default http://infrastructure-otelcol:4317 OpenTelemetry collector endpoint: +Setting an explicit OpenTelemetry collector endpoint: ```bash -helm upgrade --install -n $NAMESPACE trustify charts/trustify --values values-minikube.yaml --set-string appDomain=$APP_DOMAIN --set tracing.enabled=true +helm upgrade --install -n $NAMESPACE trustify charts/trustify --values values-minikube.yaml --set-string appDomain=$APP_DOMAIN --set tracing.enabled=true --set-string tracing.collector="http://infrastructure-otelcol:4317" ``` ### Kind