Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
b390aab7
Commit
b390aab7
authored
Nov 13, 2015
by
Harmen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Grafana supports prom by default now.
parent
e5f1acae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
17 deletions
+7
-17
grafana.md
content/docs/visualization/grafana.md
+7
-17
No files found.
content/docs/visualization/grafana.md
View file @
b390aab7
...
...
@@ -4,36 +4,26 @@ sort_rank: 7
---
# Grafana support for Prometheus
There is early support for querying Prometheus servers from
[
Grafana
](
http://grafana.org/
)
.
The Grafana data source for Prometheus currently lives in the
[
grafana-plugins
](
https://github.com/grafana/grafana-plugins
)
repository.
[
Grafana
](
http://grafana.org/
)
supports querying Prometheus.
The Grafana data source for Prometheus is included since Grafana 2.5.0 (2015-10-28).
The following shows an example Grafana dashboard which queries Prometheus for data:
[
![Grafana screenshot
](
/assets/grafana_prometheus.png
)
](/assets/grafana_prometheus.png)
## Installing
For
genera
l Grafana installation instructions, see the
[
official Grafana
For
the ful
l Grafana installation instructions, see the
[
official Grafana
documentation](http://docs.grafana.org/installation/).
To use the Prometheus data source with Grafana, copy the
`datasources/prometheus`
directory from the
`grafana-plugins`
repository to
the
`public/app/plugins/datasource`
directory of your Grafana server.
For example, on Linux, installing Grafana and the Prometheus data source could
look like this:
As an example, on Linux, installing Grafana could look like this:
```
bash-lang
# Download and unpack Grafana from binary tar (adjust version as appropriate).
curl -L -O https://grafanarel.s3.amazonaws.com/builds/grafana-2.0.2.linux-x64.tar.gz
tar zxf grafana-2.0.2.linux-x64.tar.gz
# Copy the Prometheus datasource from 'grafana-plugins' into Grafana.
git clone https://github.com/grafana/grafana-plugins.git
cp -a grafana-plugins/datasources/prometheus grafana-2.0.2/public/app/plugins/datasource/
curl -L -O https://grafanarel.s3.amazonaws.com/builds/grafana-2.5.0.linux-x64.tar.gz
tar zxf grafana-2.5.0.linux-x64.tar.gz
# Start Grafana.
cd grafana-2.
0.2
/
cd grafana-2.
5.0
/
./bin/grafana-server web
```
...
...
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