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
1507d6c8
Commit
1507d6c8
authored
Dec 20, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:grafana/grafana
parents
4c5bdd9d
48fbd7e1
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
33 additions
and
8 deletions
+33
-8
CHANGELOG.md
+2
-1
docs/sources/http_api/data_source.md
+2
-2
docs/sources/installation/debian.md
+7
-0
docs/sources/installation/rpm.md
+16
-0
docs/sources/installation/windows.md
+1
-0
packaging/publish/publish_testing.sh
+2
-2
pkg/api/datasources.go
+2
-2
scripts/trigger_windows_build.sh
+1
-1
No files found.
CHANGELOG.md
View file @
1507d6c8
# 4.1-beta
(unreleased
)
# 4.1-beta
1 (2016-12-20
)
### Enhancements
### Enhancements
*
**Postgres**
: Add support for Certs for Postgres database
[
#6655
](
https://github.com/grafana/grafana/issues/6655
)
*
**Postgres**
: Add support for Certs for Postgres database
[
#6655
](
https://github.com/grafana/grafana/issues/6655
)
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
*
**Alerting**
: Adds OK as no data option.
[
#6866
](
https://github.com/grafana/grafana/issues/6866
)
*
**Alerting**
: Adds OK as no data option.
[
#6866
](
https://github.com/grafana/grafana/issues/6866
)
*
**Alert list**
: Order alerts based on state.
[
#6676
](
https://github.com/grafana/grafana/issues/6676
)
*
**Alert list**
: Order alerts based on state.
[
#6676
](
https://github.com/grafana/grafana/issues/6676
)
*
**Alerting**
: Add api endpoint for pausing all alerts.
[
#6589
](
https://github.com/grafana/grafana/issues/6589
)
*
**Alerting**
: Add api endpoint for pausing all alerts.
[
#6589
](
https://github.com/grafana/grafana/issues/6589
)
*
**Panel**
: Added help text for panels.
[
#4079
](
https://github.com/grafana/grafana/issues/4079
)
, thx
[
@utkarshcmu
](
https://github.com/utkarshcmu
)
### Bugfixes
### Bugfixes
*
**API**
: HTTP API for deleting org returning incorrect message for a non-existing org
[
#6679
](
https://github.com/grafana/grafana/issues/6679
)
*
**API**
: HTTP API for deleting org returning incorrect message for a non-existing org
[
#6679
](
https://github.com/grafana/grafana/issues/6679
)
...
...
docs/sources/http_api/data_source.md
View file @
1507d6c8
...
@@ -158,7 +158,7 @@ parent = "http_api"
...
@@ -158,7 +158,7 @@ parent = "http_api"
HTTP/1.1 200
HTTP/1.1 200
Content-Type: application/json
Content-Type: application/json
{"id":1,"message":"Datasource added"}
{"id":1,"message":"Datasource added"
, "name": "test_datasource"
}
## Update an existing data source
## Update an existing data source
...
@@ -193,7 +193,7 @@ parent = "http_api"
...
@@ -193,7 +193,7 @@ parent = "http_api"
HTTP/1.1 200
HTTP/1.1 200
Content-Type: application/json
Content-Type: application/json
{"message":"Datasource updated"}
{"message":"Datasource updated"
, "id": 1, "name": "test_datasource"
}
## Delete an existing data source
## Delete an existing data source
...
...
docs/sources/installation/debian.md
View file @
1507d6c8
...
@@ -16,6 +16,7 @@ weight = 1
...
@@ -16,6 +16,7 @@ weight = 1
Description | Download
Description | Download
------------ | -------------
------------ | -------------
Stable for Debian-based Linux |
[
4.0.2 (x86-64 deb)
](
https://grafanarel.s3.amazonaws.com/builds/grafana_4.0.2-1481203731_amd64.deb
)
Stable for Debian-based Linux |
[
4.0.2 (x86-64 deb)
](
https://grafanarel.s3.amazonaws.com/builds/grafana_4.0.2-1481203731_amd64.deb
)
Latest beta for Debian-based Linux |
[
4.1.0-beta1 (x86-64 deb)
](
https://grafanarel.s3.amazonaws.com/builds/grafana_4.1.0-1482230757beta1_amd64.deb
)
## Install Stable
## Install Stable
...
@@ -25,6 +26,12 @@ $ sudo apt-get install -y adduser libfontconfig
...
@@ -25,6 +26,12 @@ $ sudo apt-get install -y adduser libfontconfig
$ sudo dpkg -i grafana_4.0.2-1481203731_amd64.deb
$ sudo dpkg -i grafana_4.0.2-1481203731_amd64.deb
```
```
## Install Latest Beta
$ wget https://grafanarel.s3.amazonaws.com/builds/grafana_4.1.0-1482230757beta1_amd64.deb
$ sudo apt-get install -y adduser libfontconfig
$ sudo dpkg -i grafana_4.1.0-1482230757beta1_amd64.deb
## APT Repository
## APT Repository
Add the following line to your
`/etc/apt/sources.list`
file.
Add the following line to your
`/etc/apt/sources.list`
file.
...
...
docs/sources/installation/rpm.md
View file @
1507d6c8
...
@@ -16,6 +16,7 @@ weight = 2
...
@@ -16,6 +16,7 @@ weight = 2
Description | Download
Description | Download
------------ | -------------
------------ | -------------
Stable for CentOS / Fedora / OpenSuse / Redhat Linux |
[
4.0.2 (x86-64 rpm)
](
https://grafanarel.s3.amazonaws.com/builds/grafana-4.0.2-1481203731.x86_64.rpm
)
Stable for CentOS / Fedora / OpenSuse / Redhat Linux |
[
4.0.2 (x86-64 rpm)
](
https://grafanarel.s3.amazonaws.com/builds/grafana-4.0.2-1481203731.x86_64.rpm
)
Latest beta for CentOS / Fedora / OpenSuse / Redhat Linux |
[
4.1.0-beta1 (x86-64 rpm)
](
https://grafanarel.s3.amazonaws.com/builds/grafana-4.1.0-1482230757beta1.x86_64.rpm
)
## Install Stable
## Install Stable
...
@@ -34,6 +35,21 @@ Or install manually using `rpm`.
...
@@ -34,6 +35,21 @@ Or install manually using `rpm`.
$ sudo rpm -i --nodeps grafana-4.0.2-1481203731.x86_64.rpm
$ sudo rpm -i --nodeps grafana-4.0.2-1481203731.x86_64.rpm
## Or Install Latest Beta
$ sudo yum install https://grafanarel.s3.amazonaws.com/builds/grafana-4.1.0-1482230757beta1.x86_64.rpm
Or install manually using
`rpm`
.
#### On CentOS / Fedora / Redhat:
$ sudo yum install initscripts fontconfig
$ sudo rpm -Uvh grafana-4.1.0-1482230757beta1.x86_64.rpm
#### On OpenSuse:
$ sudo rpm -i --nodeps grafana-4.1.0-1482230757beta1.x86_64.rpm
## Install via YUM Repository
## Install via YUM Repository
Add the following to a new file at
`/etc/yum.repos.d/grafana.repo`
Add the following to a new file at
`/etc/yum.repos.d/grafana.repo`
...
...
docs/sources/installation/windows.md
View file @
1507d6c8
...
@@ -14,6 +14,7 @@ weight = 3
...
@@ -14,6 +14,7 @@ weight = 3
Description | Download
Description | Download
------------ | -------------
------------ | -------------
Latest stable package for Windows |
[
grafana.4.0.2.windows-x64.zip
](
https://grafanarel.s3.amazonaws.com/builds/grafana-4.0.2.windows-x64.zip
)
Latest stable package for Windows |
[
grafana.4.0.2.windows-x64.zip
](
https://grafanarel.s3.amazonaws.com/builds/grafana-4.0.2.windows-x64.zip
)
Latest beta package for Windows |
[
grafana.4.1.0-beta1.windows-x64.zip
](
https://grafanarel.s3.amazonaws.com/builds/
)
## Configure
## Configure
...
...
packaging/publish/publish_testing.sh
100644 → 100755
View file @
1507d6c8
#! /usr/bin/env bash
#! /usr/bin/env bash
deb_ver
=
4.
0.2-148120373
1
deb_ver
=
4.
1.0-1482230757beta
1
rpm_ver
=
4.
0.2-148120373
1
rpm_ver
=
4.
1.0-1482230757beta
1
wget https://grafanarel.s3.amazonaws.com/builds/grafana_
${
deb_ver
}
_amd64.deb
wget https://grafanarel.s3.amazonaws.com/builds/grafana_
${
deb_ver
}
_amd64.deb
...
...
pkg/api/datasources.go
View file @
1507d6c8
...
@@ -100,7 +100,7 @@ func AddDataSource(c *middleware.Context, cmd m.AddDataSourceCommand) {
...
@@ -100,7 +100,7 @@ func AddDataSource(c *middleware.Context, cmd m.AddDataSourceCommand) {
return
return
}
}
c
.
JSON
(
200
,
util
.
DynMap
{
"message"
:
"Datasource added"
,
"id"
:
cmd
.
Result
.
Id
})
c
.
JSON
(
200
,
util
.
DynMap
{
"message"
:
"Datasource added"
,
"id"
:
cmd
.
Result
.
Id
,
"name"
:
cmd
.
Result
.
Name
})
}
}
func
UpdateDataSource
(
c
*
middleware
.
Context
,
cmd
m
.
UpdateDataSourceCommand
)
Response
{
func
UpdateDataSource
(
c
*
middleware
.
Context
,
cmd
m
.
UpdateDataSourceCommand
)
Response
{
...
@@ -117,7 +117,7 @@ func UpdateDataSource(c *middleware.Context, cmd m.UpdateDataSourceCommand) Resp
...
@@ -117,7 +117,7 @@ func UpdateDataSource(c *middleware.Context, cmd m.UpdateDataSourceCommand) Resp
return
ApiError
(
500
,
"Failed to update datasource"
,
err
)
return
ApiError
(
500
,
"Failed to update datasource"
,
err
)
}
}
return
Json
(
200
,
util
.
DynMap
{
"message"
:
"Datasource updated"
})
return
Json
(
200
,
util
.
DynMap
{
"message"
:
"Datasource updated"
,
"id"
:
cmd
.
Id
,
"name"
:
cmd
.
Name
})
}
}
func
fillWithSecureJsonData
(
cmd
*
m
.
UpdateDataSourceCommand
)
error
{
func
fillWithSecureJsonData
(
cmd
*
m
.
UpdateDataSourceCommand
)
error
{
...
...
scripts/trigger_windows_build.sh
View file @
1507d6c8
...
@@ -5,5 +5,5 @@ _token=$1
...
@@ -5,5 +5,5 @@ _token=$1
curl
\
curl
\
-H
"Content-Type: application/json"
\
-H
"Content-Type: application/json"
\
-H
"Authorization: Bearer
${
_token
}
"
\
-H
"Authorization: Bearer
${
_token
}
"
\
-X
POST
-d
'{ "accountName": "Torkeldegaard", "projectSlug": "grafana","branch": "
v4.0.x
","environmentVariables": {}}'
\
-X
POST
-d
'{ "accountName": "Torkeldegaard", "projectSlug": "grafana","branch": "
master
","environmentVariables": {}}'
\
https://ci.appveyor.com/api/builds
https://ci.appveyor.com/api/builds
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