home/versioned_docs/version-1.7.x/help/eureka_sd.md
HertzBeat integrates with Eureka registry to automatically discover service instances and create monitoring tasks for them.
Eureka Service Discovery allows HertzBeat to connect to your Eureka server and automatically discover all registered service instances. When a new service instance is registered or an existing instance goes offline, HertzBeat will automatically create or delete corresponding monitoring tasks, achieving automated monitoring in microservice environments.
http://your-eureka-server:port/| Parameter name | Parameter help description |
|---|---|
| Target Name | Identify the name of this monitoring. The name needs to be unique |
| Eureka Service Discovery Url | Eureka server address. Example: http://eureka-server:8761/eureka |
| Collection interval | Interval time of monitor periodic data collection, unit: second, and the minimum interval that can be set is 30 seconds |
| Description remarks | For more information about identifying and describing this monitoring, users can note information here |
Create Service Discovery Monitoring
Configure Monitoring Template
Automatic Discovery
View Discovered Instances
Suppose your Eureka server is running at http://192.168.1.100:8761/eureka, and you want to automatically monitor all service instances registered in it.
Configuration example:
Eureka-Service-Discoveryhttp://192.168.1.100:8761/eureka60 secondsPort monitoring (to detect instance availability)After configuration:
USER-SERVICE-192.168.1.101:8080){ApplicationName}-{Host}:{Port}| Metric name | Metric unit | Metric help description |
|---|---|---|
| target | none | Discovered service instance target |
| host | none | Service instance host address |
| port | none | Service instance port number |