From 82e57f3b9a30c5014961be536f42801dc50966af Mon Sep 17 00:00:00 2001 From: Jaeyoon Lee <63213487+sosow0212@users.noreply.github.com> Date: Wed, 16 Aug 2023 12:40:51 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20prometheus=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20(#523)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/backend-deploy.yml | 2 +- backend/src/main/resources/application.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/backend-deploy.yml b/.github/workflows/backend-deploy.yml index f0ca014c8..f0de45348 100644 --- a/.github/workflows/backend-deploy.yml +++ b/.github/workflows/backend-deploy.yml @@ -80,7 +80,7 @@ jobs: sudo docker stop backend || true sudo docker container prune -f - sudo docker run -d -p 8080:8080 \ + sudo docker run -d -p 8080:8080 -p 8088:8088 \ -e "SPRING_PROFILE=prod" \ -e "ENCRYPT_KEY=${{secrets.JASYPT_KEY}}" \ -e "DATABASE_USERNAME=${{secrets.DATABASE_USERNAME}}" \ diff --git a/backend/src/main/resources/application.yml b/backend/src/main/resources/application.yml index db995ea8d..4270d0740 100644 --- a/backend/src/main/resources/application.yml +++ b/backend/src/main/resources/application.yml @@ -21,10 +21,12 @@ api: ENC(EnFwYm2ZuLwCTIgLIiqtqqw+IdtZ4UNb2GiNWl9s46gDk2SaEu7U5XfJuijkLufufXbUwIaSsCAiG3UpbtamTRwXvebdQDHLo6Y7lPRQ4L3d+Q2m24E/Btg83V68kCu9RFpzf/6/3u+6Wl961HeZiIDdL255xcbkZlKxWy4jVELkONxUWz9awzQuJw2CwsNv4WkK5TMk4gxQTh8ZJUDyQEqmUgGtLcH+edtOnFu9IIjgLX3CvCe+7Kxv4WtP3nRlGsg+/Xbxck6mmoqdqXWppeXF0zVBOwsnr4vtWRGM/1PD6rJvQN9hnWQmW0IE3x5NDM/usDkdBMhBDmtbtpmxibbXTSc58A/idDOcUwlZrbLx89OppXNcIDYIn6iMyf3Fo6/sYMSt1YJqC1WxlkKjLqs69bZtjF5TkBHFOneAV4vHo8/2g0V/FauNYPry2FULsbgeAO2w1K1OTey+pa4DjXoLmhmfK6VEFlf2NJhAlqTPDJakfwtb8yheLVuRIqtyBaMwWtrzYdON4G/d03vvjGskqP/h5UXGwkJGpS6u+Gdcxjvs2/IfB1FO1dNA2QTr7m2wWcyAaIG6MrUtZM9Hp5qu7VvqCnK8TNrhBUoqLA1fNs6Xy6kVYhOMXqer1sGs6svoFOuu2zIPUmb+OcKWTQv9d/HgcrFtJrP/gmkYsdOUDpKCWqzIjz6KvSui3cbIAlPTgpJsbN/yTe9RU10D8kGSDcXcR75W+LtRj4Xl1Vd33ElMZ5brCdAy7dPyFo0jcUH7AWa713HTmUk6ZH0BLoeyW8tAbKpI/vUR0mbIxx7JWAFQ4hok5f4xkoXbCGoQtSvZUI8ZB9A=) management: + server: + port: 8088 endpoints: web: exposure: - include: info, health, prometheus + include: prometheus jwt: secret: ENC(t6iKCv1Nj+ygRxG2oZCw3l4v9y0ALS2GfQwYIKvO0tRuPzFp4UYRZYfBFdBW+xQl77rOLbfIPJ13tys/tXj3Qw==)