cloudprober: github.com/google/cloudprober/probes/http Index | Files | Directories

package http

import "github.com/google/cloudprober/probes/http"

Package http implements HTTP probe type.

Index

Package Files

http.go request.go

Variables

var DefaultTargetsUpdateInterval = 1 * time.Minute

DefaultTargetsUpdateInterval defines default frequency for target updates. Actual targets update interval is: max(DefaultTargetsUpdateInterval, probe_interval)

type Probe Uses

type Probe struct {
    // contains filtered or unexported fields
}

Probe holds aggregate information about all probe runs, per-target.

func (*Probe) Init Uses

func (p *Probe) Init(name string, opts *options.Options) error

Init initializes the probe with the given params.

func (*Probe) Start Uses

func (p *Probe) Start(ctx context.Context, dataChan chan *metrics.EventMetrics)

Start starts and runs the probe indefinitely.

Directories

PathSynopsis
cmdThis program implements a stand-alone http prober binary using the cloudprober/http package.
proto

Package http imports 24 packages (graph) and is imported by 8 packages. Updated 2021-01-26. Refresh now. Tools for package owners.