alerting

package module
v0.0.0-...-5a808da Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

README

gentei-alerting

Gentei's runtime monitoring uses log-based metrics in GCP Operations, which unfortunately means that push notifications to my phone are just Log match condition fired for Google Project with {project_id=member-gentei}..

This is the codebase for a Google Cloud function that (soon) processes the alert and posts the actual logs that are causing problems to a Discord server + channel that only I have access to.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DISCORD_WEBHOOK_URL string

Functions

This section is empty.

Types

type MessagePublishedData

type MessagePublishedData struct {
	Message PubSubMessage
}

type PubSubMessage

type PubSubMessage struct {
	Data []byte `json:"data"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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