Skip to content

Commit

Permalink
Deprecate collectd/mysql monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Oct 22, 2024
1 parent 5580753 commit 77f9386
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
- (Splunk) Deprecate windowslegacy monitor ([#5518](https://github.com/signalfx/splunk-otel-collector/pull/5518))
- (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))
- (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))
- (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))


## v0.111.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
monitors:
- dimensions:
doc: |
**The MySQL monitor is deprecated. Please use the mysqlreceiver instead.**
Monitors a MySQL database server using collectd's [MySQL
plugin](https://collectd.org/wiki/index.php/Plugin:MySQL). It supports
MySQL versions 5.x or later.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ type Monitor struct {

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

0 comments on commit 77f9386

Please sign in to comment.