mirror of
https://github.com/hanzoai/traces.git
synced 2026-11-03 04:05:45 +00:00
* Update Prometheus to v0.307.2 * Update otel collector * Update OTel collector
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) {}
|