Documentation ¶
Overview ¶
Package cloudprober provides a prober for running a set of probes.
Cloudprober takes in a config proto which dictates what probes should be created with what configuration, and manages the asynchronous fan-in/fan-out of the metrics data from these probes.
Index ¶
Constants ¶
View Source
const ( DefaultServerHost = "" DefaultServerPort = 9313 ServerHostEnvVar = "CLOUDPROBER_HOST" ServerPortEnvVar = "CLOUDPROBER_PORT" )
Constants defining the default server host and port.
Variables ¶
This section is empty.
Functions ¶
func GetInfo ¶
func GetInfo() (map[string]*probes.ProbeInfo, []*surfacers.SurfacerInfo, []*servers.ServerInfo)
GetInfo returns information on all the probes, servers and surfacers.
func InitFromConfig ¶
InitFromConfig initializes Cloudprober using the provided config.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Binary cloudprober is a tool for running a set of probes and metric surfacers on a GCE VM.
|
Binary cloudprober is a tool for running a set of probes and metric surfacers on a GCE VM. |
common
|
|
file
Package file implements utilities to read files from various backends.
|
Package file implements utilities to read files from various backends. |
iputils
Package iputils implements utilities to work with IP addresses.
|
Package iputils implements utilities to work with IP addresses. |
message
Package message implements wrappers for sending and receiving messages with sequence numbers and timestamps.
|
Package message implements wrappers for sending and receiving messages with sequence numbers and timestamps. |
oauth
Package oauth implements OAuth related utilities for Cloudprober.
|
Package oauth implements OAuth related utilities for Cloudprober. |
tlsconfig
Package tlsconfig implements utilities to parse TLSConfig.
|
Package tlsconfig implements utilities to parse TLSConfig. |
Package config provides parser for cloudprober configs.
|
Package config provides parser for cloudprober configs. |
runconfig
Package runconfig stores cloudprober config that is specific to a single invocation.
|
Package runconfig stores cloudprober config that is specific to a single invocation. |
contrib
|
|
gcp/bigquery
Package bigquery connects to the GCP BigQuery API and computes metrics suitable for blackbox-probing.
|
Package bigquery connects to the GCP BigQuery API and computes metrics suitable for blackbox-probing. |
gcp/cmd
Bigquery_probe is an external Cloudprober probe suitable for blackbox-probing the GCP BigQuery API.
|
Bigquery_probe is an external Cloudprober probe suitable for blackbox-probing the GCP BigQuery API. |
examples
|
|
external
Binary redis_probe_once implements an example cloudprober external probe that puts a key-value in a redis server, retrieves it and reports time taken for both operations.
|
Binary redis_probe_once implements an example cloudprober external probe that puts a key-value in a redis server, retrieves it and reports time taken for both operations. |
Package logger provides a logger that logs to Google Cloud Logging.
|
Package logger provides a logger that logs to Google Cloud Logging. |
Package metrics implements data types for probes generated data.
|
Package metrics implements data types for probes generated data. |
testutils
Package testutils provides utilities for tests.
|
Package testutils provides utilities for tests. |
Package prober provides a prober for running a set of probes.
|
Package prober provides a prober for running a set of probes. |
cmd
This binary implements a Cloudprober gRPC client.
|
This binary implements a Cloudprober gRPC client. |
Package probes provides an interface to initialize probes using prober config.
|
Package probes provides an interface to initialize probes using prober config. |
common/statskeeper
Package statskeeper implements utilities that are shared across multiple probe types.
|
Package statskeeper implements utilities that are shared across multiple probe types. |
dns
Package dns implements a DNS prober.
|
Package dns implements a DNS prober. |
dns/cmd
Dns_bin implements a stand-alone dns prober binary using the cloudprober/probes/dns package.
|
Dns_bin implements a stand-alone dns prober binary using the cloudprober/probes/dns package. |
external
Package external implements an external probe type for cloudprober.
|
Package external implements an external probe type for cloudprober. |
external/cmd
This program implements a stand-alone external prober binary using the cloudprober/probes/external package.
|
This program implements a stand-alone external prober binary using the cloudprober/probes/external package. |
external/serverutils
Package serverutils provides utilities to work with the cloudprober's external probe.
|
Package serverutils provides utilities to work with the cloudprober's external probe. |
grpc
Package grpc implements a gRPC probe.
|
Package grpc implements a gRPC probe. |
http
Package http implements HTTP probe type.
|
Package http implements HTTP probe type. |
http/cmd
This program implements a stand-alone http prober binary using the cloudprober/http package.
|
This program implements a stand-alone http prober binary using the cloudprober/http package. |
options
Package options provides a shared interface to common probe options.
|
Package options provides a shared interface to common probe options. |
ping
Package ping implements a fast ping prober.
|
Package ping implements a fast ping prober. |
ping/cmd
This program implements a stand-alone ping prober binary using the cloudprober/ping package.
|
This program implements a stand-alone ping prober binary using the cloudprober/ping package. |
probeutils
Package probeutils implements utilities that are shared across multiple probe types.
|
Package probeutils implements utilities that are shared across multiple probe types. |
udp
Package udp implements a UDP prober.
|
Package udp implements a UDP prober. |
udp/cmd
Udp_bin implements a stand-alone udp prober binary using the cloudprober/probes/udp package.
|
Udp_bin implements a stand-alone udp prober binary using the cloudprober/probes/udp package. |
udplistener
Package udplistener implements a UDP listener.
|
Package udplistener implements a UDP listener. |
rds
|
|
client
Package client implements a ResourceDiscovery service (RDS) client.
|
Package client implements a ResourceDiscovery service (RDS) client. |
client/cmd
This binary implements a standalone ResourceDiscovery service (RDS) client.
|
This binary implements a standalone ResourceDiscovery service (RDS) client. |
gcp
Package gcp implements a GCP (Google Compute Platform) resources provider for ResourceDiscovery server.
|
Package gcp implements a GCP (Google Compute Platform) resources provider for ResourceDiscovery server. |
kubernetes
Package kubernetes implements a kubernetes resources provider for ResourceDiscovery server.
|
Package kubernetes implements a kubernetes resources provider for ResourceDiscovery server. |
server
Package server provides a ResourceDiscovery gRPC server implementation.
|
Package server provides a ResourceDiscovery gRPC server implementation. |
server/cmd
This binary implements a stand-alone ResourceDiscovery server.
|
This binary implements a stand-alone ResourceDiscovery server. |
server/filter
Package filter implements common filters for the RDS (resource discovery service) providers.
|
Package filter implements common filters for the RDS (resource discovery service) providers. |
Package servers provides an interface to initialize cloudprober servers using servers config.
|
Package servers provides an interface to initialize cloudprober servers using servers config. |
grpc
Package grpc provides a simple gRPC server that acts as a probe target.
|
Package grpc provides a simple gRPC server that acts as a probe target. |
http
Package http implements an HTTP server that simply returns 'ok' for any URL and sends stats on a string channel.
|
Package http implements an HTTP server that simply returns 'ok' for any URL and sends stats on a string channel. |
udp
Package udp implements a UDP server.
|
Package udp implements a UDP server. |
udp/cmd
This binary implements a stand-alone UDP server using the cloudprober/servers/udp/udp package.
|
This binary implements a stand-alone UDP server using the cloudprober/servers/udp/udp package. |
Package surfacers is the base package for creating Surfacer objects that are used for writing metics data to different monitoring services.
|
Package surfacers is the base package for creating Surfacer objects that are used for writing metics data to different monitoring services. |
file
Package file implements "file" surfacer.
|
Package file implements "file" surfacer. |
postgres
Package postgres implements "postgres" surfacer.
|
Package postgres implements "postgres" surfacer. |
prometheus
Package prometheus provides a prometheus surfacer for Cloudprober.
|
Package prometheus provides a prometheus surfacer for Cloudprober. |
stackdriver
Package stackdriver implements the Stackdriver version of the Surfacer object.
|
Package stackdriver implements the Stackdriver version of the Surfacer object. |
Package sysvars implements a system variables exporter.
|
Package sysvars implements a system variables exporter. |
Package targets provides the means to list and resolve targets for probers in the cloudprober framework.
|
Package targets provides the means to list and resolve targets for probers in the cloudprober framework. |
endpoint
Package endpoint provides the type Endpoint, to be used with the targets.Targets interface.
|
Package endpoint provides the type Endpoint, to be used with the targets.Targets interface. |
file
Package file implements a file-based targets for cloudprober.
|
Package file implements a file-based targets for cloudprober. |
gce
Package gce implements Google Compute Engine (GCE) targets for Cloudprober.
|
Package gce implements Google Compute Engine (GCE) targets for Cloudprober. |
lameduck
Package lameduck implements a lameducks provider.
|
Package lameduck implements a lameducks provider. |
resolver
Package resolver provides a caching, non-blocking DNS resolver.
|
Package resolver provides a caching, non-blocking DNS resolver. |
rtc/rtcservice
Package rtcservice provides utility functions for the cloudprober project used when dealing with the Runtime Configurator API.
|
Package rtcservice provides utility functions for the cloudprober project used when dealing with the Runtime Configurator API. |
Package validators provides an entrypoint for the cloudprober's validators framework.
|
Package validators provides an entrypoint for the cloudprober's validators framework. |
http
Package http provides an HTTP validator for the Cloudprober's validator framework.
|
Package http provides an HTTP validator for the Cloudprober's validator framework. |
integrity
Package integrity provides data integrity validator for the Cloudprober's validator framework.
|
Package integrity provides data integrity validator for the Cloudprober's validator framework. |
regex
Package regex provides regex validator for the Cloudprober's validator framework.
|
Package regex provides regex validator for the Cloudprober's validator framework. |
Package web provides web interface for cloudprober.
|
Package web provides web interface for cloudprober. |
formatutils
Package formatutils provides web related utils for the cloudprober sub-packages.
|
Package formatutils provides web related utils for the cloudprober sub-packages. |
Click to show internal directories.
Click to hide internal directories.