Add v1 to metrics API endpoint
Fixes #1399 This versions the prometheus metrics API so we can manage backwards incompatible changes in the future more easily. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -257,7 +257,7 @@ Waiting on things like the container's exit status and cgroup metrics are setup
|
||||
If you are familiar with prometheus you can curl the containerd metrics endpoint (in the `config.toml` that we created) to see your container's metrics:
|
||||
|
||||
```bash
|
||||
> curl 127.0.0.1:1338/metrics
|
||||
> curl 127.0.0.1:1338/v1/metrics
|
||||
```
|
||||
|
||||
Pretty cool right?
|
||||
|
Reference in New Issue
Block a user