...
Suggested Tasks
Description | Jira | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add new | k6 performance test | suitprofile ‘Endurance’ |
| ||||||||
Add new Jenkins job to run endurance test |
| ||||||||||
Add Grafana support to visualize memory usage pattern |
| ||||||||||
Two docker-compose deployments simultaneously |
| ||||||||||
Agree and Define new ‘Suite’ (js) |
|
Solution Proposal
Agree and Define new ‘Suite’ (js)
...
As mentioned in issues/decisions, there are two alternative ways of representing memory trends: Grafana and GNUPlotGnuPlot.
Grafana
EST has its own Prometheus and Grafana
...
(externally accessible, no need to install Globalprotect) and it can be configured to show cps-and-ncmp memory trends.
Link to EST Grafana: https://monitoring.nordix.org/login
...
Through prometheus.yml (of EST), a new scrape_configs for the cps-and-ncmp microservice can be added
...
.
Code Block | ||
---|---|---|
| ||
scrape_configs:
- job_name: 'cps-and-ncmp'
metrics_path: '/actuator/prometheus'
scrape_interval: 5s
static_configs:
- targets:
- 'cps-and-ncmp:8080' // replace by <physical-server-ip:port> |
...
Also, the dashboard provider and dashboard config (jvm-micrometer-dashboard.json) can be added.
Code Block | ||
---|---|---|
| ||
providers:
- name: default
orgId: 1
type: file
options:
path: /var/lib/grafana/dashboards
foldersFromFilesStructure: true |
Then, the trend of G1 Old Gen space can be observed as seen below:
...
...
Permanent Storage Alternatives
Prometheus
Configuring the Prometheus with a persistet volume to retain data is possible.
GNUPlot
GnuPlot can also draw a plot for only G1 Old Gen space
...
.