Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Suggested Tasks

k6 performance suitAdd new k6 test suit

Description

Jira

Add new

test

profile ‘Endurance’

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyCPS-2464

Add new Jenkins job to run endurance test

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyCPS-2465

Add Grafana support to visualize memory usage pattern

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyCPS-2466

Two docker-compose deployments simultaneously

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyCPS-2463

Agree and Define new ‘Suite’ (js)

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyCPS-2493

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
languageyaml
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
languageyaml
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

...

.