Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate statsd monitor, use statsd receiver #5513

Merged
merged 2 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- (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))
- (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/))
- (Splunk) Deprecate python-monitor monitor ([#5501](https://github.com/signalfx/splunk-otel-collector/pull/5501))
- (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))

## v0.111.0

Expand Down
3 changes: 3 additions & 0 deletions internal/signalfx-agent/pkg/monitors/statsd/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
monitors:
- dimensions:
doc: |2
The statsd monitor is deprecated and will be removed in a future release.
Use the statsd receiver instead.

This monitor will receive and aggergate Statsd metrics and convert them to
data points. It listens on a configured address and port in order to
receive the statsd metrics. Note that this monitor does not support statsd
Expand Down
2 changes: 1 addition & 1 deletion internal/signalfx-agent/pkg/monitors/statsd/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ type Monitor struct {
// Configure the monitor and kick off volume metric syncing
func (m *Monitor) Configure(conf *Config) error {
m.logger = utils.NewThrottledLogger(log.WithFields(log.Fields{"monitorType": monitorMetadata.MonitorType, "monitorID": conf.MonitorID}), 30*time.Second)

m.logger.Warn("[NOTICE] The statsd monitor is deprecated and will be removed in a future release. Use the statsd receiver instead.")
var ctx context.Context
ctx, m.cancel = context.WithCancel(context.Background())

Expand Down
Loading