Loading core/src/main/resources/prometheus.yml 0 → 100644 +16 −0 Original line number Diff line number Diff line global: scrape_interval: 15s evaluation_interval: 15s # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: - job_name: 'prometheus job' static_configs: - targets: ['localhost:9090'] - job_name: 'metrics for electricity microservice' metrics_path: '/actuator/prometheus' scrape_interval: 5s static_configs: - targets: ['smart-energy-management-system-core-service-1:8080'] No newline at end of file electricityTarifMicroservice/src/main/resources/prometheus.yml 0 → 100644 +16 −0 Original line number Diff line number Diff line global: scrape_interval: 15s evaluation_interval: 15s # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: - job_name: 'prometheus job' static_configs: - targets: ['localhost:9091'] - job_name: 'metrics for electricity microservice' metrics_path: '/actuator/prometheus' scrape_interval: 5s static_configs: - targets: ['smart-energy-management-system-electricity-price-service-1:8088'] No newline at end of file emailmicroservice/src/main/resources/application.yaml +2 −1 Original line number Diff line number Diff line Loading @@ -30,3 +30,4 @@ management: web: exposure: include: '*' emailmicroservice/src/main/resources/prometheus.yml 0 → 100644 +16 −0 Original line number Diff line number Diff line global: scrape_interval: 15s evaluation_interval: 15s # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: - job_name: 'prometheus job' static_configs: - targets: ['localhost:9092'] - job_name: 'metrics for electricity microservice' metrics_path: '/actuator/prometheus' scrape_interval: 5s static_configs: - targets: ['smart-energy-management-system-email-service-1:8081'] No newline at end of file statistics/src/main/resources/prometheus.yml 0 → 100644 +15 −0 Original line number Diff line number Diff line global: scrape_interval: 15s # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: - job_name: 'prometheus job' static_configs: - targets: ['localhost:9093'] - job_name: 'metrics for electricity microservice' metrics_path: '/actuator/prometheus' scrape_interval: 5s static_configs: - targets: ['localhost:8090'] No newline at end of file Loading
core/src/main/resources/prometheus.yml 0 → 100644 +16 −0 Original line number Diff line number Diff line global: scrape_interval: 15s evaluation_interval: 15s # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: - job_name: 'prometheus job' static_configs: - targets: ['localhost:9090'] - job_name: 'metrics for electricity microservice' metrics_path: '/actuator/prometheus' scrape_interval: 5s static_configs: - targets: ['smart-energy-management-system-core-service-1:8080'] No newline at end of file
electricityTarifMicroservice/src/main/resources/prometheus.yml 0 → 100644 +16 −0 Original line number Diff line number Diff line global: scrape_interval: 15s evaluation_interval: 15s # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: - job_name: 'prometheus job' static_configs: - targets: ['localhost:9091'] - job_name: 'metrics for electricity microservice' metrics_path: '/actuator/prometheus' scrape_interval: 5s static_configs: - targets: ['smart-energy-management-system-electricity-price-service-1:8088'] No newline at end of file
emailmicroservice/src/main/resources/application.yaml +2 −1 Original line number Diff line number Diff line Loading @@ -30,3 +30,4 @@ management: web: exposure: include: '*'
emailmicroservice/src/main/resources/prometheus.yml 0 → 100644 +16 −0 Original line number Diff line number Diff line global: scrape_interval: 15s evaluation_interval: 15s # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: - job_name: 'prometheus job' static_configs: - targets: ['localhost:9092'] - job_name: 'metrics for electricity microservice' metrics_path: '/actuator/prometheus' scrape_interval: 5s static_configs: - targets: ['smart-energy-management-system-email-service-1:8081'] No newline at end of file
statistics/src/main/resources/prometheus.yml 0 → 100644 +15 −0 Original line number Diff line number Diff line global: scrape_interval: 15s # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: - job_name: 'prometheus job' static_configs: - targets: ['localhost:9093'] - job_name: 'metrics for electricity microservice' metrics_path: '/actuator/prometheus' scrape_interval: 5s static_configs: - targets: ['localhost:8090'] No newline at end of file