From 59ea9190a53f940da79f5d6da8911439380bd96e Mon Sep 17 00:00:00 2001 From: SEONMl Date: Fri, 23 Sep 2022 14:17:11 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20#19=20prometheus.yml=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prometheus.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 prometheus.yml 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