diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ea7d501d5..76e69277b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ - (Splunk) Deprecate the collectd/health-checker plugin ([#5167](https://github.com/signalfx/splunk-otel-collector/pull/5167)) +### 🚩Deprecations 🚩 + +- (Splunk) Deprecate the telegraf/exec monitor ([#5171](https://github.com/signalfx/splunk-otel-collector/pull/5171)) + ## v0.105.0 This Splunk OpenTelemetry Collector release includes changes from the [opentelemetry-collector v0.105.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.105.0) and the [opentelemetry-collector-contrib v0.105.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.105.0) releases where appropriate. diff --git a/internal/signalfx-agent/pkg/monitors/telegraf/monitors/exec/exec.go b/internal/signalfx-agent/pkg/monitors/telegraf/monitors/exec/exec.go index 9d66319e21..8caaac8554 100644 --- a/internal/signalfx-agent/pkg/monitors/telegraf/monitors/exec/exec.go +++ b/internal/signalfx-agent/pkg/monitors/telegraf/monitors/exec/exec.go @@ -58,6 +58,8 @@ var factory = telegrafInputs.Inputs["exec"] // Configure the monitor and kick off metric syncing func (m *Monitor) Configure(conf *Config) (err error) { m.logger = logger.WithField("monitorID", conf.MonitorID) + m.logger.Warn("[NOTICE] The telegraf/exec monitor is deprecated and will be removed in a future release.") + m.plugin = factory().(*telegrafPlugin.Exec) cumulativeCounterSet := utils.StringSliceToMap(conf.SignalFxCumulativeMetrics) diff --git a/internal/signalfx-agent/pkg/monitors/telegraf/monitors/exec/metadata.yaml b/internal/signalfx-agent/pkg/monitors/telegraf/monitors/exec/metadata.yaml index cf4f8b419a..468e299770 100644 --- a/internal/signalfx-agent/pkg/monitors/telegraf/monitors/exec/metadata.yaml +++ b/internal/signalfx-agent/pkg/monitors/telegraf/monitors/exec/metadata.yaml @@ -1,6 +1,8 @@ monitors: - dimensions: doc: | + The telegraf/exec monitor is deprecated and will be removed in a future release. + This is an embedded form of the [Telegraf Exec plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/exec). The plugin-specific config options are the same as that plugin, but parser