Skip to content

draincoder/faststream-monitoring

Repository files navigation

FastStream Monitoring Example

python pdm-managed Checked with mypy Ruff Test

Example of monitoring settings for FastStream

FastStream OpenTelemetry documentation
FastStream Prometheus documentation

  • Three FastStream services
  • Exporting traces to Grafana Tempo via gRPC
  • Visualization of traces via Grafana
  • Collecting metrics and exporting using Prometheus
  • Grafana dashboard for metrics
  • Examples with custom spans
  • Configured docker-compose with the entire infrastructure

How to run the example

  1. Clone project
git clone https://github.com/draincoder/faststream-monitoring.git
  1. Start application
docker compose --profile exchange --profile grafana up --build -d
  1. Open Grafana on http://127.0.0.1:3000 with login admin and password admin
  2. Go to Explore - Tempo
  3. Enter TraceQL query {}
  4. Go to Dashboards - FastStream Metrics

Trace example Metrics example

About

Example of monitoring settings for FastStream.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published