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:
Zhu Jiekun 2024-08-30 16:31:14 +08:00 committed by GitHub
parent b27c4b198f
commit f572365a93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View file

@ -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`.
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

View file

@ -617,12 +617,10 @@ Single-node VictoriaMetrics:
curl -Is http://localhost:8428/internal/resetRollupResultCache
```
Cluster version of VictoriaMetrics:
```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