Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecate telegraf/exec #5171

Merged
merged 2 commits into from
Aug 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,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 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading