Discover Packages
github.com/cplieger/knell
internal
webapi
package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Jul 23, 2026
License: GPL-2.0, GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package webapi assembles knell's HTTP surface: the beat ingestion
endpoint, the health endpoint, and Prometheus metrics, wrapped in the
standard middleware stack.
New assembles the routed and middleware-wrapped root handler.
healthz answers liveness; metricsHandler serves the Prometheus exposition.
Beater records pings. Implemented by watch.Watcher.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.