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
3830cfc1
Commit
3830cfc1
authored
Nov 13, 2015
by
Julius Volz
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #262 from alicebob/graf250
Grafana supports prom by default now.
parents
e5f1acae
b390aab7
Changes
1
Show 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 @
3830cfc1
...
@@ -4,36 +4,26 @@ sort_rank: 7
...
@@ -4,36 +4,26 @@ sort_rank: 7
---
---
# Grafana support for Prometheus
# Grafana support for Prometheus
There is early support for querying Prometheus servers from
[
Grafana
](
http://grafana.org/
)
.
[
Grafana
](
http://grafana.org/
)
supports querying Prometheus.
The Grafana data source for Prometheus currently lives in the
The Grafana data source for Prometheus is included since Grafana 2.5.0 (2015-10-28).
[
grafana-plugins
](
https://github.com/grafana/grafana-plugins
)
repository.
The following shows an example Grafana dashboard which queries Prometheus for data:
The following shows an example Grafana dashboard which queries Prometheus for data:
[
![Grafana screenshot
](
/assets/grafana_prometheus.png
)
](/assets/grafana_prometheus.png)
[
![Grafana screenshot
](
/assets/grafana_prometheus.png
)
](/assets/grafana_prometheus.png)
## Installing
## 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/).
documentation](http://docs.grafana.org/installation/).
To use the Prometheus data source with Grafana, copy the
As an example, on Linux, installing Grafana could look like this:
`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:
```
bash-lang
```
bash-lang
# Download and unpack Grafana from binary tar (adjust version as appropriate).
# 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
curl -L -O https://grafanarel.s3.amazonaws.com/builds/grafana-2.5.0.linux-x64.tar.gz
tar zxf grafana-2.0.2.linux-x64.tar.gz
tar zxf grafana-2.5.0.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/
# Start Grafana.
# Start Grafana.
cd grafana-2.
0.2
/
cd grafana-2.
5.0
/
./bin/grafana-server web
./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