Class MonitoringServerApplication
java.lang.Object
com.nmontytskyi.monitoring.server.MonitoringServerApplication
@SpringBootApplication
@EnableScheduling
@ConfigurationPropertiesScan
public class MonitoringServerApplication
extends Object
Entry point for the Monitoring Server application.
The server is the central component of the monitoring system. It collects metrics from registered microservices via two channels:
- Push — microservices send
MetricSnapshotdata to the REST API via the embeddedmonitoring-spring-boot-starter. - Pull — a scheduler periodically calls
/actuatorendpoints on every registered service to collect health and resource metrics.
The application exposes a REST API (FR-2), a web dashboard (FR-3), and an alerting engine (FR-4).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MonitoringServerApplication
public MonitoringServerApplication()
-
-
Method Details
-
main
-