## Grafana 에서 Prometheus 정보를 읽어오지 못하는 오류 ### 문제현상 <img width="2304" height="1009" alt="Image" src="https://github.com/user-attachments/assets/2b170e04-e533-4cbb-9505-52a06de2b62b" /> Prometheus에서는 SpringBoot 서버의 데이터를 잘 수집하고 있으나, Grafana에서 Prometheus에서 변수 매핑 문제로 정보를 가져오지 못하는 현상 발생. --- ### 원인분석 <img width="2245" height="404" alt="Image" src="https://github.com/user-attachments/assets/4c56a3a0-6a79-4450-aa5c-e2b46f2e7265" /> Grafana가 사용하는 필터가 Prometheus에서 SpringBoot를 걸러냄. ### 해결방법 <img width="2303" height="465" alt="Image" src="https://github.com/user-attachments/assets/1844a512-5dde-424b-9551-2e1d7b9303e5" /> 필터를 단순하게 하여 SpringBoot를 찾을 수 있게 함. ### 결과 <img width="2277" height="1395" alt="Image" src="https://github.com/user-attachments/assets/d140ed79-e3c9-4c3c-bb53-726f187a42ca" />