Skip to content

Commit deeb7b7

Browse files
committed
docs: unified the example host address in quick-start.md
1 parent c59b85a commit deeb7b7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/victoriatraces/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ This schema outlines how to configure a High Availability (HA) setup using Victo
102102

103103
## Monitoring
104104

105-
VictoriaTraces exposes internal metrics in Prometheus exposition format at `http://localhost:10428/metrics` page.
105+
VictoriaTraces exposes internal metrics in Prometheus exposition format at `http://<victoria-traces>:10428/metrics` page.
106106
It is recommended to set up monitoring of these metrics via VictoriaMetrics
107107
(see [these docs](https://docs.victoriametrics.com/victoriametrics/single-server-victoriametrics/#how-to-scrape-prometheus-exporters-such-as-node-exporter)),
108108
vmagent (see [these docs](https://docs.victoriametrics.com/victoriametrics/vmagent/#how-to-collect-metrics-in-prometheus-format)) or via Prometheus.

docs/victoriatraces/quick-start.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ To test the data ingestion, run the following command:
7373
```shell
7474
echo '{"resourceSpans":[{"resource":{"attributes":[{"key":"service.name","value":{"stringValue":"frontend-web"}},{"key":"telemetry.sdk.language","value":{"stringValue":"webjs"}},{"key":"telemetry.sdk.name","value":{"stringValue":"opentelemetry"}},{"key":"telemetry.sdk.version","value":{"stringValue":"1.30.1"}},{"key":"process.runtime.name","value":{"stringValue":"browser"}},{"key":"process.runtime.description","value":{"stringValue":"Web Browser"}},{"key":"process.runtime.version","value":{"stringValue":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/136.0.0.0 Safari/537.36"}}]},"scopeSpans":[{"scope":{"name":"@opentelemetry/instrumentation-document-load","version":"0.44.1"},"spans":[{"traceId":"1af5dd013a30efe7f2970032ab81958b","spanId":"229d083a6c480511","parentSpanId":"","name":"documentLoad","kind":1,"startTimeUnixNano":"ingestTimePlaceHolder","endTimeUnixNano":"ingestTimePlaceHolder","attributes":[{"key":"session.id","value":{"stringValue":"96e702c3-6f05-4f54-b2b3-2fad2b7b7995"}},{"key":"http.url","value":{"stringValue":"http://frontend-proxy:8080/cart"}},{"key":"http.user_agent","value":{"stringValue":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/136.0.0.0 Safari/537.36"}}],"events":[{"timeUnixNano":"1757320936519100098","name":"fetchStart"}],"status":{}}]}]}]}' |
7575
sed "s/ingestTimePlaceHolder/$(date +%s000000000)/g" |
76-
curl -X POST -H 'Content-Type: application/json' --data-binary @- http://127.0.0.1:10428/insert/opentelemetry/v1/traces
76+
curl -X POST -H 'Content-Type: application/json' --data-binary @- http://<victoria-traces>:10428/insert/opentelemetry/v1/traces
7777
```
7878

7979
This command will send an HTTP request to VictoriaTraces and ingest one example span.
@@ -94,7 +94,7 @@ docker run \
9494
9595
Simply open `http://127.0.0.1:8080/`, click any button to generate traces.
9696

97-
After that, you can check the data in VMUI at `http://<ip_or_hostname>:10428/vmui`.
97+
After that, you can check the data in VMUI at `http://<victoria-traces>:10428/vmui`.
9898

9999
See more details about how to send data to VictoriaTraces from **an instrumented application** or **an OpenTelemetry collector** [in this doc](https://docs.victoriametrics.com/victoriatraces/data-ingestion/opentelemetry/).
100100

@@ -116,7 +116,7 @@ see [these docs](https://docs.victoriametrics.com/victoriatraces/vmalert/).
116116

117117
## Monitoring
118118

119-
VictoriaTraces exposes internal metrics in Prometheus exposition format at `http://localhost:10428/metrics` page.
119+
VictoriaTraces exposes internal metrics in Prometheus exposition format at `http://<victoria-traces>:10428/metrics` page.
120120
It is recommended to set up monitoring of these metrics via VictoriaMetrics
121121
(see [these docs](https://docs.victoriametrics.com/victoriametrics/single-server-victoriametrics/#how-to-scrape-prometheus-exporters-such-as-node-exporter)),
122122
vmagent (see [these docs](https://docs.victoriametrics.com/victoriametrics/vmagent/#how-to-collect-metrics-in-prometheus-format)) or via Prometheus.

0 commit comments

Comments
 (0)