Skip to content

Commit

Permalink
Add new component: SQL Server receiver (#4649)
Browse files Browse the repository at this point in the history
  • Loading branch information
crobert-1 authored Apr 9, 2024
1 parent 73ed365 commit e1e1872
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### 🚀 New components 🚀

- (Splunk) Add SQL Server receiver

### 🛑 Breaking changes 🛑

- (Splunk) `receiver/discovery`: Update metrics and logs evaluation statements schema:
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/solacereceiver v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkhecreceiver v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryreceiver v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlserverreceiver v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sshcheckreceiver v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver v0.97.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1425,6 +1425,8 @@ github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkhecrece
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkhecreceiver v0.97.0/go.mod h1:xXX6qz7R9GKQy3OU/tO9it7ja4V8TvoYTiUN7UMm6VE=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryreceiver v0.97.0 h1:/o+xhyntk1VbRBcR5KRsz6PBLIH8l8CG2mbfdUL+doA=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryreceiver v0.97.0/go.mod h1:RO3V203iKCCS753WgwEdGEYK8GvU1rTUmbwL/9AmpaA=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlserverreceiver v0.97.0 h1:2Qt85hoLKn4XbkDkdhxHHYyvPm5ngdUWoyo0TjQzYs8=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlserverreceiver v0.97.0/go.mod h1:oF10K9+sACOJBt+w8s4hr1nvFipBMo4wZcB8bW69tk8=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sshcheckreceiver v0.97.0 h1:B0kiCYfzBSOLHXJQzYeakBcycpDJVirCkU8XQjUcdzo=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sshcheckreceiver v0.97.0/go.mod h1:KK7u7CWQd0Bgt5SL9pu1EnzC+aMv+4FZkQwqFKLfcU4=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver v0.97.0 h1:6ed4O0uInCS7WxfpwFt4ZJ8cytVqno2bckGIzNe+qZ0=
Expand Down
2 changes: 2 additions & 0 deletions internal/components/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ import (
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/solacereceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkhecreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlserverreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sshcheckreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver"
Expand Down Expand Up @@ -183,6 +184,7 @@ func Get() (otelcol.Factories, error) {
solacereceiver.NewFactory(),
splunkhecreceiver.NewFactory(),
sqlqueryreceiver.NewFactory(),
sqlserverreceiver.NewFactory(),
sshcheckreceiver.NewFactory(),
statsdreceiver.NewFactory(),
syslogreceiver.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 @@ -80,6 +80,7 @@ func TestDefaultComponents(t *testing.T) {
"solace",
"splunk_hec",
"sqlquery",
"sqlserver",
"sshcheck",
"statsd",
"syslog",
Expand Down

0 comments on commit e1e1872

Please sign in to comment.