Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-1776

[SPIKE] Investigate in order to produce list of tasks

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • Major
    • None
    • None
    • None

    Description

      Notes from akeating1 on previous work

      In the keycloak-apb (https://github.com/aerogearcatalog/keycloak-apb) we use a tool called Keycloak Monitoring Prometheus (https://github.com/larscheid-schmitzhermes/keycloak-monitoring-prometheus) to export all of the metrics Keycloak provides to a file system.

      This is then exported via an endpoint using the Prometheus Filesystem Exporter (https://github.com/larscheid-schmitzhermes/prometheus-filesystem-exporter).

      Currently the only thing that is missing from what is exposed are the CPU and Memory usage metrics.

      To try out the current Keycloak metrics configuration provision the Keycloak APB and provision the Prometheus APB. You will then see Keycloak and Keycloak Admin metrics in prometheus. Creating users/logging in as a user/etc. will all create new events.

      Explore the current Keycloak metrics implementation and determine what factors are missing along with CPU and Memory and if anything needs to be changed.

      The current implementation using the file exporter may not be the approach we want to take in the long term. Investigate other options also, perhaps including adding a prometheus metrics endpoint in Keycloak itself. This seems to be partially discussed here: https://issues.jboss.org/browse/KEYCLOAK-1578

      weili_jira

      Attachments

        Activity

          People

            Unassigned Unassigned
            lfitzger@redhat.com Laura Fitzgerald (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: