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
16564718
Commit
16564718
authored
Mar 26, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated docs: whats new in 2.0, added sharing reference docs page, #1571
parent
2ca86b60
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
75 additions
and
13 deletions
+75
-13
conf/defaults.ini
+1
-1
docs/mkdocs.yml
+1
-0
docs/sources/guides/changes_in_v2.md
+28
-0
docs/sources/installation/configuration.md
+1
-1
docs/sources/reference/sharing.md
+44
-0
src/app/features/dashboard/partials/shareDashboard.html
+0
-11
No files found.
conf/defaults.ini
View file @
16564718
...
...
@@ -45,7 +45,7 @@ provider = file
; memory: not have any config yet
; file: session file path, e.g. `data/sessions`
; redis: config like redis server addr, poolSize, password, e.g. `127.0.0.1:6379,100,grafana`
; mysql: go-sql-driver/mysql dsn config string, e.g. `
root:password@/session_tabl
e`
; mysql: go-sql-driver/mysql dsn config string, e.g. `
user:password@tcp(127.0.0.1)/database_nam
e`
provider_config
=
data/sessions
; Session cookie name
cookie_name
=
grafana_sess
...
...
docs/mkdocs.yml
View file @
16564718
...
...
@@ -40,6 +40,7 @@ pages:
-
[
'
reference/graph.md'
,
'
Reference'
,
'
Graph
Panel'
]
-
[
'
reference/singlestat.md'
,
'
Reference'
,
'
Singlestat
Panel'
]
-
[
'
reference/dashlist.md'
,
'
Reference'
,
'
Dashlist
Panel'
]
-
[
'
reference/sharing.md'
,
'
Reference'
,
'
Sharing'
]
-
[
'
reference/annotations.md'
,
'
Reference'
,
'
Annotations'
]
-
[
'
reference/timerange.md'
,
'
Reference'
,
'
Time
range
controls'
]
-
[
'
reference/search.md'
,
'
Reference'
,
'
Dashboard
Search'
]
...
...
docs/sources/guides/changes_in_v2.md
View file @
16564718
...
...
@@ -32,6 +32,19 @@ This is a guide that descriptes some of changes and new features that can be fou
> longer create a new dashboard. It will just change the name for the current dashboard.
> To change name and create a new dashboard use the `Save As...` menu option
## Dashboard Snapshot sharing
A dashboard snapshot is an instant way to share an interactive dashboard publicly. When created, we
<strong>
strip sensitive data
</strong>
like queries
(metric, template and annotation) and panel links, leaving only the visible metric data and series names embedded into your dashboard. Dashboard
snapshots can be accessed by anyone who has the link and can reach the URL.
!
[
](/img/v2/dashboard_snapshot_dialog.png)
### Publish snapshots
You can publish snapshots to you local instance or to
[
snapshot.raintank.io
](
http://snapshot.raintank.io
)
. The later is a free service
that is provided by
[
Raintank
](
http://raintank.io
)
that allows you to publish dashboard snapshots to an external grafana instance.
The same rules still apply, anyone with the link can view it. You can set an expiration time if you want the snapshot to be removed
after a certain time period.
## Panel time overrides & timeshift
In Grafana v2.x you can now override the relative time range for individual panels. You can also add a
...
...
@@ -59,6 +72,14 @@ upper right of a panel when overriden time range options.
The dashboard search view has received a big UI update and polish. You can now see and filter by which dashboard
you have personally starred.
## Logarithmic scale
The Graph panel now supports 3 logarithmic scales,
`log base 10`
,
`log base 32`
,
`log base 1024`
. Logarithmic y-axis
scales are very useful when rendering many series of different order of magnitude on the same scale. For example
latency, network traffic or storage.
!
[
](/img/v2/graph_logbase10_ms.png)
## Dashlist panel
!
[
](/img/v2/dashlist_starred.png)
...
...
@@ -118,3 +139,10 @@ Organizations via a role. That role can be:
> per series permissions in Graphite, InfluxDB or OpenTSDB.
There are currently no permissions on individual dashboards.
## Panel IFrame embedding
You can embed a single panel on another web page using the panel share dialog. Below you should see an iframe
with a graph panel (taken from dashoard snapshot at
[
snapshot.raintank.io
](
snapshot.raintank.io
)
.
<iframe
src=
"http://snapshot.raintank.io/dashboard/solo/snapshot/UtvRYDv650fHOV2jV5QlAQhLnNOhB5ZN?panelId=4&fullscreen&from=1427385145990&to=1427388745990"
width=
"650"
height=
"300"
frameborder=
"0"
></iframe>
docs/sources/installation/configuration.md
View file @
16564718
...
...
@@ -184,7 +184,7 @@ Valid values are "memory", "file", "mysql", 'postgres'. Default is "memory".
This option should be configured differently depending on what type of session provider you have configured.
-
**file:**
session file path, e.g.
`data/sessions`
-
**mysql:**
go-sql-driver/mysql dsn config string, e.g.
`
root:password@/session_tabl
e`
-
**mysql:**
go-sql-driver/mysql dsn config string, e.g.
`
user:password@tcp(127.0.0.1)/database_nam
e`
if you use mysql or postgres as session store you need to create the session table manually.
Mysql Example:
...
...
docs/sources/reference/sharing.md
0 → 100644
View file @
16564718
----
page_title: Sharing
page_description: Sharing
page_keywords: grafana, sharing, guide, documentation
---
# Sharing features
Grafana provides a number of ways to share a dashboard or a specfic panel to other users within your
organization. It also provides ways to publish interactive snapshots that can be accessed by external partners.
## Share dashboard
Share a dashboard via the share icon in the top nav. This opens the share dialog where you
can get a link to the current dashboard with the current selected time range and template variables. If you have
made changes to the dashboard, make sure those are saved before sending the link.
### Dashboard snapshot
A dashboard snapshot is an instant way to share an interactive dashboard publicly. When created, we
<strong>
strip sensitive data
</strong>
like queries
(metric, template and annotation) and panel links, leaving only the visible metric data and series names embedded into your dashboard. Dashboard
snapshots can be accessed by anyone who has the link and can reach the URL.
!
[
](/img/v2/dashboard_snapshot_dialog.png)
### Publish snapshots
You can publish snapshots to you local instance or to
[
snapshot.raintank.io
](
http://snapshot.raintank.io
)
. The later is a free service
that is provided by
[
Raintank
](
http://raintank.io
)
that allows you to publish dashboard snapshots to an external grafana instance.
The same rules still apply, anyone with the link can view it. You can set an expiration time if you want the snapshot to be removed
after a certain time period.
## Share Panel
Click a panel title to open the panel menu, then click share in the panel menu to open the Share Panel dialog. Here you
have access to a link that will take you to exactly this panel with the current time range and selected template variables.
You also get a link to service side rendered PNG of the panel. Useful if you want to shara image of the panel.
### Embed Panel
You can embed a panel using an iframe on another web site. This tab will show you the html that you need to use.
Example:
```
html
<iframe
src=
"http://snapshot.raintank.io/dashboard/solo/snapshot/UtvRYDv650fHOV2jV5QlAQhLnNOhB5ZN?panelId=4&fullscreen&from=1427385145990&to=1427388745990"
width=
"650"
height=
"300"
frameborder=
"0"
></iframe>
```
Below there should be an interactive Grafana graph embedded in an iframe:
<iframe
src=
"http://snapshot.raintank.io/dashboard/solo/snapshot/UtvRYDv650fHOV2jV5QlAQhLnNOhB5ZN?panelId=4&fullscreen&from=1427385145990&to=1427388745990"
width=
"650"
height=
"300"
frameborder=
"0"
></iframe>
src/app/features/dashboard/partials/shareDashboard.html
View file @
16564718
...
...
@@ -84,17 +84,6 @@
</ul>
<div
class=
"clearfix"
></div>
</div>
<!-- <div class="tight-form"> -->
<!-- <ul class="tight-form-list"> -->
<!-- <li class="tight-form-item" style="width: 110px"> -->
<!-- Access -->
<!-- </li> -->
<!-- <li> -->
<!-- <select class="input-small tight-form-input last" style="width: 211px" ng-model="snapshot.access" ng-options="f.value as f.text for f in accessOptions"></select> -->
<!-- </li> -->
<!-- </ul> -->
<!-- <div class="clearfix"></div> -->
<!-- </div> -->
</div>
<div
class=
"gf-form"
ng-if=
"step === 2"
style=
"margin-top: 55px"
>
...
...
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