Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
renamed repo
Browse files Browse the repository at this point in the history
  • Loading branch information
sbueringer committed Sep 10, 2018
1 parent a485655 commit 50da2c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions dist/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@

# Grafana datasource for Consul

[![Travis](https://img.shields.io/travis/sbueringer/consul-datasource.svg)](https://travis-ci.org/sbueringer/consul-datasource)[![Codecov](https://img.shields.io/codecov/c/github/sbueringer/consul-datasource.svg)](https://codecov.io/gh/sbueringer/consul-datasource)[![CodeFactor](https://www.codefactor.io/repository/github/sbueringer/consul-datasource/badge)](https://www.codefactor.io/repository/github/sbueringer/consul-datasource)[![GoReportCard](https://goreportcard.com/badge/github.com/sbueringer/consul-datasource?style=plastic)](https://goreportcard.com/report/github.com/sbueringer/consul-datasource)![GitHub release](https://img.shields.io/github/release/sbueringer/consul-datasource.svg)
[![Travis](https://img.shields.io/travis/sbueringer/grafana-consul-datasource.svg)](https://travis-ci.org/sbueringer/grafana-consul-datasource)[![Codecov](https://img.shields.io/codecov/c/github/sbueringer/grafana-consul-datasource.svg)](https://codecov.io/gh/sbueringer/grafana-consul-datasource)[![CodeFactor](https://www.codefactor.io/repository/github/sbueringer/grafana-consul-datasource/badge)](https://www.codefactor.io/repository/github/sbueringer/grafana-consul-datasource)[![GoReportCard](https://goreportcard.com/badge/github.com/sbueringer/grafana-consul-datasource?style=plastic)](https://goreportcard.com/report/github.com/sbueringer/grafana-consul-datasource)![GitHub release](https://img.shields.io/github/release/sbueringer/grafana-consul-datasource.svg)

[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/dwyl/esta/issues)

This datasource lets you integrate key value data from Consul in Grafana dashboards.

![Overview](https://github.com/sbueringer/consul-datasource/raw/master/docs/overview.png)
![Overview](https://github.com/sbueringer/grafana-consul-datasource/raw/master/docs/overview.png)

# Usage

The data can be used in **table** and **single-stat** panels. The following explanations are based on the example available in the [example folder](https://github.com/sbueringer/consul-datasource/tree/master/example).
The data can be used in **table** and **single-stat** panels. The following explanations are based on the example available in the [example folder](https://github.com/sbueringer/grafana-consul-datasource/tree/master/example).

## Adding the datasource

Expand All @@ -33,18 +33,18 @@ The data can be used in **table** and **single-stat** panels. The following expl

### Variables

![Variables](https://github.com/sbueringer/consul-datasource/raw/master/docs/keys.png)
![Variables](https://github.com/sbueringer/grafana-consul-datasource/raw/master/docs/keys.png)

This example shows how keys can be queried to use them as variables. This query retrieves all direct subkeys of `registry/apiregistration.k8s.io/apiservices/`. The subkeys are then matched via the regex and can then be used as variable values.

### Singlestat Panel

![Tags](https://github.com/sbueringer/consul-datasource/raw/master/docs/tags.png)
![Tags](https://github.com/sbueringer/grafana-consul-datasource/raw/master/docs/tags.png)

This example shows how subkeys can be retrieved as tags. These tags can then be displayed in the Single Stat panel by defining a legend format. *Note*: This only works if `Value / Stat` in the `Option` tab is set to `Name`.

### Table Panel

![Table](https://github.com/sbueringer/consul-datasource/raw/master/docs/table.png)
![Table](https://github.com/sbueringer/grafana-consul-datasource/raw/master/docs/table.png)

The final examples shows how key/value pairs can be displayed in tables. Every matching key of the query results in one row. Columns can then be retrieved relative from this key.
Binary file modified dist/grafana-consul-plugin_linux_amd64
Binary file not shown.
4 changes: 2 additions & 2 deletions dist/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"large": "img/Consul_VerticalLogo_MonochromeTonal.svg"
},
"links": [
{"name": "GitHub", "url": "https://github.com/sbueringer/consul-datasource"},
{"name": "Apache License 2.0", "url": "https://github.com/sbueringer/consul-datasource/blob/master/LICENSE"}
{"name": "GitHub", "url": "https://github.com/sbueringer/grafana-consul-datasource"},
{"name": "Apache License 2.0", "url": "https://github.com/sbueringer/grafana-consul-datasource/blob/master/LICENSE"}
],
"version": "0.1.2",
"updated": "2018-09-07"
Expand Down

0 comments on commit 50da2c5

Please sign in to comment.