FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. Tags
    3. metrics
    Log in to post
    • All categories
    • F

      Solved How to monitor hosted FusionAuth instance performance and metrics?

      Frequently Asked Questions (FAQ)
      • monitoring prometheus hosted metrics api • • FASupportBot
      2
      0
      Votes
      2
      Posts
      209
      Views

      F

      There are several ways to monitor your hosted FusionAuth deployment:

      Basic Health Monitoring

      You can use the System Status API to get basic information about your deployment, including whether it is healthy. For dedicated health checks (particularly useful for load balancers), there's also the Health API available since version 1.51.1.

      Detailed Metrics with Prometheus

      For more detailed performance monitoring, you can configure Prometheus to retrieve system metrics from FusionAuth. FusionAuth exposes:

      JVM-level gauges: memory usage, garbage collection stats, thread counts, class loading, buffer pools Request timers: endpoint latency and request counts (e.g., prime_mvc_* metrics)

      You can then set up Prometheus dashboards to visualize this data and track CPU, memory, and other performance metrics over time.

      See the FusionAuth Prometheus documentation for configuration details and the Prometheus Metrics API for endpoint information.

      Important Considerations for Hosted Deployments

      If your hosted FusionAuth deployment has multiple compute nodes, be aware that both the Status API and Prometheus metrics endpoints return data per-node. Since requests are round-robined across nodes, successive API calls may hit different nodes and return inconsistent data. This makes direct polling less reliable for multi-node deployments.

      Additional Monitoring Options

      Beyond Prometheus, FusionAuth can integrate with other monitoring tools:

      Datadog: Use the Datadog Agent with OpenMetrics integration CloudWatch: Monitor FusionAuth metrics in AWS environments Grafana: Visualize Prometheus data with pre-built dashboards

      You can also access:

      System logs: Available via API (exportable as ZIP files) Audit logs: Track administrative actions via API or webhook Event logs: Debug information for external integrations Login records: Successful login history with timestamps, IPs, and user details Webhooks: Get real-time notifications for specific events Related Documentation Monitoring FusionAuth Overview System Status API System Health API Prometheus Integration Guide Prometheus Metrics API Datadog Integration CloudWatch Integration
    • danD

      Metrics for display of login pages?

      Q&A
      • metrics login • • dan
      2
      0
      Votes
      2
      Posts
      1.4k
      Views

      danD

      No. A lot of our clients use Google analytics (or other similar page analytics tools) to gather those type of metrics.

    • danD

      Metrics for user authentication?

      Q&A
      • social logins metrics login • • dan
      2
      0
      Votes
      2
      Posts
      2.1k
      Views

      danD

      We don’t currently have any internal reporting for that metric.

      The best way to do this currently would be to listen to the user.login.success event.

      This event will contain what IdP was used and more info. You can then push that to whatever analytics storage layer (database, s3, etc) you'd like.

      More here: https://fusionauth.io/docs/v1/tech/events-webhooks/events#user-login-success