monitoring

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "unknown" //nolint:gochecknoglobals

Version is injected during the build.

Functions

func Register

func Register(srv *server.Server)

Types

type ApplicationInfoOutput

type ApplicationInfoOutput struct {
	VcsRevision string `json:"vcsRevision"`
	VcsTime     string `json:"vcsTime"`
	Version     string `json:"version"`
}

type DatabaseInfoOutput

type DatabaseInfoOutput struct {
	Timezone string `json:"timezone"`
	Version  string `json:"version"`
}

type GoInfoOutput

type GoInfoOutput struct {
	Version string `json:"version"`
}

type HealthOutput

type HealthOutput struct {
	Status string `json:"status"`
	Uptime string `json:"uptime"`
}

type InfoOutput

type InfoOutput struct {
	Application ApplicationInfoOutput `json:"application"`
	Database    DatabaseInfoOutput    `json:"database"`
	Go          GoInfoOutput          `json:"go"`
}

Jump to

Keyboard shortcuts

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