synthetics

package
v0.3.55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSyntheticsToken added in v0.2.124

func GetSyntheticsToken(ctx context.Context) (token string, err error)

func RunAgent

func RunAgent(ctx context.Context) error

func StartSyntheticsMonitoringAgent

func StartSyntheticsMonitoringAgent(clientCtx context.Context)

Types

type ProbeMessage

type ProbeMessage struct {
	Module     string `json:"module"`
	Target     string `json:"target"`
	IPProtocol string `json:"ip_protocol"`
}

type SyntheticsWs

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

func NewMetricsWs

func NewMetricsWs() (*SyntheticsWs, error)

func (*SyntheticsWs) Connect

func (ws *SyntheticsWs) Connect(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL