Skip to content

Commit

Permalink
docs: add instruction on how to monika monika locally using Prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
haricnugraha committed Dec 27, 2023
1 parent e0cd4f4 commit b3a71b0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ For contribution details on how to add custom notifications [see the New Notific

If you are developing feature/fix related to notification by making changes inside the `packages/notification` folder, it's easier to temporarily change the dependency source in `package.json` to be like this

```
```json
"@hyperjumptech/monika-notification": "*"
```

Expand Down Expand Up @@ -124,6 +124,12 @@ probes:
- uri: redis://:redis_password@localhost:6379
```
### How to Monitor Monika Locally
1. Run [Prometheus](https://prometheus.io/). Run `docker compose -f ./dev/prometheus/docker-compose.yaml up`.
2. Run Monika with the Prometheus flag. Run `npm start -- --prometheus 3001`.
3. Open Prometheus [Expression Browser](https://prometheus.io/docs/visualization/browser/). Visit `http://localhost:9090/graph`.

## Development References

The tools and frameworks we used in this project are listed below:
Expand Down

0 comments on commit b3a71b0

Please sign in to comment.