Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions samples/metrics-extend-healthcheck/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ In this demo,we had make two checkers :
</dependency>
```

### Start service
```bash
mvn spring-boot:run
```

### Do check and get result
If you had config rest transport address in microservice.yaml like:
```yaml
Expand Down
12 changes: 11 additions & 1 deletion samples/metrics-write-file-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,14 @@ This module contain log4j2 MetricsFileWriter implement if your project use it as
This module contain log4j MetricsFileWriter implement if your project use it as Logging component.

## How to use
Startup ServiceApplication in metrics-write-file-log4j2-springboot or metrics-write-file-log4j-springboot,you can see metric files had generated in **target/metric** folder,open your browser and make a request to http://localhost:8080/f ,wait a moment then you can see invocation metric files also be generated.
Startup ServiceApplication in metrics-write-file-log4j2-springboot or metrics-write-file-log4j-springboot

1. If start service by maven
```bash
mvn spring-boot:run
```
you can see metric files had generated in **samples/metrics-write-file-sample/metrics-write-file-log4j(log4j2)-springboot/target/metric** folder,open your browser and make a request to http://localhost:8080/f ,wait a moment then you can see invocation metric files also be generated.

2. If start service by IDE

you can see metric files had generated in **target/metric** folder,open your browser and make a request to http://localhost:8080/f ,wait a moment then you can see invocation metric files also be generated.