Skip to content

Commit

Permalink
update jaeger tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Jan 8, 2024
1 parent 7b37b7a commit 4693520
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 25 deletions.
58 changes: 33 additions & 25 deletions deploy/base/Caddyfile
Original file line number Diff line number Diff line change
@@ -1,36 +1,44 @@
{
storage s3 {
}
storage s3 {
}

on_demand_tls {
ask http://xlog-caddy-validator/
}
on_demand_tls {
ask http://xlog-caddy-validator/
}
}

{$XLOG_DOMAIN}, *.{$XLOG_DOMAIN} {
tls devops@rss3.io {
dns cloudflare {env.CF_API_TOKEN}
}

reverse_proxy xlog-internal.crossbell.svc {
header_up x-forwarded-proto http
header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
}
tls devops@rss3.io {
dns cloudflare {env.CF_API_TOKEN}
}

tracing {
span {host}{uri}
}

reverse_proxy xlog-internal.crossbell.svc {
header_up x-forwarded-proto http
header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
}
}

:8080 {
metrics
metrics
}

:80, :443 {
tls jeff@rss3.io {
on_demand
}

reverse_proxy xlog-internal.crossbell.svc {
header_up x-forwarded-proto http
header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
}
}
tls jeff@rss3.io {
on_demand
}

tracing {
span {host}{uri}
}

reverse_proxy xlog-internal.crossbell.svc {
header_up x-forwarded-proto http
header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
}
}
8 changes: 8 additions & 0 deletions deploy/prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ patches:
value:
- name: XLOG_DOMAIN
value: xlog.app
- name: OTEL_SERVICE_NAME
value: xlog-caddy
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://jaeger-collector.guardian:4317
- name: OTEL_EXPORTER_OTLP_INSECURE
value: 'true'
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: grpc
target:
kind: Deployment
name: .*

0 comments on commit 4693520

Please sign in to comment.