diff --git a/prometheus.yml b/prometheus.yml new file mode 100644 index 0000000..3452a02 --- /dev/null +++ b/prometheus.yml @@ -0,0 +1,13 @@ +global: + scrape_interval: 10s + evaluation_interval: 1m + + external_labels: + monitor: 'haru-order-service' + + +scrape_configs: + - job_name: 'order-server' + metrics_path: '/actuator/prometheus' + static_configs: + - targets: ['localhost:8081'] \ No newline at end of file