Skip to content

Commit 108a201

Browse files
committed
Merge branch 'master' into teams-page-replace-mobx
2 parents 0cfcf26 + 35a2403 commit 108a201

File tree

498 files changed

+9443
-6403
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

498 files changed

+9443
-6403
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ version: 2
1919
jobs:
2020
mysql-integration-test:
2121
docker:
22-
- image: circleci/golang:1.10
22+
- image: circleci/golang:1.11
2323
- image: circleci/mysql:5.6-ram
2424
environment:
2525
MYSQL_ROOT_PASSWORD: rootpass
@@ -39,7 +39,7 @@ jobs:
3939

4040
postgres-integration-test:
4141
docker:
42-
- image: circleci/golang:1.10
42+
- image: circleci/golang:1.11
4343
- image: circleci/postgres:9.3-ram
4444
environment:
4545
POSTGRES_USER: grafanatest
@@ -74,7 +74,7 @@ jobs:
7474

7575
gometalinter:
7676
docker:
77-
- image: circleci/golang:1.10
77+
- image: circleci/golang:1.11
7878
environment:
7979
# we need CGO because of go-sqlite3
8080
CGO_ENABLED: 1
@@ -115,7 +115,7 @@ jobs:
115115

116116
test-backend:
117117
docker:
118-
- image: circleci/golang:1.10
118+
- image: circleci/golang:1.11
119119
working_directory: /go/src/github.com/grafana/grafana
120120
steps:
121121
- checkout
@@ -125,7 +125,7 @@ jobs:
125125

126126
build-all:
127127
docker:
128-
- image: grafana/build-container:1.0.0
128+
- image: grafana/build-container:1.1.0
129129
working_directory: /go/src/github.com/grafana/grafana
130130
steps:
131131
- checkout
@@ -168,7 +168,7 @@ jobs:
168168

169169
build:
170170
docker:
171-
- image: grafana/build-container:1.0.0
171+
- image: grafana/build-container:1.1.0
172172
working_directory: /go/src/github.com/grafana/grafana
173173
steps:
174174
- checkout

CHANGELOG.md

Lines changed: 71 additions & 27 deletions
Large diffs are not rendered by default.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Golang build container
2-
FROM golang:1.10
2+
FROM golang:1.11
33

44
WORKDIR $GOPATH/src/github.com/grafana/grafana
55

Gopkg.lock

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ the latest master builds [here](https://grafana.com/grafana/download)
2424

2525
### Dependencies
2626

27-
- Go 1.10
27+
- Go 1.11
2828
- NodeJS LTS
2929

3030
### Building the backend

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ clone_folder: c:\gopath\src\github.com\grafana\grafana
77
environment:
88
nodejs_version: "6"
99
GOPATH: C:\gopath
10-
GOVERSION: 1.10
10+
GOVERSION: 1.11
1111

1212
install:
1313
- rmdir c:\go /s /q

conf/defaults.ini

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ allow_sign_up = true
321321
client_id = some_id
322322
client_secret = some_secret
323323
scopes = user:email
324+
email_attribute_name = email:primary
324325
auth_url =
325326
token_url =
326327
api_url =
@@ -467,6 +468,12 @@ enabled = true
467468
# Makes it possible to turn off alert rule execution but alerting UI is visible
468469
execute_alerts = true
469470

471+
# Default setting for new alert rules. Defaults to categorize error and timeouts as alerting. (alerting, keep_state)
472+
error_or_timeout = alerting
473+
474+
# Default setting for how Grafana handles nodata or null values in alerting. (alerting, no_data, keep_state, ok)
475+
nodata_or_nullvalues = no_data
476+
470477
#################################### Explore #############################
471478
[explore]
472479
# Enable the Explore section
@@ -538,3 +545,8 @@ container_name =
538545

539546
[external_image_storage.local]
540547
# does not require any configuration
548+
549+
[rendering]
550+
# Options to configure external image rendering server like https://github.com/grafana/grafana-image-renderer
551+
server_url =
552+
callback_url =

conf/sample.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,12 @@ log_queries =
387387
# Makes it possible to turn off alert rule execution but alerting UI is visible
388388
;execute_alerts = true
389389

390+
# Default setting for new alert rules. Defaults to categorize error and timeouts as alerting. (alerting, keep_state)
391+
;error_or_timeout = alerting
392+
393+
# Default setting for how Grafana handles nodata or null values in alerting. (alerting, no_data, keep_state, ok)
394+
;nodata_or_nullvalues = no_data
395+
390396
#################################### Explore #############################
391397
[explore]
392398
# Enable the Explore section
@@ -460,3 +466,8 @@ log_queries =
460466

461467
[external_image_storage.local]
462468
# does not require any configuration
469+
470+
[rendering]
471+
# Options to configure external image rendering server like https://github.com/grafana/grafana-image-renderer
472+
;server_url =
473+
;callback_url =

docs/sources/administration/permissions.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ This admin flag makes a user a `Super Admin`. This means they can access the `Se
5252

5353
### Dashboard & Folder Permissions
5454

55-
> Introduced in Grafana v5.0
56-
5755
{{< docs-imagebox img="/img/docs/v50/folder_permissions.png" max-width="500px" class="docs-image--right" >}}
5856

5957
For dashboards and dashboard folders there is a **Permissions** page that make it possible to

docs/sources/administration/provisioning.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ Puppet | [https://forge.puppet.com/puppet/grafana](https://forge.puppet.com/pupp
7171
Ansible | [https://github.com/cloudalchemy/ansible-grafana](https://github.com/cloudalchemy/ansible-grafana)
7272
Chef | [https://github.com/JonathanTron/chef-grafana](https://github.com/JonathanTron/chef-grafana)
7373
Saltstack | [https://github.com/salt-formulas/salt-formula-grafana](https://github.com/salt-formulas/salt-formula-grafana)
74+
Jsonnet | [https://github.com/grafana/grafonnet-lib/](https://github.com/grafana/grafonnet-lib/)
7475

7576
## Datasources
7677

@@ -154,8 +155,8 @@ Since not all datasources have the same configuration settings we only have the
154155
| tlsAuthWithCACert | boolean | *All* | Enable TLS authentication using CA cert |
155156
| tlsSkipVerify | boolean | *All* | Controls whether a client verifies the server's certificate chain and host name. |
156157
| graphiteVersion | string | Graphite | Graphite version |
157-
| timeInterval | string | Elastic, InfluxDB & Prometheus | Lowest interval/step value that should be used for this data source |
158-
| esVersion | string | Elastic | Elasticsearch version as an number (2/5/56) |
158+
| timeInterval | string | Prometheus, Elasticsearch, InfluxDB, MySQL, PostgreSQL & MSSQL | Lowest interval/step value that should be used for this data source |
159+
| esVersion | number | Elastic | Elasticsearch version as a number (2/5/56) |
159160
| timeField | string | Elastic | Which field that should be used as timestamp |
160161
| interval | string | Elastic | Index date time format |
161162
| authType | string | Cloudwatch | Auth provider. keys/credentials/arn |
@@ -165,6 +166,8 @@ Since not all datasources have the same configuration settings we only have the
165166
| tsdbVersion | string | OpenTSDB | Version |
166167
| tsdbResolution | string | OpenTSDB | Resolution |
167168
| sslmode | string | PostgreSQL | SSLmode. 'disable', 'require', 'verify-ca' or 'verify-full' |
169+
| postgresVersion | number | PostgreSQL | Postgres version as a number (903/904/905/906/1000) meaning v9.3, v9.4, ..., v10 |
170+
| timescaledb | boolean | PostgreSQL | Enable usage of TimescaleDB extension |
168171

169172
#### Secure Json Data
170173

0 commit comments

Comments
 (0)