diff --git a/CHANGELOG.md b/CHANGELOG.md index b5feb70602..f40c282015 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ - (Splunk) Add ElasticSearch receiver ([#5165](https://github.com/signalfx/splunk-otel-collector/pull/5165/)) - (Splunk) Add HAProxy receiver [#5163](https://github.com/signalfx/splunk-otel-collector/pull/5163) + +### 🚩Deprecations 🚩 + +- (Splunk) Deprecate the collectd/health-checker plugin ([#5167](https://github.com/signalfx/splunk-otel-collector/pull/5167)) ## v0.105.0 diff --git a/internal/signalfx-agent/pkg/monitors/collectd/healthchecker/healthchecker.go b/internal/signalfx-agent/pkg/monitors/collectd/healthchecker/healthchecker.go index 9e9912854e..d4885668ef 100644 --- a/internal/signalfx-agent/pkg/monitors/collectd/healthchecker/healthchecker.go +++ b/internal/signalfx-agent/pkg/monitors/collectd/healthchecker/healthchecker.go @@ -104,6 +104,6 @@ func (m *Monitor) Configure(conf *Config) error { if conf.Name == "" { conf.pyConf.PluginConfig["Instance"] = fmt.Sprintf("%s-%d", conf.Host, conf.Port) } - + m.Logger().Warn("[NOTICE] The collectd/health-checker plugin is deprecated and will be removed in a future release. Use the opentelemetry httpcheck receiver instead.") return m.PyMonitor.Configure(conf) } diff --git a/internal/signalfx-agent/pkg/monitors/collectd/healthchecker/metadata.yaml b/internal/signalfx-agent/pkg/monitors/collectd/healthchecker/metadata.yaml index 42f62be260..0ebabdf764 100644 --- a/internal/signalfx-agent/pkg/monitors/collectd/healthchecker/metadata.yaml +++ b/internal/signalfx-agent/pkg/monitors/collectd/healthchecker/metadata.yaml @@ -1,6 +1,8 @@ monitors: - dimensions: doc: | + The collectd/health-checker plugin is deprecated and will be removed in a future release. Use the [OpenTelemetry HTTP Check Receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/httpcheckreceiver) instead. + A simple Collectd Python-based monitor that hits an endpoint and checks if the configured JSON value is returned in the response body.