Skip to content

Commit

Permalink
fix: grpc endpoint (#4051)
Browse files Browse the repository at this point in the history
  • Loading branch information
horw authored Jul 15, 2024
1 parent 58f34f8 commit 5dbb385
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
15 changes: 10 additions & 5 deletions docs/examples/logs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,26 @@ Start the Collector locally to see data being exported. Write the following file
otlp:
protocols:
grpc:
processors:
batch:
endpoint: 0.0.0.0:4317
exporters:
logging:
verbosity: detailed
loglevel: debug
processors:
batch:
service:
pipelines:
logs:
receivers: [otlp]
processors: [batch]
exporters: [logging]
traces:
receivers: [otlp]
processors: [batch]
exporters: [logging]
Then start the Docker container:

.. code-block:: sh
Expand Down
1 change: 1 addition & 0 deletions docs/examples/logs/otel-collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317

exporters:
logging:
Expand Down
1 change: 1 addition & 0 deletions docs/examples/metrics/instruments/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Start the Collector locally to see data being exported. Write the following file
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
exporters:
logging:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317

exporters:
logging:
Expand Down

0 comments on commit 5dbb385

Please sign in to comment.