aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose/config
AgeCommit message (Collapse)AuthorFilesLines
2025-02-27Configure allowed request size for Nginxleventecsanyi1-0/+3
Issue-ID: CPS-2668 Change-Id: Ie7f1b2dcaa9883a40bc3e0e9c447b44ddf681f59 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2025-02-25Change metric name for LCM state gaugeemaclee1-1/+1
- change gauge name from cmHandlesByState to cps_ncmp_inventory_cm_handles_by_state Issue-id: CPS-2662 Change-Id: I97a036b155b638cd6ed94a739e3dffb7b6f00172 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2025-02-13Add healthchecks for docker-compose for k6 and CSITdanielhanrahan1-38/+0
To improve reliability and consistency of healthchecks in k6 and CSIT tests, they are implemented in docker-compose. This commit adds fail-fast logic, where k6 and CSITs will abort immediately if the containers won't start. Implementation: - Add healthchecks for docker containers used in tests. - Change k6 & CSIT tests to use docker healthchecks. - Tests will abort if containers are not healthy. - Start-up timeout for CPS containers is 90 seconds - Start-up timeout for other containers is 60 seconds Other Improvements: - Add --quiet-pull option to suppress junk output in Jenkins logs. - Add kpi.env file containing environment variables for KPI pipeline, just like endurance.env. This allows same code to run either suite. - Changed from port range to port number for Postgres exporter, since only a single instance runs, to be consistent with other containers Issue-ID: CPS-2630 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I50929ca4061bb844fca87a0d6c3103aaa2c45e0b
2025-02-05Add Hikari dashboard to Grafanahalil.cakal5-657/+1028
- hikari dashboard will insight into db connection pool such as connection count e.g. min, max, and idle. - change coloring for some panel from JVM dashboard - add tags to the dashboards Issue-ID: CPS-2592 Change-Id: Ibfb49ab5c1e338d04a7c8f18a413b5db7b8d5ad7 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2025-01-31Enable filtering by instancehalil.cakal1-39/+39
- if kpi and endurance suits runing together at the same time, instance flag will help to filter either of them. otherwise the stats for both suits will be visible on a single plot together. Issue-ID: CPS-2585 Change-Id: I422adb0afd3a618c477989a9396636f63808c275 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2025-01-30Add new dashboard to monitor some of the stats of PostgreSQLhalil.cakal3-1/+2254
- add postgres-exporter service to expose postgresql db metrics to prometheus - add new job scraper to prometheus for both kpi and endurance jobs - add new dashboard: postgresql-statistics to the grafana Issue-ID: CPS-2585 Change-Id: Ia7ede41d00364918b1054d9b5a38e2feea4fc8e5 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2025-01-24Add Data dashboard to Grafanahalil.cakal1-0/+276
- data dashboard for NCMP Data operations (NetworkCmProxyController.java) Issue-ID: CPS-2537 Change-Id: Ic518e9169057691702d0d760468e114f5a9fbd7d Signed-off-by: halil.cakal <halil.cakal@est.tech>
2025-01-21Add dashboard for Inventory REST interfaceshalil.cakal1-216/+24
- rename lcm-state dashboard to inventory - remove panels holding a single state of cm handle - add panel for inventory APIs calls by URI and the STATUS Issue-ID: CPS-2567 Change-Id: I374fa18b53d456519142cf059f74b2a070485355 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2025-01-16Add LCM State dashboard to Grafanahalil.cakal1-0/+562
- adding a grafana dashboard for lcm state changes of cm handles Issue-ID: CPS-2558 Change-Id: Ie00884736ffa5c08e1be150c71cf8ac603f2ab60 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-12-04Plot metrics for each cps-and-ncmp instance separately in Grafanahalil.cakal2-2/+12
- assing port range to cps-and-ncmp service to plot metrics separately Issue-ID: CPS-2536 Change-Id: Ic097017bbcca25f28341e8e77f658a0a4e8964d7 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-11-01Add docker compose deployment for endurance testshalil.cakal1-0/+35
- add new config file containing env variables for endurance test - add notes to describe how to run and stop it Note 1: Existing docker-compose deployment won't be affected by this changes Note 2: Both docker-compose can be deployed simultaneously without any issue Issue-ID: CPS-2463 Change-Id: I15936718dda2f31a5077b9c36eded21c1a85dfcd Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-10-09Autodiscover cps-and-ncmp containers when load balancinghalil.cakal2-10/+10
- remove hard-coded container names from load balancer(nginx) and prometheus Issue-ID: CPS-2437 Change-Id: Ia64b949c2eb3e4d67e123b046e66d5bfdda2c801 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-10-03Policy Executor: handle errors, part 2ToineSiebelink1-0/+1
(fighting between IntelliJ and Checkstyle best practices) - non-2xx responses are processed using web client exceptions - handle unknown host exception - upgraded spotbugs (checkstyle and related mvn plugin) - fixed some small spotbugs due to upgrade - added commented instructions in docker compose to enable debugging - added some environment variables for policy executor configuration - extract out Sleeper in stub service to achieve 100% coverage - added cause to Policy Executor exceptions where applicable - ignored (new) spotbug rule about catch NPE because of issue in 3pp - ignored (new) spotbug rule about \n in string due to multiline string block Issue-ID: CPS-2412 Change-Id: I6835a73320c436cbeea12cc7a06f15899eec7bf1 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-09-19Make nginx load balance using least-connectionsdanielhanrahan1-1/+3
By default, nginx uses round robin for load balancing. Round robin works well when all requests take same amount of time, but is not optimal for dynamic loads. With least-connected load balancing, nginx will try not to overload a busy server with excessive requests, sending requests to a less busy server instead. Issue-ID: CPS-2415 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I0e7d6b36a79aa6541f2f5f667746f2792d55e54b
2024-08-23Support 2 CPS instances in Prometheus/Grafanadanielhanrahan7-0/+3699
- Specify both cps-and-ncmp instances in Prometheus config - Add default JVM Micrometer dashboard to Grafana, taken from https://grafana.com/grafana/dashboards/4701-jvm-micrometer/ Issue-ID: CPS-2314 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I24a42b8b4771a7d9341e920fbd85fa72e1a3518e