Skip to content
No description, website, or topics provided.
TypeScript HTML JavaScript Shell CSS Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Web front-end for container-jfr, providing a graphical user interface for managing JFR on remote JVMs

Development server

Run a container-jfr instance with WebSocket communication enabled, listening on port 9090. For example,

docker run --name container-jfr --hostname container-jfr -d --rm -p 9090:9090 -p 9091:9091

will run a suitable instance using Docker.

Then, run the mockapi.server.js in this project using Node, ie node mockapi.server.js &

Finally, run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.


Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

A Docker image can be produced with ex. docker build -t container-jfr-web . . The URL used for automatic connection to the

background container-jfr instance can be configured at Docker container startup time by setting the environment variable

CONTAINER_JFR_URL to the desired URL (be sure to include any paths if required, and that the protocol is ws://). Additionally,

upload of Flight Recordings to a Grafana jfr-datasource can be enabled in the Archived recordings component by setting the environment

variable GRAFANA_DATASOURCE_URL, set to the base URL of the jfr-datasource instance (including http(s)://). If this is set then

the corresponding GRAFANA_DASHBOARD_URL environment variable should be set, which points to the location of a Grafana instance to which

the datasource is attached.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

You can’t perform that action at this time.