Skip to content

Commit 37e12cd

Browse files
authored
Deprecate statsd monitor, use statsd receiver (#5513)
* Deprecate statsd monitor, use statsd receiver * Update CHANGELOG.md
1 parent f74c8c4 commit 37e12cd

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- (Splunk) Deprecate the heroku observer. Use the [resource detection observer with heroku detector](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/resourcedetectionprocessor#heroku) instead. ([#5496](https://github.com/signalfx/splunk-otel-collector/pull/5496))
1212
- (Splunk) Deprecate mongodb atlas monitor. [Please use the mongodbatlasreceiver instead](https://docs.splunk.com/observability/en/gdi/opentelemetry/components/mongodb-atlas-receiver.html) ([#](https://github.com/signalfx/splunk-otel-collector/pull/))
1313
- (Splunk) Deprecate python-monitor monitor ([#5501](https://github.com/signalfx/splunk-otel-collector/pull/5501))
14+
- (Splunk) Deprecate statsd monitor. Use the [statsd receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/statsdreceiver) instead. ([#5513](https://github.com/signalfx/splunk-otel-collector/pull/5513))
1415

1516
## v0.111.0
1617

internal/signalfx-agent/pkg/monitors/statsd/metadata.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
monitors:
22
- dimensions:
33
doc: |2
4+
The statsd monitor is deprecated and will be removed in a future release.
5+
Use the statsd receiver instead.
6+
47
This monitor will receive and aggergate Statsd metrics and convert them to
58
data points. It listens on a configured address and port in order to
69
receive the statsd metrics. Note that this monitor does not support statsd

internal/signalfx-agent/pkg/monitors/statsd/monitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ type Monitor struct {
7474
// Configure the monitor and kick off volume metric syncing
7575
func (m *Monitor) Configure(conf *Config) error {
7676
m.logger = utils.NewThrottledLogger(log.WithFields(log.Fields{"monitorType": monitorMetadata.MonitorType, "monitorID": conf.MonitorID}), 30*time.Second)
77-
77+
m.logger.Warn("[NOTICE] The statsd monitor is deprecated and will be removed in a future release. Use the statsd receiver instead.")
7878
var ctx context.Context
7979
ctx, m.cancel = context.WithCancel(context.Background())
8080

0 commit comments

Comments
 (0)