mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
This is just moving an internal package around, as a side effect of #13573
21 lines
553 B
Go
21 lines
553 B
Go
// Copyright The OpenTelemetry Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package status // import "go.opentelemetry.io/collector/service/internal/status"
|
|
|
|
import (
|
|
"go.opentelemetry.io/collector/component/componentstatus"
|
|
)
|
|
|
|
func NewNopStatusReporter() Reporter {
|
|
return &nopStatusReporter{}
|
|
}
|
|
|
|
type nopStatusReporter struct{}
|
|
|
|
func (r *nopStatusReporter) Ready() {}
|
|
|
|
func (r *nopStatusReporter) ReportStatus(*componentstatus.InstanceID, *componentstatus.Event) {}
|
|
|
|
func (r *nopStatusReporter) ReportOKIfStarting(*componentstatus.InstanceID) {}
|