diff --git a/docs/README.md b/docs/README.md index 17b02fc13..a28b8302c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1577,6 +1577,9 @@ exporters: encoding: proto endpoint: http://..svc.cluster.local:/opentelemetry ``` +> Note, [cluster version of VM](https://docs.victoriametrics.com/cluster-victoriametrics/#url-format) expects specifying tenant ID, i.e. `http://:/insert//opentelemetry`. +> See more about [multitenancy](https://docs.victoriametrics.com/cluster-victoriametrics/#multitenancy). + Remember to add the exporter to the desired service pipeline in order to activate the exporter. ```yaml service: diff --git a/docs/guides/getting-started-with-opentelemetry/README.md b/docs/guides/getting-started-with-opentelemetry/README.md index 35a6fe638..545539746 100644 --- a/docs/guides/getting-started-with-opentelemetry/README.md +++ b/docs/guides/getting-started-with-opentelemetry/README.md @@ -1,4 +1,4 @@ -VictoriaMetrics supports metrics ingestion with [OpenTelemetry metrics format](https://opentelemetry.io/docs/specs/otel/metrics/). +VictoriaMetrics supports metrics ingestion with [OpenTelemetry metrics format](https://docs.victoriametrics.com/single-server-victoriametrics/#sending-data-via-opentelemetry). This guide covers data ingestion via [opentelemetry-collector](https://opentelemetry.io/docs/collector/) and direct metrics push from application. ## Pre-Requirements @@ -64,6 +64,8 @@ config: otlphttp/victoriametrics: compression: gzip encoding: proto + # Setting below will work for sending data to VictoriaMetrics single-node version. + # Cluster version of VictoriaMetrics will require a different URL - https://docs.victoriametrics.com/cluster-victoriametrics/#url-format endpoint: http://victoria-metrics-victoria-metrics-single-server.default.svc.cluster.local:8428/opentelemetry tls: insecure: true @@ -90,7 +92,6 @@ kubectl port-forward service/victoria-metrics-victoria-metrics-single-server 842 # forward port to local machine to setup opentelemetry-collector locally kubectl port-forward otl-collector-opentelemetry-collector 4318 - ``` The full version of possible configuration options could be found in [OpenTelemetry docs](https://opentelemetry.io/docs/collector/configuration/).