Enabling Glowroot on PaaS
Liferay DXP 2023.Q4+/Portal 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:
- 
Create a directory to store this data in /mnt/persistent-storage:mkdir /mnt/persistent-storage/glowroot-data
- 
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
- 
Visit the site and log in. 
- 
Append /o/glowrootto the end of the site’s URL. For example, if the site’s URL ishttps://webserver-acme-dev.lfr.cloud, navigate tohttps://webserver-acme-dev.lfr.cloud/o/glowroot.
- 
Create an Administrator user with a username and secure password. Then delete the anonymous user.