Skip to content

Commit

Permalink
Remove memory ballast extension
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHelmuth committed Jul 19, 2024
1 parent fbadc23 commit f53bcf9
Show file tree
Hide file tree
Showing 29 changed files with 12 additions and 857 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ check-contrib:
-replace go.opentelemetry.io/collector/exporter/otlphttpexporter=$(CURDIR)/exporter/otlphttpexporter \
-replace go.opentelemetry.io/collector/extension=$(CURDIR)/extension \
-replace go.opentelemetry.io/collector/extension/auth=$(CURDIR)/extension/auth \
-replace go.opentelemetry.io/collector/extension/ballastextension=$(CURDIR)/extension/ballastextension \
-replace go.opentelemetry.io/collector/extension/memorylimiterextension=$(CURDIR)/extension/memorylimiterextension \
-replace go.opentelemetry.io/collector/extension/zpagesextension=$(CURDIR)/extension/zpagesextension \
-replace go.opentelemetry.io/collector/featuregate=$(CURDIR)/featuregate \
Expand Down Expand Up @@ -345,7 +344,6 @@ restore-contrib:
-dropreplace go.opentelemetry.io/collector/exporter/otlphttpexporter \
-dropreplace go.opentelemetry.io/collector/extension \
-dropreplace go.opentelemetry.io/collector/extension/auth \
-dropreplace go.opentelemetry.io/collector/extension/ballastextension \
-dropreplace go.opentelemetry.io/collector/extension/memorylimiterextension \
-dropreplace go.opentelemetry.io/collector/extension/zpagesextension \
-dropreplace go.opentelemetry.io/collector/featuregate \
Expand Down
1 change: 0 additions & 1 deletion cmd/builder/internal/config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ exporters:
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.105.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.105.0
extensions:
- gomod: go.opentelemetry.io/collector/extension/ballastextension v0.105.0
- gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.105.0
- gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.105.0
processors:
Expand Down
2 changes: 0 additions & 2 deletions cmd/otelcorecol/builder-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ exporters:
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.105.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.105.0
extensions:
- gomod: go.opentelemetry.io/collector/extension/ballastextension v0.105.0
- gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.105.0
- gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.105.0
processors:
Expand Down Expand Up @@ -72,7 +71,6 @@ replaces:
- go.opentelemetry.io/collector/exporter/otlphttpexporter => ../../exporter/otlphttpexporter
- go.opentelemetry.io/collector/extension => ../../extension
- go.opentelemetry.io/collector/extension/auth => ../../extension/auth
- go.opentelemetry.io/collector/extension/ballastextension => ../../extension/ballastextension
- go.opentelemetry.io/collector/extension/memorylimiterextension => ../../extension/memorylimiterextension
- go.opentelemetry.io/collector/extension/zpagesextension => ../../extension/zpagesextension
- go.opentelemetry.io/collector/featuregate => ../../featuregate
Expand Down
3 changes: 0 additions & 3 deletions cmd/otelcorecol/components.go

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

5 changes: 1 addition & 4 deletions cmd/otelcorecol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module go.opentelemetry.io/collector/cmd/otelcorecol

go 1.21.0

toolchain go1.21.12
toolchain go1.21.11

require (
go.opentelemetry.io/collector/component v0.105.0
Expand All @@ -24,7 +24,6 @@ require (
go.opentelemetry.io/collector/exporter/otlpexporter v0.105.0
go.opentelemetry.io/collector/exporter/otlphttpexporter v0.105.0
go.opentelemetry.io/collector/extension v0.105.0
go.opentelemetry.io/collector/extension/ballastextension v0.105.0
go.opentelemetry.io/collector/extension/memorylimiterextension v0.105.0
go.opentelemetry.io/collector/extension/zpagesextension v0.105.0
go.opentelemetry.io/collector/otelcol v0.105.0
Expand Down Expand Up @@ -198,8 +197,6 @@ replace go.opentelemetry.io/collector/extension => ../../extension

replace go.opentelemetry.io/collector/extension/auth => ../../extension/auth

replace go.opentelemetry.io/collector/extension/ballastextension => ../../extension/ballastextension

replace go.opentelemetry.io/collector/extension/memorylimiterextension => ../../extension/memorylimiterextension

replace go.opentelemetry.io/collector/extension/zpagesextension => ../../extension/zpagesextension
Expand Down
1 change: 0 additions & 1 deletion component/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ func TestNewType(t *testing.T) {
{name: "loki"},
{name: "mdatagen"},
{name: "memcached"},
{name: "memory_ballast"},
{name: "memory_limiter"},
{name: "metricstransform"},
{name: "mezmo"},
Expand Down
3 changes: 1 addition & 2 deletions extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ performance profile.

Supported service extensions (sorted alphabetically):

- [Memory Ballast](ballastextension/README.md)
- [zPages](zpagesextension/README.md)

The [contributors
Expand All @@ -28,5 +27,5 @@ will be shutdown. The ordering is determined in the `extensions` tag under the
service:
# Extensions specified below are going to be loaded by the service in the
# order given below, and shutdown on reverse order.
extensions: [memory_ballast, zpages]
extensions: [zpages]
```
1 change: 0 additions & 1 deletion extension/ballastextension/Makefile

This file was deleted.

63 changes: 0 additions & 63 deletions extension/ballastextension/README.md

This file was deleted.

28 changes: 0 additions & 28 deletions extension/ballastextension/config.go

This file was deleted.

42 changes: 0 additions & 42 deletions extension/ballastextension/config_test.go

This file was deleted.

31 changes: 0 additions & 31 deletions extension/ballastextension/factory.go

This file was deleted.

32 changes: 0 additions & 32 deletions extension/ballastextension/factory_test.go

This file was deleted.

50 changes: 0 additions & 50 deletions extension/ballastextension/generated_component_test.go

This file was deleted.

13 changes: 0 additions & 13 deletions extension/ballastextension/generated_package_test.go

This file was deleted.

Loading

0 comments on commit f53bcf9

Please sign in to comment.