mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs: fix incorrect URLs for resetCache and OTel guide (#6906)
### Describe Your Changes This pull request fixes incorrect URLs in two places: 1. In the OTel guide, which has been corrected in https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6880, but one incorrect URL is still missing. 2. In the URL example, the cache reset endpoint for vmselect / Cluster version is `/internal/resetRollupResultCache`, but it is mistakenly noted as `/select/internal/resetRollupResultCache`, which misguides the user. (introduced in #4468) ### Checklist The following checks are **mandatory**: - [x] My change adheres [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/).
This commit is contained in:
parent
b27c4b198f
commit
f572365a93
2 changed files with 2 additions and 4 deletions
|
@ -314,7 +314,7 @@ func newMetricsController(ctx context.Context) (*controller.Controller, error) {
|
||||||
|
|
||||||
This controller will collect and push collected metrics to VictoriaMetrics address with interval of `10s`.
|
This controller will collect and push collected metrics to VictoriaMetrics address with interval of `10s`.
|
||||||
|
|
||||||
See the full source code of the example [here](/guides/app.go.example).
|
See the full source code of the example [here](app.go.example).
|
||||||
|
|
||||||
### Test metrics ingestion
|
### Test metrics ingestion
|
||||||
|
|
||||||
|
|
|
@ -617,12 +617,10 @@ Single-node VictoriaMetrics:
|
||||||
curl -Is http://localhost:8428/internal/resetRollupResultCache
|
curl -Is http://localhost:8428/internal/resetRollupResultCache
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Cluster version of VictoriaMetrics:
|
Cluster version of VictoriaMetrics:
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -Is http://<vmselect>:8481/select/internal/resetRollupResultCache
|
curl -Is http://<vmselect>:8481/internal/resetRollupResultCache
|
||||||
```
|
```
|
||||||
|
|
||||||
vmselect will propagate this call to the rest of the vmselects listed in its `-selectNode` cmd-line flag. If this
|
vmselect will propagate this call to the rest of the vmselects listed in its `-selectNode` cmd-line flag. If this
|
||||||
|
|
Loading…
Reference in a new issue