Skip to content

Commit

Permalink
Add UDP log receiver (#3826)
Browse files Browse the repository at this point in the history
* Add UDP log receiver

* Update docs/components.md

Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>

---------

Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
  • Loading branch information
atoulme and dmitryax authored Oct 20, 2023
1 parent 8b0ec05 commit f6d36e2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- `--otlp-endpoint host:port`: Set the OTLP gRPC endpoint for captured traces (default: `http://LISTEN_INTERFACE:4317`
where `LISTEN_INTERFACE` is the value from the `--listen-interface` option if specified, or `127.0.0.1` otherwise)
- (Splunk) Add the loadbalancing exporter to the distribution ([#3825](https://github.com/signalfx/splunk-otel-collector/pull/3825))
- (Splunk) Add UDP log receiver ([#3826](https://github.com/signalfx/splunk-otel-collector/pull/3826))

## v0.86.0

Expand Down
1 change: 1 addition & 0 deletions docs/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ The distribution offers support for the following components.
| [statsd](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/statsdreceiver) | [beta] |
| [syslog](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/syslogreceiver) | [alpha] |
| [tcplog](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/tcplogreceiver) | [alpha] |
| [udplog](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/udplogreceiver) | [alpha] |
| [wavefront](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/wavefrontreceiver) | [beta] |
| [windowseventlog](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/windowseventlogreceiver) | [alpha] |
| [windowsperfcounters](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/windowsperfcountersreceiver) | [beta] |
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver v0.87.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver v0.87.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/tcplogreceiver v0.87.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/udplogreceiver v0.87.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/wavefrontreceiver v0.87.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowseventlogreceiver v0.87.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver v0.87.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,8 @@ github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceive
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver v0.87.0/go.mod h1:bqbSRWfqF4MeiC0bnra9YjH7UW8v60FJh9IdmSm1vSE=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/tcplogreceiver v0.87.0 h1:Uh/apfRa2vMSxN3AEYbBTcsTVJF07x24U7bL/M067GI=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/tcplogreceiver v0.87.0/go.mod h1:NDw094XyxT5U+RK5mdUKdySOZldf3CkgW9h2CMeW3h8=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/udplogreceiver v0.87.0 h1:ntksrnj1gr8jFDS/QOe0k9kWC2z55N14/gptx8KIxR4=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/udplogreceiver v0.87.0/go.mod h1:7rtr8vHU5zQ9DHc2k3FQ2m5nYyaMpXMyynmi+D5AsVE=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/wavefrontreceiver v0.87.0 h1:YGlQNpV72+KLHq1OBP+fH9dvpi3Q2Q4qGw2e9cPodUs=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/wavefrontreceiver v0.87.0/go.mod h1:Ythe6IiQlNOhcpVgX2wZ/AvwL7LVy4pFko0PExzmX0Y=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowseventlogreceiver v0.87.0 h1:ieyr3uxUf/k+MThGIXdd4+T2dLeexljF1ep+oZ05q88=
Expand Down
2 changes: 2 additions & 0 deletions internal/components/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ import (
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/tcplogreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/udplogreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/wavefrontreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowseventlogreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver"
Expand Down Expand Up @@ -173,6 +174,7 @@ func Get() (otelcol.Factories, error) {
statsdreceiver.NewFactory(),
syslogreceiver.NewFactory(),
tcplogreceiver.NewFactory(),
udplogreceiver.NewFactory(),
wavefrontreceiver.NewFactory(),
windowsperfcountersreceiver.NewFactory(),
windowseventlogreceiver.NewFactory(),
Expand Down
1 change: 1 addition & 0 deletions internal/components/components_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ func TestDefaultComponents(t *testing.T) {
"statsd",
"syslog",
"tcplog",
"udplog",
"wavefront",
"windowseventlog",
"windowsperfcounters",
Expand Down

0 comments on commit f6d36e2

Please sign in to comment.