Documentation
¶
Overview ¶
Package runtimeobs owns per-instance Prometheus registries. Label values are closed vocabularies; policy revisions and diagnostics belong in Status only.
Index ¶
- Constants
- func NativeFailure(err error) string
- type Monitor
- func (m *Monitor) Handler() http.Handler
- func (m *Monitor) Health(ready bool, condition string)
- func (m *Monitor) Include(children ...*Monitor)
- func (m *Monitor) NativeError(err error)
- func (m *Monitor) Observe(stage string, start time.Time, outcome string)
- func (m *Monitor) Revision(revision string)
- func (m *Monitor) Status() Status
- type Status
Constants ¶
View Source
const Version = 1
Variables ¶
This section is empty.
Functions ¶
func NativeFailure ¶
NativeFailure deliberately discards diagnostic text and rule identifiers.
Types ¶
type Monitor ¶
type Monitor struct {
Registry *prometheus.Registry
// contains filtered or unexported fields
}
func (*Monitor) NativeError ¶
Click to show internal directories.
Click to hide internal directories.