Skip to content

Commit 10f58c3

Browse files
authored
[collectd/systemd] deprecate the collectd/systemd monitor (#7205)
1 parent ce867bc commit 10f58c3

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.chloggen/deprecate_systemd.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2+
change_type: deprecation
3+
4+
# The name of the component, or a single word describing the area of concern, (e.g. crosslink)
5+
component: collectd/systemd
6+
7+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8+
note: Deprecate the collectd/systemd monitor
9+
10+
# One or more tracking issues related to the change
11+
issues: [7205]
12+
13+
# (Optional) One or more lines of additional information to render under the primary note.
14+
# These lines will be padded with 2 spaces and then inserted directly into the document.
15+
# Use pipe (|) for multiline entries.
16+
subtext: |
17+
Please use the [systemd receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/systemdreceiver/README.md) instead.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ monitors:
77
description: The name of the collectd plugin. Facilitates filtering operations
88
in the SignalFx app
99
doc: |
10-
This [SignalFx Smart Agent](https://github.com/signalfx/signalfx-agent) monitor collects metrics about the state of
10+
**This monitor is deprecated and will removed on or after April 2026. Please use the systemd receiver instead**
11+
This monitor collects metrics about the state of
1112
configured systemd services using the [collectd-systemd](https://github.com/signalfx/collectd-systemd)
1213
plugin. A service is in the state that a metric represents if the metric value is 1 and not in that state if the
1314
metric value is 0. The name of the service that the metric is reporiting about is assigned to dimension

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,6 @@ func (m *Monitor) Configure(conf *Config) error {
9393
"ServiceStates": serviceStates,
9494
},
9595
}
96+
m.Logger().Warn("[NOTICE] The collectd/systemd monitor is deprecated and will be removed on or after April 2026. Please use the systemdreceiver instead.")
9697
return m.PyMonitor.Configure(conf)
9798
}

0 commit comments

Comments
 (0)