Skip to content

Commit

Permalink
Deprecate the collectd/statsd monitor (#5542)
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored Oct 28, 2024
1 parent fb53e2c commit 088d9f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- (Splunk) Deprecate the collectd/nginx monitor. Please use the [nginx receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/nginxreceiver/) instead. ([#5537](https://github.com/signalfx/splunk-otel-collector/pull/5537))
- (Splunk) Deprecate the collectd/chrony monitor. Please use the [chronyreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/chronyreceiver) instead. ([#5536](https://github.com/signalfx/splunk-otel-collector/pull/5536))
- (Splunk) Deprecate the ecs-metadata monitor ([#5541](https://github.com/signalfx/splunk-otel-collector/pull/5541))
- (Splunk) Deprecate the collectd/statsd monitor. Please use the [statsdreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/statsdreceiver) instead. ([#](https://github.com/signalfx/splunk-otel-collector/pull/))
- (Splunk) Deprecate the haproxy monitor. Please use the [haproxyreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/haproxyreceiver) instead. ([#5543](https://github.com/signalfx/splunk-otel-collector/pull/5543))

### 🚀 New components 🚀
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
monitors:
- dimensions:
doc: |
The statsd monitor is deprecated and will be removed in a future release.
Use the statsd receiver instead.
The StatsD plugin for collectd listens for StatsD
events, aggregates them and transmits them according to collectd's
configuration. Use this plugin to send data from StatsD to SignalFx [statsd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ type Monitor struct {

// Configure configures and runs the plugin in collectd
func (am *Monitor) Configure(conf *Config) error {
return am.SetConfigurationAndRun(conf)
return am.SetConfigurationAndRun(conf, collectd.WithDeprecationWarningLog("statsdreceiver"))
}

0 comments on commit 088d9f3

Please sign in to comment.