Documentation
¶
Overview ¶
Package status provides real-time instantaneous status of every Blip component. The only caller is server.API via GET /status.
Index ¶
- Constants
- func Blip(component, msg string, args ...interface{})
- func Monitor(monitorId, component string, msg string, args ...interface{})
- func RemoveComponent(monitorId, component string)
- func RemoveMonitor(monitorId string)
- func ReportBlip() map[string]string
- func ReportMonitors(ids ...string) map[string]map[string]string
- func Reset()
Constants ¶
View Source
const ( SERVER = "server" MONITOR = "monitor" MONITOR_DSN = "dsn" PLAN_CHANGER = "plan-changer" PLAN_CHANGER_STATE = "state" PLAN_CHANGER_PENDING = "state-pending" LEVEL_COLLECTOR = "level-collector" LEVEL_PLAN = "level-plan" LEVEL_STATE = "level-state" LEVEL_COLLECT = "level-collect" LEVEL_SINKS = "level-sinks" LEVEL_CHANGE_PLAN = "level-change-plan" ENGINE_COLLECT = "engine-collect" ENGINE_PREPARE = "engine-prepare" ENGINE_PLAN = "engine-plan" HEARTBEAT_READER = "heartbeat-reader" HEARTBEAT_WRITER = "heartbeat-writer" )
Variables ¶
This section is empty.
Functions ¶
func RemoveComponent ¶
func RemoveComponent(monitorId, component string)
func RemoveMonitor ¶
func RemoveMonitor(monitorId string)
func ReportBlip ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.