What is Spring Boot Actuator and what does it provide? स्प्रिंग बूट एक्चुएटर क्या है और यह क्या प्रदान करता है?
Spring Boot Actuator is a sub-project that adds production-ready features for monitoring and managing an application, exposing operational information through HTTP endpoints or JMX.
It provides built-in endpoints such as /actuator/health for health checks, /actuator/metrics for JVM and application metrics, /actuator/env for environment properties, and /actuator/info for build metadata. Endpoints are individually enabled or disabled through configuration, and sensitive endpoints can be secured with Spring Security.
management.endpoints.web.exposure.include=health,metrics,info
management.endpoint.health.show-details=always
| Endpoint | Purpose |
|---|---|
| /actuator/health | Application health status |
| /actuator/metrics | JVM & app metrics |
| /actuator/env | Environment properties |
स्प्रिंग बूट एक्चुएटर एक सब-प्रोजेक्ट है जो एप्लिकेशन की मॉनिटरिंग और मैनेजमेंट के लिए प्रोडक्शन-रेडी फीचर्स जोड़ता है, और HTTP एंडपॉइंट्स या JMX के ज़रिए ऑपरेशनल जानकारी उजागर करता है।
यह /actuator/health, /actuator/metrics, /actuator/env और /actuator/info जैसे बिल्ट-इन एंडपॉइंट्स प्रदान करता है। एंडपॉइंट्स को कॉन्फिगरेशन के ज़रिए अलग-अलग सक्षम या अक्षम किया जा सकता है, और संवेदनशील एंडपॉइंट्स को स्प्रिंग सिक्योरिटी से सुरक्षित किया जा सकता है।
management.endpoints.web.exposure.include=health,metrics,info
management.endpoint.health.show-details=always
| एंडपॉइंट | उद्देश्य |
|---|---|
| /actuator/health | एप्लिकेशन हेल्थ स्टेटस |
| /actuator/metrics | JVM और ऐप मेट्रिक्स |
| /actuator/env | एनवायरनमेंट प्रॉपर्टीज़ |
Was this answer clear?