Skip to content

Commit

Permalink
Deprecate genericjmx and all downstream monitors
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Oct 23, 2024
1 parent 8be85b9 commit 29cf79b
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@
- (Splunk) Deprecate collectd/mysql monitor. Use the [mysql receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/mysqlreceiver) instead. ([#5538](https://github.com/signalfx/splunk-otel-collector/pull/5538))
- (Splunk) Deprecate the collectd/nginx monitor. Please use the [nginx receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/nginxreceiver/) instead. ([#5537](https://github.com/signalfx/splunk-otel-collector/pull/5537))
- (Splunk) Deprecate the collectd/chrony monitor. Please use the [chronyreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/chronyreceiver) instead. ([#5536](https://github.com/signalfx/splunk-otel-collector/pull/5536))
- (Splunk) Deprecate the collectd/genericjmx monitor. Please use the [jmxreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/jmxreceiver) instead. ([#](https://github.com/signalfx/splunk-otel-collector/pull/))
- (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. ([#](https://github.com/signalfx/splunk-otel-collector/pull/))
- (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. ([#](https://github.com/signalfx/splunk-otel-collector/pull/))
- (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. ([#](https://github.com/signalfx/splunk-otel-collector/pull/))
- (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. ([#](https://github.com/signalfx/splunk-otel-collector/pull/))
- (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. ([#](https://github.com/signalfx/splunk-otel-collector/pull/))
- (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. ([#](https://github.com/signalfx/splunk-otel-collector/pull/))
- (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. ([#](https://github.com/signalfx/splunk-otel-collector/pull/))
- (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. ([#](https://github.com/signalfx/splunk-otel-collector/pull/))

### 🚀 New components 🚀

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 29cf79b

Please sign in to comment.