Skip to content

Monitor your tracelane instance

Tracelane provides a build-in endpoint that exposes various statistics about your tracelane instance. These metrics are exposed at /api/metrics in Prometheus format.

MetricDescription
tracelane_usersTotal number of registered users in tracelane
tracelane_projectsTotal number of projects in tracelane
tracelane_workspacesTotal number of workspaces in tracelane
tracelane_premium_workspacesTotal number of premium workspaces in tracelane
tracelane_elementsTotal number of elements in tracelane

For authentication you need to pass the variable METRICS_SECRET in the authorization header as a Bearer token.

Terminal window
Authorization: Bearer <METRICS_SECRET>