grafana-controller

command module
v0.0.0-...-f8279ce Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

README

grafana controller

Simple controller to interact with grafana.

Controller allows you to save your grafana dashboards as a CRD, which can then be managed by the controller.

The controller uses the grafana-tools/sdk for interacting with the grafana endpoint defined in the configuration.

The controller supports the following types:

  • dashboards
  • folders
  • datasources

Sample CRD's are available in samples directory.

Note: When the crd resources are deleted, the controller will clean them up from Grafana too.

A helm chart to consume the same is available in the charts directory.

The chart needs two values to be updated based on your environment.

args:
  grafana_endpoint: "http://access-grafana.cattle-prometheus.svc.cluster.local"
  grafana_token: "admin:password"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +kubebuilder:object:generate=true +groupName=k8s.grafana.io
Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +kubebuilder:object:generate=true +groupName=k8s.grafana.io

Jump to

Keyboard shortcuts

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