Monitoring Example
This example deploys an observability stack with OpenTelemetry Collector, Loki and Grafana.
- Project files live in
examples/otel/ - Config is defined in
examples/otel/tsops.config.ts
How to run
bash
pnpm install
pnpm tsops plan --config examples/otel/tsops.config.tsConfig Highlights
otelCollector,loki,grafanaare defined withimage- ConfigMaps are embedded as JSON strings and mounted into containers
- Apps use runtime config for OTLP:
config.url('otelCollector', 'service')