Commit 83afbd42 by Torkel Ödegaard

Merge branch 'master' of github.com:grafana/grafana

parents e1b25b39 464553a4
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
* **PNG Rendering**: Fix for server side rendering when setting enforce_domain to true [#6769](https://github.com/grafana/grafana/issues/6769) * **PNG Rendering**: Fix for server side rendering when setting enforce_domain to true [#6769](https://github.com/grafana/grafana/issues/6769)
* **Webhooks**: Add content type json to outgoing webhooks [#6822](https://github.com/grafana/grafana/issues/6822) * **Webhooks**: Add content type json to outgoing webhooks [#6822](https://github.com/grafana/grafana/issues/6822)
* **Keyboard shortcut**: Fixed zoom out shortcut [#6837](https://github.com/grafana/grafana/issues/6837) * **Keyboard shortcut**: Fixed zoom out shortcut [#6837](https://github.com/grafana/grafana/issues/6837)
* **Webdav**: Adds basic auth headers to webdav uploader [#6779](https://github.com/grafana/grafana/issues/6779)
# 4.0.1 (2016-12-02) # 4.0.1 (2016-12-02)
......
...@@ -67,6 +67,7 @@ type = sqlite3 ...@@ -67,6 +67,7 @@ type = sqlite3
host = 127.0.0.1:3306 host = 127.0.0.1:3306
name = grafana name = grafana
user = root user = root
# If the password contains # or ; you have to wrap it with trippel quotes. Ex """#password;"""
password = password =
# Use either URL or the previous fields to configure the database # Use either URL or the previous fields to configure the database
# Example: mysql://user:secret@host:port/database # Example: mysql://user:secret@host:port/database
......
...@@ -69,6 +69,7 @@ ...@@ -69,6 +69,7 @@
;host = 127.0.0.1:3306 ;host = 127.0.0.1:3306
;name = grafana ;name = grafana
;user = root ;user = root
# If the password contains # or ; you have to wrap it with trippel quotes. Ex """#password;"""
;password = ;password =
# Use either URL or the previous fields to configure the database # Use either URL or the previous fields to configure the database
......
...@@ -170,7 +170,7 @@ The database user (not applicable for `sqlite3`). ...@@ -170,7 +170,7 @@ The database user (not applicable for `sqlite3`).
### password ### password
The database user's password (not applicable for `sqlite3`). The database user's password (not applicable for `sqlite3`). If the password contains `#` or `;` you have to wrap it with trippel quotes. Ex `"""#password;"""`
### ssl_mode ### ssl_mode
......
...@@ -32,8 +32,8 @@ func RegGauge(name string, tagStrings ...string) Gauge { ...@@ -32,8 +32,8 @@ func RegGauge(name string, tagStrings ...string) Gauge {
// GaugeSnapshot is a read-only copy of another Gauge. // GaugeSnapshot is a read-only copy of another Gauge.
type GaugeSnapshot struct { type GaugeSnapshot struct {
*MetricMeta
value int64 value int64
*MetricMeta
} }
// Snapshot returns the snapshot. // Snapshot returns the snapshot.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment