From 6edf0816e1041ee8617d5ca226f816eaee3e0256 Mon Sep 17 00:00:00 2001 From: Christopher Roberts <90332286+chrroberts-pure@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:19:25 -0600 Subject: [PATCH] Add the purefa receiver from contrib (#5731) * add purefa receiver * Update CHANGELOG.md * Update components.md --- CHANGELOG.md | 1 + docs/components.md | 1 + go.mod | 1 + go.sum | 2 ++ internal/components/components.go | 2 ++ internal/components/components_test.go | 1 + 6 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a71aa6a46f..91620aa45d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### 🚀 New components 🚀 - (Splunk) Add `snowflake` receiver ([#5724](https://github.com/signalfx/splunk-otel-collector/pull/5724)) +- (Splunk) Add `purefa` receiver ([#5731](https://github.com/signalfx/splunk-otel-collector/pull/5731)) ## v0.115.0 diff --git a/docs/components.md b/docs/components.md index c4f26eb7c2..11ae97550e 100644 --- a/docs/components.md +++ b/docs/components.md @@ -55,6 +55,7 @@ The distribution offers support for the following components. | [postgresql](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/postgresqlreceiver) | [beta] | | [prometheus](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/prometheusreceiver) | [beta] | | [prometheus_simple](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/simpleprometheusreceiver) | [beta] | +| [purefa](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/purefareceiver) | [alpha] | | [rabbitmq](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/rabbitmqreceiver) | [beta] | | [receiver_creator](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/receivercreator) | [beta] | | [redis](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/redisreceiver) | [beta] | diff --git a/go.mod b/go.mod index b3c2ca7f30..210ce5d974 100644 --- a/go.mod +++ b/go.mod @@ -96,6 +96,7 @@ require ( github.com/open-telemetry/opentelemetry-collector-contrib/receiver/oracledbreceiver v0.115.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/postgresqlreceiver v0.115.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.115.0 + github.com/open-telemetry/opentelemetry-collector-contrib/receiver/purefareceiver v0.115.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/rabbitmqreceiver v0.115.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator v0.115.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver v0.115.0 diff --git a/go.sum b/go.sum index 947e9afe80..a164642ec1 100644 --- a/go.sum +++ b/go.sum @@ -1475,6 +1475,8 @@ github.com/open-telemetry/opentelemetry-collector-contrib/receiver/postgresqlrec github.com/open-telemetry/opentelemetry-collector-contrib/receiver/postgresqlreceiver v0.115.0/go.mod h1:Hm48Djy2wSY2f7/MiO1Pqx+z2PgBtTkratthdCo9Keg= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.115.0 h1:GIyMUiud3T8nyCJP9KVhxVKvfcNQRBCde5uTCl6K/i0= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.115.0/go.mod h1:x4hCznyUolxGt5cE/uXWRCckdIDrUYqH5hJddvdKZd4= +github.com/open-telemetry/opentelemetry-collector-contrib/receiver/purefareceiver v0.115.0 h1:zm9t0eh0re28NdIugHWWeikPnYHALtIYm/NtWNJ69pw= +github.com/open-telemetry/opentelemetry-collector-contrib/receiver/purefareceiver v0.115.0/go.mod h1:LIN46f0w8Qq1zepf8/HCMIFNjxMqIWbrDamTbeqeE6I= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/rabbitmqreceiver v0.115.0 h1:Z/oZB+2i6yhFVJfdfwHLRtmu1gwnPPDLR2S2D9amklc= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/rabbitmqreceiver v0.115.0/go.mod h1:HHG6YOBUjzg4BRHpWXMDsFFvxDG9PpnoNBnZrSMBCy4= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator v0.115.0 h1:Di0uc2QvwEVrq1PEReZ34FpPuo1z5QhHmT0bvdTe0DU= diff --git a/internal/components/components.go b/internal/components/components.go index 92379d9452..796b14c868 100644 --- a/internal/components/components.go +++ b/internal/components/components.go @@ -93,6 +93,7 @@ import ( "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/oracledbreceiver" "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/postgresqlreceiver" "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver" + "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/purefareceiver" "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/rabbitmqreceiver" "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator" "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver" @@ -208,6 +209,7 @@ func Get() (otelcol.Factories, error) { otlpreceiver.NewFactory(), postgresqlreceiver.NewFactory(), prometheusreceiver.NewFactory(), + purefareceiver.NewFactory(), rabbitmqreceiver.NewFactory(), receivercreator.NewFactory(), redisreceiver.NewFactory(), diff --git a/internal/components/components_test.go b/internal/components/components_test.go index 8a4d42d97d..c48dcc7fb5 100644 --- a/internal/components/components_test.go +++ b/internal/components/components_test.go @@ -86,6 +86,7 @@ func TestDefaultComponents(t *testing.T) { "postgresql", "prometheus", "prometheus_simple", + "purefa", "rabbitmq", "receiver_creator", "redis",