Skip to content

Commit

Permalink
Deprecate genericjmx and all downstream monitors (#5539)
Browse files Browse the repository at this point in the history
Co-authored-by: Paulo Janotti <[email protected]>
  • Loading branch information
atoulme and pjanotti authored Dec 12, 2024
1 parent 60befdb commit cca5c0d
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 1 deletion.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

## Unreleased

### 🚩Deprecations 🚩

- (Splunk) Deprecate the collectd/genericjmx monitor. Please use the [jmxreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/jmxreceiver) instead. ([#5539](https://github.com/signalfx/splunk-otel-collector/pull/5539))
- (Splunk) Deprecate the collectd/activemq monitor. Please use the [jmxreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/jmxreceiver) with the activemq target system instead. ([#5539](https://github.com/signalfx/splunk-otel-collector/pull/5539))
- (Splunk) Deprecate the collectd/cassandra monitor. Please use the [jmxreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/jmxreceiver) with the cassandra target system instead. ([#5539](https://github.com/signalfx/splunk-otel-collector/pull/5539))
- (Splunk) Deprecate the collectd/hadoop monitor. Please use the [jmxreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/jmxreceiver) with the hadoop target system instead. ([#5539](https://github.com/signalfx/splunk-otel-collector/pull/5539))
- (Splunk) Deprecate the collectd/kafka monitor. Please use the [jmxreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/jmxreceiver) with the kafka target system instead. ([#5539](https://github.com/signalfx/splunk-otel-collector/pull/5539))
- (Splunk) Deprecate the collectd/kafka-consumer monitor. Please use the [jmxreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/jmxreceiver) with the kafka-consumer target system instead. ([#5539](https://github.com/signalfx/splunk-otel-collector/pull/5539))
- (Splunk) Deprecate the collectd/kafka-producer monitor. Please use the [jmxreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/jmxreceiver) with the kafka-producer target system instead. ([#5539](https://github.com/signalfx/splunk-otel-collector/pull/5539))
- (Splunk) Deprecate the collectd/solr monitor. Please use the [jmxreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/jmxreceiver) with the solr target system instead. ([#5539](https://github.com/signalfx/splunk-otel-collector/pull/5539))
- (Splunk) Deprecate the collectd/tomcat monitor. Please use the [jmxreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/jmxreceiver) with the tomcat target system instead. ([#5539](https://github.com/signalfx/splunk-otel-collector/pull/5539))

## v0.114.0

### 💡 Enhancements 💡
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
monitors:
- dimensions:
doc: |
**The collectd/activemq monitor is deprecated. Use the jmxreceiver with the activemq target system instead.**
SignalFx's integration with ActiveMQ wraps the [Collectd GenericJMX
monitor](https://docs.splunk.com/observability/gdi/genericjmx/genericjmx.html)
to monitor ActiveMQ.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
monitors:
- dimensions:
doc: |
**The collectd/cassandra monitor is deprecated. Use the jmxreceiver with the cassandra target system instead.**
Monitors Cassandra using the Collectd GenericJMX plugin. This is
essentially a wrapper around the
[collectd-genericjmx](./collectd-genericjmx.md)[](sfx_link:java) monitor that comes with a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ func (m *JMXMonitorCore) Configure(conf *Config) error {
conf.ServiceName = m.defaultServiceName
}

return m.SetConfigurationAndRun(conf)
return m.SetConfigurationAndRun(conf, collectd.WithDeprecationWarningLog("jmxreceiver"))
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
monitors:
- dimensions:
doc: |
**The collectd/genericjmx monitor is deprecated. Use the jmxreceiver instead.**
Monitors Java services that expose metrics on JMX using collectd's
GenericJMX plugin. The GenericJMX plugin reads Managed Beans (MBeans) from
an MBeanServer using JMX. The monitor uses an embedded Java runtime in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func (m *Monitor) Configure(conf *Config) error {
"Verbose": conf.Verbose,
},
}
m.Logger().Warn("[NOTICE] the collectd/hadoop monitor is deprecated. Use the jmxreceiver instead")

return m.PyMonitor.Configure(conf)
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
monitors:
- dimensions:
doc: |
**The collectd/hadoop monitor is deprecated. Use the jmxreceiver with the hadoop target system instead.**
Collects metrics about a Hadoop 2.0+ cluster using the [collectd Hadoop Python
plugin](https://github.com/signalfx/collectd-hadoop). If a remote JMX port
is exposed in the hadoop cluster, then you may also configure the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
monitors:
- dimensions:
doc: |
**The collectd/hadoopjmx monitor is deprecated. Use the jmxreceiver with the hadoop target system instead.**
Collects metrics about a Hadoop 2.0+ cluster using using collectd's GenericJMX
plugin. You may also configure the
[collectd/hadoop](https://github.com/signalfx/signalfx-agent/tree/main/docs/monitors/collectd-hadoop.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
monitors:
- dimensions:
doc: |
**The collectd/kafka monitor is deprecated. Use the jmxreceiver with the kafka target system instead.**
Monitors a Kafka instance using collectd's
GenericJMX plugin. See the [collectd/genericjmx
monitor](./collectd-genericjmx.md)[](sfx_link:java) for more information on
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
monitors:
- dimensions:
doc: |
**The collectd/kafkaconsumer monitor is deprecated. Use the jmxreceiver with the kafka-consumer target system instead.**
Monitors a Java based Kafka consumer using [collectd's GenericJMX plugin](./collectd-genericjmx.md)[](sfx_link:java).
This monitor has a set of [built in MBeans
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
monitors:
- dimensions:
doc: |
**The collectd/kafkaproducer monitor is deprecated. Use the jmxreceiver with the kafka-producer target system instead.**
Monitors a Java based Kafka producer using GenericJMX.
This monitor has a set of [built in MBeans
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
monitors:
- dimensions:
doc: |
**The collectd/solr monitor is deprecated. Use the jmxreceiver with the solr target system instead.**
Monitors Solr instances by using the [collectd Solr
plugin](https://github.com/signalfx/collectd-solr). Supports Solr 6.6 and
later.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
monitors:
- dimensions:
doc: |
**The collectd/tomcat monitor is deprecated. Use the jmxreceiver with the tomcat target system instead.**
Monitors Tomcat using the Collectd GenericJMX plugin. This is essentially a wrapper around
the [collectd-genericjmx](./collectd-genericjmx.md)[](sfx_link:java) monitor that comes with
a set of predefined MBean definitions that a standard Tomcat deployment will expose.
Expand Down

0 comments on commit cca5c0d

Please sign in to comment.