Skip to content

Deprecate genericjmx and all downstream monitors #5539

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

Merged
merged 3 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
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. ([#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))
- (Splunk) Deprecate the ecs-metadata monitor ([#5541](https://github.com/signalfx/splunk-otel-collector/pull/5541))
- (Splunk) Deprecate the haproxy monitor. Please use the [haproxyreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/haproxyreceiver) instead. ([#5543](https://github.com/signalfx/splunk-otel-collector/pull/5543))

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
Loading