Skip to content
Merged
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
23 changes: 23 additions & 0 deletions observability/otel/otel-collector/otel-collector-receivers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,29 @@ include::snippets/technology-preview.adoc[]
<3> The lnterval for scraping the metrics data. Accepts time units. The default value is `1m`.
<4> The targets at which the metrics are exposed. This example scrapes the metrics from a `my-app` application in the `example` project.

[id="otlpjsonfile-receiver_{context}"]
== OTLP JSON File Receiver

The OTLP JSON File Receiver extracts pipeline information from files containing data in the link:https://protobuf.dev/programming-guides/json/[ProtoJSON] format and conforming to the link:https://opentelemetry.io/docs/specs/otel/protocol/[OpenTelemetry Protocol] specification. The receiver watches a specified directory for changes such as created or modified files to process.

:FeatureName: The OTLP JSON File Receiver
include::snippets/technology-preview.adoc[]

.OpenTelemetry Collector custom resource with the enabled OTLP JSON File Receiver
[source,yaml]
----
# ...
config: |
otlpjsonfile:
include:
- "/var/log/*.log" # <1>
exclude:
- "/var/log/test.log" # <2>
# ...
----
<1> The list of file path glob patterns to watch.
<2> The list of file path glob patterns to ignore.

[id="zipkin-receiver_{context}"]
== Zipkin Receiver

Expand Down