Skip to content

Commit ddacaec

Browse files
authored
add announcement that prometheus.exporter.vsphere was deprecated in v0.40 (#6731)
The intent was the prometheus.exporter.vsphere was deprecated in v0.40, but this was mistakenly omitted from the release. This commit adds the deprecation notice.
1 parent a7153e4 commit ddacaec

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ v0.40.0 (2024-02-27)
108108

109109
### Deprecations
110110

111-
- Module components have been deprecated in favor of import and declare configuration blocks. These deprecated components will be removed in the next release. (@wildum)
111+
- Module components have been deprecated in favor of import and declare configuration blocks. These deprecated components will be removed in a future release. (@wildum)
112+
113+
- `prometheus.exporter.vsphere` has been deprecated in favor of `otelcol.receiver.vcenter`. This deprecated component will be removed in a future release. (@rfratto)
112114

113115
### Features
114116

docs/sources/flow/reference/components/prometheus.exporter.vsphere.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,19 @@ title: prometheus.exporter.vsphere
99
description: Learn about prometheus.exporter.vsphere
1010
---
1111

12-
# prometheus.exporter.vsphere
12+
# prometheus.exporter.vsphere (deprecated)
1313

14-
The `prometheus.exporter.vsphere` component embeds [`vmware_exporter`](https://github.com/grafana/vmware_exporter) to collect vSphere metrics
14+
{{< admonition type="caution" >}}
15+
Starting with release v0.40, `prometheus.exporter.vsphere` is deprecated. Consider using `otelcol.receiver.vcenter` instead.
16+
`prometheus.exporter.vsphere` will be removed in a future release.
17+
{{< /admonition >}}
18+
19+
The `prometheus.exporter.vsphere` component embeds [`vmware_exporter`](https://github.com/grafana/vmware_exporter) to collect vSphere metrics.
1520

1621
> **NOTE**: We recommend to use [otelcol.receiver.vcenter][] instead.
1722
1823
[otelcol.receiver.vcenter]: {{< relref "./otelcol.receiver.vcenter.md" >}}
1924

20-
2125
## Usage
2226

2327
```river

docs/sources/flow/release-notes.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ Other release notes for the different {{< param "PRODUCT_ROOT_NAME" >}} variants
3636
The default listen port for `otelcol.receiver.opencensus` has changed from 4317 to 55678 to align with the upstream defaults.
3737
To retain the previous listen port, explicitly set the `endpoint` argument to `0.0.0.0:4317` before upgrading.
3838

39-
### Breaking change: classic modules have been removed
40-
41-
Classic modules (the `module.git`, `module.file`, `module.http`, and `module.string` components) were initially deprecated in v0.40 in favor of the `import` and `declare` configuration blocks, and have been removed as of this release.
42-
4339
## v0.40
4440

4541
### Breaking change: Prohibit the configuration of services within modules.
@@ -57,11 +53,17 @@ If you need to see high cardinality metrics containing labels such as IP address
5753
The name `prometheus.exporter.agent` is potentially ambiguous and can be misinterpreted as an exporter for Prometheus Agent.
5854
The new name reflects the component's true purpose as an exporter of the process's own metrics.
5955

60-
### Deprecation: classic modules have been deprecated and will be removed in the next release
56+
### Deprecation: classic modules have been deprecated and will be removed in a future release
6157

6258
Classic modules (the `module.git`, `module.file`, `module.http`, and `module.string` components) have been deprecated in favor of the new `import` and `declare` configuration blocks.
6359

64-
Support for classic modules will be removed in the next release.
60+
Support for classic modules will be removed in a future release.
61+
62+
### Deprecation: `prometheus.exporter.vsphere` is deprecated and will be removed in a future release
63+
64+
The `prometheus.exporter.vsphere` component has been deprecated in favor of `otelcol.receiver.vcenter`.
65+
66+
Support for `prometheus.exporter.vsphere` will be removed in a future release.
6567

6668
## v0.39
6769

0 commit comments

Comments
 (0)