Skip to content

Commit

Permalink
Revert "Component Status Reporting (open-telemetry#8169)"
Browse files Browse the repository at this point in the history
This reverts commit 5361583.
  • Loading branch information
dmitryax committed Oct 10, 2023
1 parent 5361583 commit 34a8a66
Show file tree
Hide file tree
Showing 33 changed files with 64 additions and 2,177 deletions.
16 changes: 0 additions & 16 deletions .chloggen/component-status.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions component/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,3 @@ type CreateDefaultConfigFunc func() Config
func (f CreateDefaultConfigFunc) CreateDefaultConfig() Config {
return f()
}

// InstanceID uniquely identifies a component instance
type InstanceID struct {
ID ID
Kind Kind
PipelineIDs map[ID]struct{}
}
3 changes: 0 additions & 3 deletions component/componenttest/nop_telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,5 @@ func NewNopTelemetrySettings() component.TelemetrySettings {
MeterProvider: noop.NewMeterProvider(),
MetricsLevel: configtelemetry.LevelNone,
Resource: pcommon.NewResource(),
ReportComponentStatus: func(*component.StatusEvent) error {
return nil
},
}
}
2 changes: 0 additions & 2 deletions component/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ type Host interface {
//
// ReportFatalError should be called by the component anytime after Component.Start() ends and
// before Component.Shutdown() begins.
// Deprecated: [0.87.0] Use TelemetrySettings.ReportComponentStatus instead (with an event
// component.StatusFatalError)
ReportFatalError(err error)

// GetFactory of the specified kind. Returns the factory for a component type.
Expand Down
193 changes: 0 additions & 193 deletions component/status.go

This file was deleted.

Loading

0 comments on commit 34a8a66

Please sign in to comment.