Documentation ¶
Overview ¶
Package http is the package to get status though HTTP.
Index ¶
Constants ¶
View Source
const PluginName = "http"
PluginName is the name of the plugin.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `yaml:"name"` Description string `yaml:"description"` Cron string `yaml:"cron" default:"@10m"` Method string `yaml:"method" default:"GET"` URL string `yaml:"url"` // Values is a map of key/value to add to the spans. See recordMetricStatus. Values map[string]string `yaml:"values"` }
Config is the configuration for an HTTP status.
Click to show internal directories.
Click to hide internal directories.