The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/pkg/services/grafana-apiserver
Ryan McKinley 717a9dd616
K8s: Add example api service (#75911)
2 years ago
..
auth/authorizer K8s: Add org ID and role authorizers (#75701) 2 years ago
endpoints/request K8s: Add org ID and role authorizers (#75701) 2 years ago
registry/generic K8s: Add storage dual writer (#75403) 2 years ago
rest K8s: Add storage dual writer (#75403) 2 years ago
README.md K8s: Playlist frontend reads (#76057) 2 years ago
common.go K8s: Add example api service (#75911) 2 years ago
log.go Chore: use any rather than interface{} (#74066) 2 years ago
openapi.go K8s: Register apiserver as background service, and list real playlists (#75338) 2 years ago
request_handler.go K8s: Add example api service (#75911) 2 years ago
service.go K8s: Add example api service (#75911) 2 years ago
wireset.go K8s: Add org ID and role authorizers (#75701) 2 years ago

README.md

Grafana Kubernetes compatible API Server

Basic Setup

app_mode = development

[feature_toggles]
grafanaAPIServer = true
kubernetesPlaylists = true

Start Grafana:

make run

Enable dual write to etcd

Start etcd:

make devenv sources=etcd

Enable dual write to etcd:

[grafana-apiserver]
etcd_servers = 127.0.0.1:2379

kubectl access

From the root of the repository:

export KUBECONFIG=$PWD/data/k8s/grafana.kubeconfig
kubectl api-resources

Grafana API Access

The Kubernetes compatible API can be accessed using existing Grafana AuthN at: http://localhost:3000/apis.