Skip to content

Commit 29cf79b

Browse files
committed
Deprecate genericjmx and all downstream monitors
1 parent 8be85b9 commit 29cf79b

File tree

13 files changed

+31
-1
lines changed

13 files changed

+31
-1
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@
2121
- (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))
2222
- (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))
2323
- (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))
24+
- (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/))
25+
- (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/))
26+
- (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/))
27+
- (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/))
28+
- (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/))
29+
- (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/))
30+
- (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/))
31+
- (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/))
32+
- (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/))
2433

2534
### 🚀 New components 🚀
2635

internal/signalfx-agent/pkg/monitors/collectd/activemq/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
monitors:
22
- dimensions:
33
doc: |
4+
**The collectd/activemq monitor is deprecated. Use the jmxreceiver with the activemq target system instead.**
5+
46
SignalFx's integration with ActiveMQ wraps the [Collectd GenericJMX
57
monitor](https://docs.splunk.com/observability/gdi/genericjmx/genericjmx.html)
68
to monitor ActiveMQ.

internal/signalfx-agent/pkg/monitors/collectd/cassandra/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
monitors:
22
- dimensions:
33
doc: |
4+
**The collectd/cassandra monitor is deprecated. Use the jmxreceiver with the cassandra target system instead.**
5+
46
Monitors Cassandra using the Collectd GenericJMX plugin. This is
57
essentially a wrapper around the
68
[collectd-genericjmx](./collectd-genericjmx.md)[](sfx_link:java) monitor that comes with a

internal/signalfx-agent/pkg/monitors/collectd/genericjmx/genericjmx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,5 @@ func (m *JMXMonitorCore) Configure(conf *Config) error {
102102
conf.ServiceName = m.defaultServiceName
103103
}
104104

105-
return m.SetConfigurationAndRun(conf)
105+
return m.SetConfigurationAndRun(conf, collectd.WithDeprecationWarningLog("jmxreceiver"))
106106
}

internal/signalfx-agent/pkg/monitors/collectd/genericjmx/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
monitors:
22
- dimensions:
33
doc: |
4+
**The collectd/genericjmx monitor is deprecated. Use the jmxreceiver instead.**
5+
46
Monitors Java services that expose metrics on JMX using collectd's
57
GenericJMX plugin. The GenericJMX plugin reads Managed Beans (MBeans) from
68
an MBeanServer using JMX. The monitor uses an embedded Java runtime in

internal/signalfx-agent/pkg/monitors/collectd/hadoop/hadoop.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ func (m *Monitor) Configure(conf *Config) error {
6262
"Verbose": conf.Verbose,
6363
},
6464
}
65+
m.Logger().Warn("[NOTICE] the collectd/hadoop monitor is deprecated. Use the jmxreceiver instead")
6566

6667
return m.PyMonitor.Configure(conf)
6768
}

internal/signalfx-agent/pkg/monitors/collectd/hadoop/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
monitors:
22
- dimensions:
33
doc: |
4+
**The collectd/hadoop monitor is deprecated. Use the jmxreceiver with the hadoop target system instead.**
5+
46
Collects metrics about a Hadoop 2.0+ cluster using the [collectd Hadoop Python
57
plugin](https://github.com/signalfx/collectd-hadoop). If a remote JMX port
68
is exposed in the hadoop cluster, then you may also configure the

internal/signalfx-agent/pkg/monitors/collectd/hadoopjmx/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
monitors:
22
- dimensions:
33
doc: |
4+
**The collectd/hadoopjmx monitor is deprecated. Use the jmxreceiver with the hadoop target system instead.**
5+
46
Collects metrics about a Hadoop 2.0+ cluster using using collectd's GenericJMX
57
plugin. You may also configure the
68
[collectd/hadoop](https://github.com/signalfx/signalfx-agent/tree/main/docs/monitors/collectd-hadoop.md)

internal/signalfx-agent/pkg/monitors/collectd/kafka/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
monitors:
22
- dimensions:
33
doc: |
4+
**The collectd/kafka monitor is deprecated. Use the jmxreceiver with the kafka target system instead.**
5+
46
Monitors a Kafka instance using collectd's
57
GenericJMX plugin. See the [collectd/genericjmx
68
monitor](./collectd-genericjmx.md)[](sfx_link:java) for more information on

internal/signalfx-agent/pkg/monitors/collectd/kafkaconsumer/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
monitors:
22
- dimensions:
33
doc: |
4+
**The collectd/kafkaconsumer monitor is deprecated. Use the jmxreceiver with the kafka-consumer target system instead.**
5+
46
Monitors a Java based Kafka consumer using [collectd's GenericJMX plugin](./collectd-genericjmx.md)[](sfx_link:java).
57
68
This monitor has a set of [built in MBeans

internal/signalfx-agent/pkg/monitors/collectd/kafkaproducer/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
monitors:
22
- dimensions:
33
doc: |
4+
**The collectd/kafkaproducer monitor is deprecated. Use the jmxreceiver with the kafka-producer target system instead.**
5+
46
Monitors a Java based Kafka producer using GenericJMX.
57
68
This monitor has a set of [built in MBeans

internal/signalfx-agent/pkg/monitors/collectd/solr/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
monitors:
22
- dimensions:
33
doc: |
4+
**The collectd/solr monitor is deprecated. Use the jmxreceiver with the solr target system instead.**
5+
46
Monitors Solr instances by using the [collectd Solr
57
plugin](https://github.com/signalfx/collectd-solr). Supports Solr 6.6 and
68
later.

internal/signalfx-agent/pkg/monitors/collectd/tomcat/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
monitors:
22
- dimensions:
33
doc: |
4+
**The collectd/tomcat monitor is deprecated. Use the jmxreceiver with the tomcat target system instead.**
5+
46
Monitors Tomcat using the Collectd GenericJMX plugin. This is essentially a wrapper around
57
the [collectd-genericjmx](./collectd-genericjmx.md)[](sfx_link:java) monitor that comes with
68
a set of predefined MBean definitions that a standard Tomcat deployment will expose.

0 commit comments

Comments
 (0)