Skip to content

Commit cec0d16

Browse files
committed
Deprecate the collectd/chrony monitor
1 parent 5580753 commit cec0d16

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. ([#](https://github.com/signalfx/splunk-otel-collector/pull/))
2122

2223
## v0.111.0
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("The collectd/chrony monitor is deprecated. Use the chronyreceiver instead."))
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)