Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Statusmap plugin for Grafana | Mysql #187

Answered by diafour
OfCores asked this question in Q&A
Discussion options

You must be logged in to vote

Guten Tag! The Mysql datasource has two modes: "Query builder mode" and "Raw SQL mode". The query from the README is a query built by "Query builder" and then copied from "Raw SQL mode".

In "Query builder" it looks like this:

I've got a table "coffee_makers". It is made for test purposes:

mysql> describe coffee_makers;
+-------------+----------+------+-----+---------+----------------+
| Field       | Type     | Null | Key | Default | Extra          |
+-------------+----------+------+-----+---------+----------------+
| id          | int(11)  | NO   | PRI | NULL    | auto_increment |
| name        | text     | NO   |     | NULL    |                |
| date_insert | datetime | YES  |     | …

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@OfCores
Comment options

@nocandoitagain
Comment options

Answer selected by OfCores
Comment options

You must be logged in to vote
5 replies
@diafour
Comment options

@OfCores
Comment options

@diafour
Comment options

@OfCores
Comment options

@diafour
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants