1: Download the sentinel-Dashboard source code or jar: Address: https://github.com/alibaba/Sentinel/releases
2: Deployment Dashboard
3: spring boot project to add the following configuration:
spring: cloud: sentinel: transport: # Designated sentinel console address dashboard: 10.100.10.84:9016 IP # and specify the console to communicate, if configured, will automatically select an IP registration client-ip: ${eureka.instance.ip-address} # Specify the port and the console to communicate Oh, the default value 8719 # Is not configured automatically scan cat scan cat from the beginning of 8719, followed +1, know the value of the port to find an unoccupied port: ${thc.sentinel.port} # Sending heartbeat cycle, the default value is null # But SimpleHttpHeartbeatSender will use the default value of 10 seconds heartbeat-interval-ms: 10000
4: pom introduced jar file
<!-- sentinel --> <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId> <version>2.1.1.RELEASE</version> </dependency>
5: Access an interface to address the deployment of Dashboard view information about it!
6: the effect is as follows:
7: Attach the underlying page tutorial