Skip to content

Commit

Permalink
Deprecate collectd/consul monitor (#5521)
Browse files Browse the repository at this point in the history
* Deprecate collectd/consul monitor

* Update CHANGELOG.md

* Update internal/signalfx-agent/pkg/monitors/collectd/consul/consul.go
  • Loading branch information
atoulme authored Oct 18, 2024
1 parent f9f6cd4 commit 45f5d32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- (Splunk) Deprecate python-monitor monitor ([#5501](https://github.com/signalfx/splunk-otel-collector/pull/5501))
- (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))

## v0.111.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ type Monitor struct {

// Configure configures and runs the plugin in collectd
func (m *Monitor) Configure(conf *Config) error {
m.Logger().Warn("[NOTICE] The collectd/consul plugin is deprecated. Please use the statsd or prometheus receiver instead. See https://developer.hashicorp.com/consul/docs/agent/monitor/telemetry for more information. This plugin will be removed in a future release.")
conf.pyConf = &python.Config{
MonitorConfig: conf.MonitorConfig,
Host: conf.Host,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ monitors:
datacenter:
description: The name of the consul datacenter
doc: |
**This plugin is deprecated and will be removed in a future release. Please follow the documentation at https://developer.hashicorp.com/consul/docs/agent/monitor/telemetry to set up with statsd or prometheus receivers.**
Monitors the Consul data store by using the
[Consul collectd Python
plugin](https://github.com/signalfx/collectd-consul), which collects metrics
Expand Down

0 comments on commit 45f5d32

Please sign in to comment.