Documentation
¶
Overview ¶
Package healthserver provides a simplified HTTP server for Fleet Intelligence metrics export. This server focuses only on health monitoring and metrics export, removing all management functionality like package management, control plane connectivity, fault injection, and plugin systems.
Index ¶
Constants ¶
View Source
const URLPathInjectFault = "/inject-fault"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a simplified health metrics exporter server
func New ¶
func New(ctx context.Context, auditLogger log.AuditLogger, config *config.Config) (retServer *Server, retErr error)
New creates a new simplified health server for metrics export only
func (*Server) GetHealthExporter ¶
GetHealthExporter returns the health exporter instance (for offline mode access)
Click to show internal directories.
Click to hide internal directories.