Skip to content

Add Grafana dashboard for metrics with datasources, dashboards

ryanlong requested to merge metrics_dashboard into main

Created by: deepakduggirala

Changes in api/

  • on login, if role is admin, create a JWT for grafana and set it in a cookie
  • on login, if role in not admin, clear this cookie

Changes in ui/

  • in dev env, route requests starting with /grafana to Grafana container while adding a security header
  • for admin role show metric link in sidebar

Added nginx config and container to test in dev env

Changes to docker compose files to deploy this in production.

Additional Changes:

  • in dev env, configure postgres db to output logs
  • Add utility functions in workers
image image

Merge request reports

Loading