danielhanrahan | fe22688 | 2024-08-23 13:29:11 +0100 | [diff] [blame] | 1 | global: |
| 2 | scrape_interval: 5s |
| 3 | evaluation_interval: 5s |
| 4 | |
| 5 | scrape_configs: |
halil.cakal | 69bd654 | 2024-10-07 16:48:05 +0100 | [diff] [blame] | 6 | - job_name: 'cps-and-ncmp' |
| 7 | metrics_path: '/actuator/prometheus' |
| 8 | scrape_interval: 5s |
| 9 | static_configs: |
| 10 | # If you want to inject Prometheus into particular containers, the targets should be provided similar to the following examples: |
| 11 | # - 'docker-compose-cps-and-ncmp-1:8080' |
| 12 | # - 'docker-compose-cps-and-ncmp-2:8080' |
| 13 | - targets: |
| 14 | - 'cps-and-ncmp:8080' |