Documentation ¶
Overview ¶
Package probestatus implements a surfacer that exposes probes' status over web interface. This surfacer builds an in-memory timeseries database from the incoming EventMetrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Surfacer ¶
type Surfacer struct {
// contains filtered or unexported fields
}
Surfacer implements a status surfacer for Cloudprober.
func New ¶
func New(ctx context.Context, config *configpb.SurfacerConf, opts *options.Options, l *logger.Logger) (*Surfacer, error)
New returns a probestatus surfacer based on the config provided. It sets up a goroutine to process both the incoming EventMetrics and the web requests for the URL handler /metrics.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.