telemetry

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateStartupReadiness

func ValidateStartupReadiness(ctx context.Context, appCtx *app.Context) error

Types

type Check

type Check struct {
	Name   string `json:"name"`
	Status string `json:"status"`
	Detail string `json:"detail,omitempty"`
}

type ModuleStatus

type ModuleStatus struct {
	Enabled bool    `json:"enabled"`
	Ready   bool    `json:"ready"`
	Status  string  `json:"status"`
	Checks  []Check `json:"checks"`
}

type ProbeResponse

type ProbeResponse struct {
	Status    string                  `json:"status"`
	Timestamp string                  `json:"timestamp"`
	Modules   map[string]ModuleStatus `json:"modules"`
}

func Health

func Health(appCtx *app.Context) ProbeResponse

func Readiness

func Readiness(ctx context.Context, appCtx *app.Context) (int, ProbeResponse)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL