Class RegisteredServiceEntity

java.lang.Object
com.nmontytskyi.monitoring.server.entity.RegisteredServiceEntity

@Entity public class RegisteredServiceEntity extends Object
JPA entity representing a microservice registered in the monitoring system.

A service registers itself on startup (via the starter) by sending a POST request to /api/services. After that the server begins collecting its metrics via the pull scheduler and accepts push snapshots from its embedded aspect.

Maps to the registered_services table.

  • Constructor Details

    • RegisteredServiceEntity

      public RegisteredServiceEntity()