Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5dbb385

Browse files
authored
fix: grpc endpoint (open-telemetry#4051)
1 parent 58f34f8 commit 5dbb385

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

docs/examples/logs/README.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,26 @@ Start the Collector locally to see data being exported. Write the following file
1515
otlp:
1616
protocols:
1717
grpc:
18-
19-
processors:
20-
batch:
18+
endpoint: 0.0.0.0:4317
2119
2220
exporters:
2321
logging:
24-
verbosity: detailed
22+
loglevel: debug
23+
24+
processors:
25+
batch:
2526
2627
service:
2728
pipelines:
2829
logs:
2930
receivers: [otlp]
3031
processors: [batch]
3132
exporters: [logging]
32-
33+
traces:
34+
receivers: [otlp]
35+
processors: [batch]
36+
exporters: [logging]
37+
3338
Then start the Docker container:
3439

3540
.. code-block:: sh

docs/examples/logs/otel-collector-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ receivers:
22
otlp:
33
protocols:
44
grpc:
5+
endpoint: 0.0.0.0:4317
56

67
exporters:
78
logging:

docs/examples/metrics/instruments/README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Start the Collector locally to see data being exported. Write the following file
1010
otlp:
1111
protocols:
1212
grpc:
13+
endpoint: 0.0.0.0:4317
1314
1415
exporters:
1516
logging:

docs/examples/metrics/instruments/otel-collector-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ receivers:
22
otlp:
33
protocols:
44
grpc:
5+
endpoint: 0.0.0.0:4317
56

67
exporters:
78
logging:

0 commit comments

Comments
 (0)