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

package grpc

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

Package grpc implements a gRPC probe.

This probes a cloudprober gRPC server and reports success rate, latency, and validation failures.

Index

Package Files

grpc.go

Variables

var (
    TargetsUpdateInterval = 1 * time.Minute
)

TargetsUpdateInterval controls frequency of target updates.

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
proto

Package grpc imports 23 packages (graph) and is imported by 1 packages. Updated 2021-01-26. Refresh now. Tools for package owners.