Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "prometheus-msteams",
Short: "A mini webserver to receive Alertmanager message and sends it to Microsoft teams.",
}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type TeamsConfig ¶
TeamsConfig is the struct for config files The Connectors key is the request path for Prometheus to post The Connectors value is the Teams webhook url
Click to show internal directories.
Click to hide internal directories.