Skip to content

Commit 8be85b9

Browse files
authored
Deprecate collectd/mysql monitor (#5538)
1 parent 76e639b commit 8be85b9

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-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 collectd/mysql monitor. Use the [mysql receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/mysqlreceiver) instead. ([#5538](https://github.com/signalfx/splunk-otel-collector/pull/5538))
2122
- (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))
2223
- (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))
2324

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
monitors:
22
- dimensions:
33
doc: |
4+
**The MySQL monitor is deprecated. Please use the mysqlreceiver instead.**
5+
46
Monitors a MySQL database server using collectd's [MySQL
57
plugin](https://collectd.org/wiki/index.php/Plugin:MySQL). It supports
68
MySQL versions 5.x or later.

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

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

7171
// Configure configures and runs the plugin in collectd
7272
func (am *Monitor) Configure(conf *Config) error {
73-
return am.SetConfigurationAndRun(conf)
73+
return am.SetConfigurationAndRun(conf, collectd.WithDeprecationWarningLog("mysqlreceiver"))
7474
}

0 commit comments

Comments
 (0)