Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: grpc endpoint #4051

Merged
merged 2 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
horw marked this conversation as resolved.
Show resolved Hide resolved

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