Skip to content

Commit 34a8a66

Browse files
committed
Revert "Component Status Reporting (open-telemetry#8169)"
This reverts commit 5361583.
1 parent 5361583 commit 34a8a66

33 files changed

+64
-2177
lines changed

.chloggen/component-status.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

component/component.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,3 @@ type CreateDefaultConfigFunc func() Config
175175
func (f CreateDefaultConfigFunc) CreateDefaultConfig() Config {
176176
return f()
177177
}
178-
179-
// InstanceID uniquely identifies a component instance
180-
type InstanceID struct {
181-
ID ID
182-
Kind Kind
183-
PipelineIDs map[ID]struct{}
184-
}

component/componenttest/nop_telemetry.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,5 @@ func NewNopTelemetrySettings() component.TelemetrySettings {
2121
MeterProvider: noop.NewMeterProvider(),
2222
MetricsLevel: configtelemetry.LevelNone,
2323
Resource: pcommon.NewResource(),
24-
ReportComponentStatus: func(*component.StatusEvent) error {
25-
return nil
26-
},
2724
}
2825
}

component/host.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ type Host interface {
1212
//
1313
// ReportFatalError should be called by the component anytime after Component.Start() ends and
1414
// before Component.Shutdown() begins.
15-
// Deprecated: [0.87.0] Use TelemetrySettings.ReportComponentStatus instead (with an event
16-
// component.StatusFatalError)
1715
ReportFatalError(err error)
1816

1917
// GetFactory of the specified kind. Returns the factory for a component type.

component/status.go

Lines changed: 0 additions & 193 deletions
This file was deleted.

0 commit comments

Comments
 (0)