Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
7a030e0c
Commit
7a030e0c
authored
Jul 03, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished improving InfluxDB docs, Closes #2270
parent
69c02715
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
docs/sources/datasources/influxdb.md
+11
-9
No files found.
docs/sources/datasources/influxdb.md
View file @
7a030e0c
...
...
@@ -43,6 +43,10 @@ panel title, then edit. The editor allows you to select metrics and tags.
To add a tag filter click the plus icon to the right of the
`WHERE`
condition. You can remove tag filters by clicking on
the tag key and select
`--remove tag filter--`
.
### Regex matching
You can type in regex patterns for metric names or tag filter values, be sure to wrap the regex pattern in forward slashes (
`/`
). Grafana
will automaticallay adjust the filter tag condition to use the InfluxDB regex match condition operator (
`=~`
).
### Editor group by
To group by a tag click the plus icon after the
`GROUP BY ($interval)`
text. Pick a tag from the dropdown that appears.
You can remove the group by by clicking on the tag and then select
`--remove group by--`
from the dropdown.
...
...
@@ -83,20 +87,18 @@ SHOW TAG VALUES WITH KEY = "hostname" WHERE region =~ /$region/
!
[
](/img/influxdb/templating_simple_ex1.png)
### Annotations
Annotations allows you to overlay rich event information on top of graphs.
### InfluxDB 0.8.x
An example query:
!
[
](/img/v1/influxdb_editor.png)
## InfluxDB 0.8 Filters & Templated queries
```
SQL
SELECT title, description from events WHERE $timeFilter order asc
```
!
[
](/img/animated_gifs/influxdb_templated_query.gif)
### InfluxDB 0.8.x
Use a distinct influxdb query in the filter query input box:
!
[
](/img/v1/influxdb_editor.png)
```
sql
select
distinct
(
host
)
from
app
.
status
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment