Skip to content

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.ts

Config Highlights

  • otelCollector, loki, grafana are defined with image
  • ConfigMaps are embedded as JSON strings and mounted into containers
  • Apps use runtime config for OTLP: config.url('otelCollector', 'service')

Released under the MIT License.