
- Run the server
```
go run main.go
```

- Call the API with curl
```
curl localhost:8080/hello -i
```

- You can see the default logs the console that runs the server. The logs are associated with an unique trace id.
```
[2023/01/20 10:57:13.471 +08:00] [INFO] [middlewares.go:42] [begin] [trace_id=93f90e71cfb28a486528eebfd48f5273] [path=/hello] [method=GET]
[2023/01/20 10:57:13.471 +08:00] [INFO] [middlewares.go:45] [end] [trace_id=93f90e71cfb28a486528eebfd48f5273] [path=/hello] [method=GET] [cost=60.375µs] [statusCode=200]
```
- You can check the metrics by calling the metrics server runs on 9090
```
curl localhost:9090/metrics
```
