aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose/config
AgeCommit message (Collapse)AuthorFilesLines
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