Skip to content

Commit

Permalink
Deprecate the cloudfoundry monitor in favor of the cloudfoundry recei…
Browse files Browse the repository at this point in the history
…ver (#5495)

* Deprecate the cloudfoundry monitor in favor of the cloudfoundry receiver

* Update CHANGELOG.md
  • Loading branch information
atoulme authored Oct 11, 2024
1 parent ac8f0a0 commit ec104c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
## Unreleased

### 🚩Deprecations 🚩

- (Splunk) Deprecate cloudfoundry monitor ([#5495](https://github.com/signalfx/splunk-otel-collector/pull/5495))
- (Splunk) Deprecate the heroku observer. Use the [resource detection observer with heroku detector](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/resourcedetectionprocessor#heroku) instead. ([#5496](https://github.com/signalfx/splunk-otel-collector/pull/5496))

## v0.111.0
Expand Down
2 changes: 2 additions & 0 deletions internal/signalfx-agent/pkg/monitors/cloudfoundry/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# cloudfoundry-firehose-nozzle

**The cloudfoundry monitor is deprecated and will be removed in a future release. Please use https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/cloudfoundryreceiver**

## Developer Resources

- <https://github.com/cf-platform-eng/firehose-nozzle-v2/tree/master/gateway>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ type Monitor struct {
// on a varied interval
func (m *Monitor) Configure(conf *Config) error {
m.logger = logrus.WithFields(logrus.Fields{"monitorType": monitorType, "monitorID": conf.MonitorID})
m.logger.Warn("The cloudfoundry monitor is deprecated and will be removed in a future release. Please use https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/cloudfoundryreceiver")

// create contexts for managing the plugin loop
var ctx context.Context
Expand Down

0 comments on commit ec104c6

Please sign in to comment.