Skip to content

Commit

Permalink
[chore] Remove stable feature gate receiver.vcenter.emitPerfMetricsWi…
Browse files Browse the repository at this point in the history
…thObjects (open-telemetry#33306)
  • Loading branch information
atoulme authored May 30, 2024
1 parent ed66a5f commit 6b5c231
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions receiver/vcenterreceiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,3 @@ The full list of settings exposed for this receiver are documented [here](./conf
Details about the metrics produced by this receiver can be found in [metadata.yaml](./metadata.yaml) with further documentation in [documentation.md](./documentation.md)
### Feature gates
The `receiver.vcenter.emitPerfMetricsWithObjects` is now stable and will be removed in v0.97.0.
2 changes: 0 additions & 2 deletions receiver/vcenterreceiver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ require (
go.opentelemetry.io/collector/config/configtls v0.101.1-0.20240527192838-af4fdd4e342a
go.opentelemetry.io/collector/confmap v0.101.1-0.20240527192838-af4fdd4e342a
go.opentelemetry.io/collector/consumer v0.101.1-0.20240527192838-af4fdd4e342a
go.opentelemetry.io/collector/featuregate v1.8.1-0.20240527192838-af4fdd4e342a
go.opentelemetry.io/collector/filter v0.101.1-0.20240527192838-af4fdd4e342a
go.opentelemetry.io/collector/pdata v1.8.1-0.20240527192838-af4fdd4e342a
go.opentelemetry.io/collector/receiver v0.101.1-0.20240527192838-af4fdd4e342a
Expand Down Expand Up @@ -51,7 +50,6 @@ require (
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.17.2 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
Expand Down
4 changes: 0 additions & 4 deletions receiver/vcenterreceiver/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 0 additions & 11 deletions receiver/vcenterreceiver/scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"github.com/vmware/govmomi/vim25/mo"
"github.com/vmware/govmomi/vim25/types"
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/featuregate"
"go.opentelemetry.io/collector/pdata/pmetric"
"go.opentelemetry.io/collector/receiver"
"go.opentelemetry.io/collector/receiver/scrapererror"
Expand All @@ -18,16 +17,6 @@ import (
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver/internal/metadata"
)

const (
emitPerfMetricsWithObjectsFeatureGateID = "receiver.vcenter.emitPerfMetricsWithObjects"
)

var _ = featuregate.GlobalRegistry().MustRegister(
emitPerfMetricsWithObjectsFeatureGateID,
featuregate.StageStable,
featuregate.WithRegisterToVersion("v0.97.0"),
)

var _ receiver.Metrics = (*vcenterMetricScraper)(nil)

type vmGroupInfo struct {
Expand Down

0 comments on commit 6b5c231

Please sign in to comment.