Monitor WasmVM cache metrics (#503)

* Start collect WasmVM cache metrics

* Review comments

* Integrate wasmvm metrics

* Bring all together
This commit is contained in:
Alexander Peters
2021-04-28 15:08:54 +02:00
committed by GitHub
parent 846611bcd2
commit 70dedadb9c
8 changed files with 121 additions and 9 deletions

View File

@@ -18,7 +18,6 @@ prometheus-retention-time = 15
`retention-time` must be >0 (see prometheus scrape config)
* Edit `$HOME/config/config.toml`
```toml
[instrumentation]
@@ -28,6 +27,13 @@ prometheus-retention-time = 15
# Check out the documentation for the list of available metrics.
prometheus = true
```
Test manually at:
`http://localhost:1317/metrics?format=prometheus`
Note the `format` parameter in the request for the endpoint:
# Local testing
## Run Prometheus
```sh