mirror of
https://github.com/hanzoai/otel-collector.git
synced 2026-11-03 02:20:04 +00:00
Fixes https://github.com/SigNoz/signoz-otel-collector/issues/395 All of the code is copied except the handler code in func `baseHandler` and `Handler()` is modified to return success all the time under the extension name `signoz_health_check`.
10 lines
411 B
Go
10 lines
411 B
Go
// Copyright The OpenTelemetry Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
//go:generate mdatagen metadata.yaml
|
|
|
|
// Package healthcheckextension implements an extension that enables an HTTP
|
|
// endpoint that can be used to check the overall health and status of the
|
|
// service.
|
|
package healthcheckextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension"
|