Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

509 B
Raw Blame
package apiserver

import (
	"github.com/SigNoz/signoz/pkg/factory"
	"github.com/gorilla/mux"
)

type APIServer interface {
	// APIServer is a long running service serving the SigNoz API.
	factory.ServiceWithHealthy

	// Returns the mux router for the API server. Primarily used for collecting OpenAPI operations.
	Router() *mux.Router

	// Adds the API server routes to an existing router. This is a backwards compatible method for adding routes to the input router.
	AddToRouter(router *mux.Router) error
}