Skip to content

Commit 9d0c85d

Browse files
authored
Deprecate the collectd/chrony monitor (#5536)
1 parent a9c2543 commit 9d0c85d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- (Splunk) Deprecate windowslegacy monitor ([#5518](https://github.com/signalfx/splunk-otel-collector/pull/5518))
1919
- (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))
2020
- (Splunk) Deprecate the collectd/consul monitor. Please use the statsd or prometheus receiver instead. See https://developer.hashicorp.com/consul/docs/agent/monitor/telemetry for more information. ([#5521](https://github.com/signalfx/splunk-otel-collector/pull/5521))
21+
- (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))
2122

2223
### 🚀 New components 🚀
2324

internal/signalfx-agent/pkg/monitors/collectd/chrony/chrony.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ type Monitor struct {
4242

4343
// Configure configures and runs the plugin in collectd
4444
func (m *Monitor) Configure(conf *Config) error {
45-
return m.SetConfigurationAndRun(conf)
45+
return m.SetConfigurationAndRun(conf, collectd.WithDeprecationWarningLog("chronyreceiver"))
4646
}

internal/signalfx-agent/pkg/monitors/collectd/chrony/metadata.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
monitors:
22
- dimensions:
33
doc: |
4+
**The collectd/chrony monitor is deprecated. Use the chronyreceiver instead.**
45
Collectd NTP data from a chronyd instance
56
67
See https://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_chrony

0 commit comments

Comments
 (0)