Files
Srikanth ChekuriandGitHub 0f26c2798a Add custom healthcheckextension (#400)
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`.
2024-09-20 17:43:14 +05:30

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"