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

Keycloak login metrics not getting set in prometheus endpoint

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • Service Team 2 - Sprint 9
    • Hide

      See AEROGEAR-2941 where this was discovered (includes info on tags in use)

      • provision Metrics
      • provision Keycloak
      • Login to keycloak and/or do a failed login
      • The relevant graphs in Grafana on the Keycloak Metrics dashboard should be updated (This is not the case for Logins and Login Errors)
      Show
      See AEROGEAR-2941 where this was discovered (includes info on tags in use) provision Metrics provision Keycloak Login to keycloak and/or do a failed login The relevant graphs in Grafana on the Keycloak Metrics dashboard should be updated (This is not the case for Logins and Login Errors)

      Keycloak logs

      Added 'admin' to '/opt/jboss/keycloak/standalone/configuration/keycloak-add-user.json', restart server to load user
      [KEYCLOAK DOCKER IMAGE] Using the external postgres database
      10:52:11,854 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
      10:52:11,966 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
      10:52:12,112 INFO  [org.jboss.as] (MSC service thread 1-8) WFLYSRV0049: Keycloak 3.4.3.Final (WildFly Core 3.0.8.Final) starting
      10:52:14,022 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      10:52:14,108 INFO  [org.wildfly.security] (Controller Boot Thread) ELY00001: WildFly Elytron version 1.1.6.Final
      10:52:14,121 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      10:52:14,265 INFO  [org.jboss.as.patching] (MSC service thread 1-7) WFLYPAT0050: Keycloak cumulative patch ID is: base, one-off patches include: none
      10:52:14,291 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-5) WFLYDM0111: Keystore /opt/jboss/keycloak/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
      10:52:14,366 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
      10:52:14,368 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: Keycloak 3.4.3.Final (WildFly Core 3.0.8.Final) started in 2507ms - Started 64 of 78 services (25 services are lazy, passive or on-demand)
      The batch executed successfully
      10:52:14,582 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: Keycloak 3.4.3.Final (WildFly Core 3.0.8.Final) stopped in 32ms
      10:52:15,337 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
      10:52:15,407 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
      10:52:15,511 INFO  [org.jboss.as] (MSC service thread 1-8) WFLYSRV0049: Keycloak 3.4.3.Final (WildFly Core 3.0.8.Final) starting
      10:52:16,965 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      10:52:17,054 INFO  [org.wildfly.security] (Controller Boot Thread) ELY00001: WildFly Elytron version 1.1.6.Final
      10:52:17,068 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      10:52:17,241 INFO  [org.jboss.as.patching] (MSC service thread 1-3) WFLYPAT0050: Keycloak cumulative patch ID is: base, one-off patches include: none
      10:52:17,263 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-2) WFLYDM0111: Keystore /opt/jboss/keycloak/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
      10:52:17,391 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
      10:52:17,393 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: Keycloak 3.4.3.Final (WildFly Core 3.0.8.Final) started in 2051ms - Started 64 of 83 services (30 services are lazy, passive or on-demand)
      The batch executed successfully
      10:52:17,609 INFO  [org.jboss.as] (MSC service thread 1-5) WFLYSRV0050: Keycloak 3.4.3.Final (WildFly Core 3.0.8.Final) stopped in 2ms
      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /opt/jboss/keycloak
      
        JAVA: /usr/lib/jvm/java/bin/java
      
        JAVA_OPTS:  -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
      
      =========================================================================
      
      10:52:18,101 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
      10:52:18,421 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
      10:52:18,556 INFO  [org.jboss.as] (MSC service thread 1-8) WFLYSRV0049: Keycloak 3.4.3.Final (WildFly Core 3.0.8.Final) starting
      10:52:20,098 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      10:52:20,133 INFO  [org.wildfly.security] (ServerService Thread Pool -- 8) ELY00001: WildFly Elytron version 1.1.6.Final
      10:52:20,152 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 22) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      10:52:20,276 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
      10:52:20,302 INFO  [org.xnio] (MSC service thread 1-3) XNIO version 3.5.4.Final
      10:52:20,318 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.5.4.Final
      10:52:20,436 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.5.Final
      10:52:20,451 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 26) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
      10:52:20,473 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 30) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
      10:52:20,474 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 26) WFLYJCA0005: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 42.1)
      10:52:20,480 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) WFLYCLINF0001: Activating Infinispan subsystem.
      10:52:20,488 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 32) WFLYRS0016: RESTEasy version 3.0.24.Final
      10:52:20,515 INFO  [org.jboss.as.connector] (MSC service thread 1-4) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.6.Final)
      10:52:20,517 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0018: Started Driver service with driver-name = h2
      10:52:20,517 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0018: Started Driver service with driver-name = postgresql
      10:52:20,525 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 37) WFLYNAM0001: Activating Naming Subsystem
      10:52:20,584 INFO  [org.jboss.as.naming] (MSC service thread 1-8) WFLYNAM0003: Starting Naming Service
      10:52:20,601 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 42) WFLYSEC0002: Activating Security Subsystem
      10:52:20,611 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 43) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
      10:52:20,616 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-7) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
      10:52:20,619 INFO  [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current PicketBox version=5.0.2.Final
      10:52:20,770 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0003: Undertow 1.4.18.Final starting
      10:52:20,771 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing.
      10:52:20,772 INFO  [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host.
      10:52:21,313 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 44) WFLYUT0014: Creating file handler for path '/opt/jboss/keycloak/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
      10:52:21,319 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server.
      10:52:21,323 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0018: Host default-host starting
      10:52:21,350 INFO  [org.jboss.as.ejb3] (MSC service thread 1-7) WFLYEJB0493: EJB subsystem suspension complete
      10:52:21,408 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTP listener default listening on 0.0.0.0:8080
      10:52:21,466 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
      10:52:21,466 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0001: Bound data source [java:jboss/datasources/KeycloakDS]
      10:52:21,533 INFO  [org.jboss.as.patching] (MSC service thread 1-8) WFLYPAT0050: Keycloak cumulative patch ID is: base, one-off patches include: none
      10:52:21,548 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-3) WFLYDM0111: Keystore /opt/jboss/keycloak/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
      10:52:21,566 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-8) WFLYDS0013: Started FileSystemDeploymentService for directory /opt/jboss/keycloak/standalone/deployments
      10:52:21,570 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "keycloak-server.war" (runtime-name: "keycloak-server.war")
      10:52:21,638 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTPS listener https listening on 0.0.0.0:8443
      10:52:22,103 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-6) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final
      10:52:22,410 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 50) WFLYCLINF0002: Started work cache from keycloak container
      10:52:22,411 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 47) WFLYCLINF0002: Started keys cache from keycloak container
      10:52:22,411 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 57) WFLYCLINF0002: Started authorization cache from keycloak container
      10:52:22,411 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 46) WFLYCLINF0002: Started users cache from keycloak container
      10:52:22,410 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 53) WFLYCLINF0002: Started actionTokens cache from keycloak container
      10:52:22,410 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 48) WFLYCLINF0002: Started offlineSessions cache from keycloak container
      10:52:22,413 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 49) WFLYCLINF0002: Started sessions cache from keycloak container
      10:52:22,413 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 52) WFLYCLINF0002: Started authenticationSessions cache from keycloak container
      10:52:22,413 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 55) WFLYCLINF0002: Started loginFailures cache from keycloak container
      10:52:22,413 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 56) WFLYCLINF0002: Started realms cache from keycloak container
      10:52:22,414 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 51) WFLYCLINF0002: Started offlineClientSessions cache from keycloak container
      10:52:22,423 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 58) WFLYCLINF0002: Started client-mappings cache from ejb container
      10:52:22,425 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 54) WFLYCLINF0002: Started clientSessions cache from keycloak container
      10:52:23,217 INFO  [org.keycloak.services] (ServerService Thread Pool -- 56) KC-SERVICES0001: Loading config from standalone.xml or domain.xml
      10:52:23,320 WARN  [org.keycloak.services] (ServerService Thread Pool -- 56) KC-SERVICES0047: metrics (org.jboss.aerogear.keycloak.metrics.MetricsEndpointFactory) is implementing the internal SPI realm-restapi-extension. This SPI is internal and may change without notice
      10:52:23,526 WARN  [org.keycloak.services] (ServerService Thread Pool -- 56) KC-SERVICES0047: metrics-listener (org.jboss.aerogear.keycloak.metrics.MetricsEventListenerFactory) is implementing the internal SPI eventsListener. This SPI is internal and may change without notice
      10:52:23,565 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 56) WFLYCLINF0002: Started realmRevisions cache from keycloak container
      10:52:23,570 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 56) WFLYCLINF0002: Started userRevisions cache from keycloak container
      10:52:23,584 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 56) WFLYCLINF0002: Started authorizationRevisions cache from keycloak container
      10:52:23,584 INFO  [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (ServerService Thread Pool -- 56) Node name: keycloak-8f66f494d-glq49, Site name: null
      10:52:26,115 INFO  [org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider] (ServerService Thread Pool -- 56) Initializing database schema. Using changelog META-INF/jpa-changelog-master.xml
      10:52:33,701 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 56) HHH000204: Processing PersistenceUnitInfo [
      	name: keycloak-default
      	...]
      10:52:33,758 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 56) HHH000412: Hibernate Core {5.1.10.Final}
      10:52:33,760 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 56) HHH000206: hibernate.properties not found
      10:52:33,762 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 56) HHH000021: Bytecode provider name : javassist
      10:52:33,793 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 56) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
      10:52:33,933 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 56) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL94Dialect
      10:52:34,089 INFO  [org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl] (ServerService Thread Pool -- 56) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
      10:52:34,091 INFO  [org.hibernate.type.BasicTypeRegistry] (ServerService Thread Pool -- 56) HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@326274ed
      10:52:34,098 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 56) Envers integration enabled? : true
      10:52:34,636 INFO  [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 56) HV000001: Hibernate Validator 5.3.5.Final
      10:52:35,411 INFO  [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 56) HHH000397: Using ASTQueryTranslatorFactory
      10:52:36,568 INFO  [org.keycloak.services] (ServerService Thread Pool -- 56) KC-SERVICES0050: Initializing master realm
      10:52:37,516 INFO  [org.keycloak.services] (ServerService Thread Pool -- 56) KC-SERVICES0006: Importing users from '/opt/jboss/keycloak/standalone/configuration/keycloak-add-user.json'
      10:52:37,956 INFO  [org.keycloak.services] (ServerService Thread Pool -- 56) KC-SERVICES0009: Added user 'admin' to realm 'master'
      10:52:38,018 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 56) RESTEASY002225: Deploying javax.ws.rs.core.Application: class org.keycloak.services.resources.KeycloakApplication
      10:52:38,021 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 56) RESTEASY002200: Adding class resource org.keycloak.services.resources.ThemeResource from Application class org.keycloak.services.resources.KeycloakApplication
      10:52:38,022 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 56) RESTEASY002205: Adding provider class org.keycloak.services.error.KeycloakErrorHandler from Application class org.keycloak.services.resources.KeycloakApplication
      10:52:38,022 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 56) RESTEASY002200: Adding class resource org.keycloak.services.resources.JsResource from Application class org.keycloak.services.resources.KeycloakApplication
      10:52:38,022 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 56) RESTEASY002205: Adding provider class org.keycloak.services.filters.KeycloakTransactionCommitter from Application class org.keycloak.services.resources.KeycloakApplication
      10:52:38,023 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 56) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.WelcomeResource from Application class org.keycloak.services.resources.KeycloakApplication
      10:52:38,023 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 56) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.admin.AdminRoot from Application class org.keycloak.services.resources.KeycloakApplication
      10:52:38,023 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 56) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.RobotsResource from Application class org.keycloak.services.resources.KeycloakApplication
      10:52:38,023 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 56) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.ServerVersionResource from Application class org.keycloak.services.resources.KeycloakApplication
      10:52:38,023 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 56) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.RealmsResource from Application class org.keycloak.services.resources.KeycloakApplication
      10:52:38,023 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 56) RESTEASY002210: Adding provider singleton org.keycloak.services.util.ObjectMapperResolver from Application class org.keycloak.services.resources.KeycloakApplication
      10:52:38,124 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 56) WFLYUT0021: Registered web context: '/auth' for server 'default-server'
      10:52:38,140 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 45) WFLYSRV0010: Deployed "keycloak-server.war" (runtime-name : "keycloak-server.war")
      10:52:38,226 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
      10:52:38,228 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management 
      10:52:38,229 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990 
      10:52:38,229 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: Keycloak 3.4.3.Final (WildFly Core 3.0.8.Final) started in 20491ms - Started 546 of 882 services (604 services are lazy, passive or on-demand)
      10:55:42,154 WARN  [org.keycloak.events] (default task-34) type=LOGIN_ERROR, realmId=master, clientId=security-admin-console, userId=394555d9-42c0-4373-9363-6977b145c5db, ipAddress=192.168.42.1, error=invalid_user_credentials, auth_method=openid-connect, auth_type=code, redirect_uri=https://keycloak-myproject.192.168.42.112.nip.io/auth/admin/master/console/ , code_id=ba341d61-b3ff-414a-a9aa-b6646ffbb61d, username=admin
      10:55:59,068 INFO  [org.jboss.aerogear.keycloak.metrics.MetricsEventListener] (default task-51) Received admin event of type CREATE (USER) in realm myproject
      11:04:35,354 WARN  [org.keycloak.events] (default task-51) type=LOGIN_ERROR, realmId=master, clientId=security-admin-console, userId=394555d9-42c0-4373-9363-6977b145c5db, ipAddress=192.168.42.1, error=invalid_user_credentials, auth_method=openid-connect, auth_type=code, redirect_uri=https://keycloak-myproject.192.168.42.112.nip.io/auth/admin/master/console/?redirect_fragment=%2Frealms%2Fmyproject , code_id=dcd6a8f2-fb20-4aa9-8ba9-f5ed27d08c8c, username=admin
      

      Prometheus endpoint

      # HELP jvm_threads_current Current thread count of a JVM
      # TYPE jvm_threads_current gauge
      jvm_threads_current 111.0
      # HELP jvm_threads_daemon Daemon thread count of a JVM
      # TYPE jvm_threads_daemon gauge
      jvm_threads_daemon 14.0
      # HELP jvm_threads_peak Peak thread count of a JVM
      # TYPE jvm_threads_peak gauge
      jvm_threads_peak 111.0
      # HELP jvm_threads_started_total Started thread count of a JVM
      # TYPE jvm_threads_started_total counter
      jvm_threads_started_total 171.0
      # HELP jvm_threads_deadlocked Cycles of JVM-threads that are in deadlock waiting to acquire object monitors or ownable synchronizers
      # TYPE jvm_threads_deadlocked gauge
      jvm_threads_deadlocked 0.0
      # HELP jvm_threads_deadlocked_monitor Cycles of JVM-threads that are in deadlock waiting to acquire object monitors
      # TYPE jvm_threads_deadlocked_monitor gauge
      jvm_threads_deadlocked_monitor 0.0
      # HELP keycloak_info Information about Keycloak instance
      # TYPE keycloak_info counter
      keycloak_info{java_version="1.8.0_151",} 1.0
      # HELP keycloak_failed_login_attempts Total failed login attempts
      # TYPE keycloak_failed_login_attempts counter
      # HELP jvm_gc_collection_seconds Time spent in a given JVM garbage collector in seconds.
      # TYPE jvm_gc_collection_seconds summary
      jvm_gc_collection_seconds_count{gc="PS Scavenge",} 20.0
      jvm_gc_collection_seconds_sum{gc="PS Scavenge",} 0.54
      jvm_gc_collection_seconds_count{gc="PS MarkSweep",} 2.0
      jvm_gc_collection_seconds_sum{gc="PS MarkSweep",} 0.306
      # HELP keycloak_registrations Total registered users
      # TYPE keycloak_registrations counter
      # HELP jvm_memory_bytes_used Used bytes of a given JVM memory area.
      # TYPE jvm_memory_bytes_used gauge
      jvm_memory_bytes_used{area="heap",} 1.21583376E8
      jvm_memory_bytes_used{area="nonheap",} 1.76744952E8
      # HELP jvm_memory_bytes_committed Committed (bytes) of a given JVM memory area.
      # TYPE jvm_memory_bytes_committed gauge
      jvm_memory_bytes_committed{area="heap",} 2.1495808E8
      jvm_memory_bytes_committed{area="nonheap",} 1.9202048E8
      # HELP jvm_memory_bytes_max Max (bytes) of a given JVM memory area.
      # TYPE jvm_memory_bytes_max gauge
      jvm_memory_bytes_max{area="heap",} 4.77626368E8
      jvm_memory_bytes_max{area="nonheap",} 1.59383552E9
      # HELP jvm_memory_pool_bytes_used Used bytes of a given JVM memory pool.
      # TYPE jvm_memory_pool_bytes_used gauge
      jvm_memory_pool_bytes_used{pool="Code Cache",} 4.1786624E7
      jvm_memory_pool_bytes_used{pool="Metaspace",} 1.19927104E8
      jvm_memory_pool_bytes_used{pool="Compressed Class Space",} 1.5031224E7
      jvm_memory_pool_bytes_used{pool="PS Eden Space",} 4.7890472E7
      jvm_memory_pool_bytes_used{pool="PS Survivor Space",} 3.429468E7
      jvm_memory_pool_bytes_used{pool="PS Old Gen",} 3.9434232E7
      # HELP jvm_memory_pool_bytes_committed Committed bytes of a given JVM memory pool.
      # TYPE jvm_memory_pool_bytes_committed gauge
      jvm_memory_pool_bytes_committed{pool="Code Cache",} 4.2074112E7
      jvm_memory_pool_bytes_committed{pool="Metaspace",} 1.3172736E8
      jvm_memory_pool_bytes_committed{pool="Compressed Class Space",} 1.8219008E7
      jvm_memory_pool_bytes_committed{pool="PS Eden Space",} 8.5458944E7
      jvm_memory_pool_bytes_committed{pool="PS Survivor Space",} 4.194304E7
      jvm_memory_pool_bytes_committed{pool="PS Old Gen",} 8.7556096E7
      # HELP jvm_memory_pool_bytes_max Max bytes of a given JVM memory pool.
      # TYPE jvm_memory_pool_bytes_max gauge
      jvm_memory_pool_bytes_max{pool="Code Cache",} 2.5165824E8
      jvm_memory_pool_bytes_max{pool="Metaspace",} 2.68435456E8
      jvm_memory_pool_bytes_max{pool="Compressed Class Space",} 1.073741824E9
      jvm_memory_pool_bytes_max{pool="PS Eden Space",} 9.0177536E7
      jvm_memory_pool_bytes_max{pool="PS Survivor Space",} 4.194304E7
      jvm_memory_pool_bytes_max{pool="PS Old Gen",} 3.58088704E8
      # HELP keycloak_logins Total successful logins
      # TYPE keycloak_logins counter
      # HELP keycloak_admin_event_DELETE Generic KeyCloak Admin event
      # TYPE keycloak_admin_event_DELETE counter
      # HELP keycloak_admin_event_ACTION Generic KeyCloak Admin event
      # TYPE keycloak_admin_event_ACTION counter
      # HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
      # TYPE process_cpu_seconds_total counter
      process_cpu_seconds_total 50.55
      # HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
      # TYPE process_start_time_seconds gauge
      process_start_time_seconds 1.528714337703E9
      # HELP process_open_fds Number of open file descriptors.
      # TYPE process_open_fds gauge
      process_open_fds 413.0
      # HELP process_max_fds Maximum number of open file descriptors.
      # TYPE process_max_fds gauge
      process_max_fds 1048576.0
      # HELP process_virtual_memory_bytes Virtual memory size in bytes.
      # TYPE process_virtual_memory_bytes gauge
      process_virtual_memory_bytes 2.38516224E9
      # HELP process_resident_memory_bytes Resident memory size in bytes.
      # TYPE process_resident_memory_bytes gauge
      process_resident_memory_bytes 5.426176E8
      # HELP keycloak_admin_event_UPDATE Generic KeyCloak Admin event
      # TYPE keycloak_admin_event_UPDATE counter
      # HELP jvm_info JVM version info
      # TYPE jvm_info gauge
      jvm_info{version="1.8.0_151-b12",vendor="Oracle Corporation",} 1.0
      # HELP keycloak_admin_event_CREATE Generic KeyCloak Admin event
      # TYPE keycloak_admin_event_CREATE counter
      keycloak_admin_event_CREATE{realm="myproject",resource="USER",} 1.0
      # HELP jvm_classes_loaded The number of classes that are currently loaded in the JVM
      # TYPE jvm_classes_loaded gauge
      jvm_classes_loaded 22163.0
      # HELP jvm_classes_loaded_total The total number of classes that have been loaded since the JVM has started execution
      # TYPE jvm_classes_loaded_total counter
      jvm_classes_loaded_total 22190.0
      # HELP jvm_classes_unloaded_total The total number of classes that have been unloaded since the JVM has started execution
      # TYPE jvm_classes_unloaded_total counter
      jvm_classes_unloaded_total 27.0
      

            Unassigned Unassigned
            davmarti@redhat.com David Martin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: