Skip to content

Commit d8dae63

Browse files
author
Ricardo Gamba
committed
Update README
1 parent a121eee commit d8dae63

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,33 @@ Discard-Response: Yes
127127

128128
The response will always be an immediate HTTP response with `201` status code and no body.
129129

130+
# Dashboard
130131

132+
Each postgres instance comes with a built-in dashboard service which by default you can access on `http://localhost:18130`
131133

134+
# Stats API
135+
136+
## Get Request metrics
137+
138+
```bash
139+
curl http://localhost:18130/stats/requests
140+
```
141+
142+
Response
143+
144+
```javascript
145+
{
146+
"incoming": {
147+
"last_minute": {
148+
"<service-name>": 1
149+
}
150+
},
151+
"outgoing": {
152+
"last_minute": {
153+
"<service-name>": 1
154+
}
155+
}
156+
}
157+
```
132158

133159

0 commit comments

Comments
 (0)