You can use the monitor-1.0 feature to monitor the server runtime environment.
To enable monitoring for your Liberty profile, you add monitor-1.0 Liberty feature in the server.xml file.