Documentation
¶
Index ¶
- type MetricsCollector
- type Runtime
- type Server
- func (s *Server) Adopt(snapshot *config.Snapshot)
- func (s *Server) AdoptVersion(snapshot *config.Snapshot, version int64)
- func (s *Server) Routes() http.Handler
- func (s *Server) Runtime() *Runtime
- func (s *Server) RuntimeOrNil() *Runtime
- func (s *Server) SetConfigVersion(version int64)
- func (s *Server) SetTelemetry(recorder telemetry.Recorder)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsCollector ¶
type MetricsCollector struct {
// contains filtered or unexported fields
}
func NewMetricsCollector ¶
func NewMetricsCollector() *MetricsCollector
func (*MetricsCollector) Observe ¶
func (m *MetricsCollector) Observe(event telemetry.Event)
type Server ¶
type Server struct {
// Status page (/status) metadata: injected build info + process start.
Version string
StartedAt time.Time
// contains filtered or unexported fields
}
func NewRuntimeServer ¶
func NewRuntimeServer(snapshot *config.Snapshot, state *resilience.State) *Server
func (*Server) AdoptVersion ¶
func (*Server) RuntimeOrNil ¶
func (*Server) SetConfigVersion ¶
func (*Server) SetTelemetry ¶
Click to show internal directories.
Click to hide internal directories.