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. |
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. |
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 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. |
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. |
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. |
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. |
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. |
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. |
rds/client
Package client implements a ResourceDiscovery service (RDS) client.
|
Package client implements a ResourceDiscovery service (RDS) client. |
rds/client/cmd
This binary implements a standalone ResourceDiscovery service (RDS) client.
|
This binary implements a standalone ResourceDiscovery service (RDS) client. |
rds/server
Package server provides a ResourceDiscovery gRPC server implementation.
|
Package server provides a ResourceDiscovery gRPC server implementation. |
rds/server/cmd
This binary implements a stand-alone ResourceDiscovery server.
|
This binary implements a stand-alone ResourceDiscovery server. |
rds/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. |
rds/server/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. |
resolver
Package resolver provides a caching, non-blocking DNS resolver.
|
Package resolver provides a caching, non-blocking DNS resolver. |
rtc
Package rtc implements runtime-configurator (RTC) based targets.
|
Package rtc implements runtime-configurator (RTC) based targets. |
rtc/rtcreporter
Package rtcreporter implements a reporting mechanism for RTC targets.
|
Package rtcreporter implements a reporting mechanism for RTC targets. |
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.