grafana

package
v0.0.0-...-045640b Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Drone

func Drone(namespace, job string) string

func Gitea

func Gitea(namespace, job string) string

func Golang

func Golang(namespace, job string) string
func Link(dashboard, namespace, job string) string

func Litestream

func Litestream(namespace, job string) string

func Maddy

func Maddy(namespace, job string) string

func Redis

func Redis(namespace, job string) string

Types

type Grafana

type Grafana string

Grafana provides functionality for rendering links to dashboards. This implementation provides some shorthand calls that assume the use of my personal dashboards (provided at https://github.com/mjpitz/mjpitz/tree/main/monitoring).

func (Grafana) Drone

func (g Grafana) Drone(namespace, job string) string

func (Grafana) Gitea

func (g Grafana) Gitea(namespace, job string) string

func (Grafana) Golang

func (g Grafana) Golang(namespace, job string) string
func (g Grafana) Link(dashboard, namespace, job string) string

Link renders a link to a grafana deployment given a dashboard id, namespace, and job (assumes a kubernetes based deployment).

func (Grafana) Litestream

func (g Grafana) Litestream(namespace, job string) string

func (Grafana) Maddy

func (g Grafana) Maddy(namespace, job string) string

func (Grafana) Redis

func (g Grafana) Redis(namespace, job string) string

Jump to

Keyboard shortcuts

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