gray-machine-46287
07/07/2025, 12:47 PMbrief-egg-61061
07/07/2025, 12:47 PMbrief-egg-61061
07/07/2025, 12:47 PMbrief-egg-61061
07/07/2025, 12:47 PMbrief-egg-61061
07/07/2025, 12:47 PMhttp://{host}:4445/admin/metrics/prometheus
by default. This allows you to collect operational metrics, but these are generally system-wide and not broken down by individual OAuth2 client usage out of the box [Prometheus observability](https://www.ory.sh/docs/self-hosted/operations/observability#prometheus). To track per-client usage, you would typically need to: - Scrape and analyze Hydra’s Prometheus metrics for any available client-related labels (if present). - Implement external logging or monitoring at the API gateway or reverse proxy level to log requests and correlate them with client IDs. - Use custom middleware or integrations to log or process token issuance and introspection events, extracting the client ID from those events. In summary, while Hydra supports robust system-level observability, the knowledge sources do not describe a built-in feature for detailed per-client usage tracking. You would need to extend your monitoring setup to achieve this level of granularity.brief-egg-61061
07/07/2025, 12:48 PMbrief-egg-61061
07/07/2025, 12:48 PM/admin/metrics/prometheus
endpoint, but the documentation does not specify that these metrics provide per-client usage breakdowns [Prometheus Observability](https://www.ory.sh/docs/self-hosted/operations/observability#prometheus). For more granular tracking, you would need to implement external monitoring or logging solutions. Ory services provide detailed logs that include HTTP request context, which could be parsed to extract client-specific activity by analyzing the client_id
in relevant requests [Log Fields](https://www.ory.sh/docs/self-hosted/operations/logging#log-fields). However, this requires custom log processing, as there is no out-of-the-box dashboard or API for per-client usage statistics in self-hosted Hydra. If you need advanced analytics or administrative dashboards, these are available in Ory Network, but not in self-hosted Hydra [Feature Differences](https://www.ory.sh/blog/ory-network-or-self-hosting-explained-use-cases). In summary: - Prometheus metrics are available, but per-client usage is not explicitly documented. - You can analyze logs for client activity, but this requires custom processing. - No built-in per-client usage dashboard or API exists in self-hosted Hydra.