Enabling Glowroot on PaaS

Liferay DXP 2023.Q4+/Portal 7.4 GA100+

Glowroot is included with Liferay in the /opt/liferay/glowroot folder.

If you’re running Liferay in a clustered environment, enable Glowroot with JVM options:

"env": {
  "LIFERAY_JVM_OPTS": "-javaagent:/opt/liferay/glowroot/glowroot.jar -Dglowroot.enabled=true"
}

If your Liferay instance is not clustered, you can persist Glowroot data. To enable Glowroot and persist its data, follow these steps:

  1. Create a directory to store this data in /mnt/persistent-storage:

    mkdir /mnt/persistent-storage/glowroot-data
    
  2. Enable Glowroot and configure the data directory with JVM options:

    "env": {
      "LIFERAY_JVM_OPTS": "-javaagent:/opt/liferay/glowroot/glowroot.jar -Dglowroot.data.dir=/mnt/persistent-storage/glowroot-data -Dglowroot.enabled=true"
    }
    

Accessing Glowroot

  1. Visit the site and log in.

  2. Append /o/glowroot to the end of the site’s URL. For example, if the site’s URL is https://webserver-acme-dev.lfr.cloud, navigate to https://webserver-acme-dev.lfr.cloud/o/glowroot.

  3. Create an Administrator user with a username and secure password. Then delete the anonymous user.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy