Mitsuhiro Tanda
81394fcaa4
add cloudwatch internal metrics ( #6990 )
2016-12-16 10:48:05 +01:00
Mitsuhiro Tanda
f8d6902428
fix cloudwatch percentile ( #6989 )
2016-12-16 10:47:41 +01:00
bergquist
df3adbc0f8
refactor(mqe): reduce duplication
2016-12-16 08:01:58 +01:00
bergquist
c467e48940
feat(notifications): removes html escaping subject
...
closes #6905
2016-12-15 14:27:33 +01:00
Torkel Ödegaard
0c94194a5b
Merge branch 'master' of github.com:grafana/grafana
2016-12-15 13:57:05 +01:00
Torkel Ödegaard
35b970347a
Merge branch 'v4.0.x'
2016-12-15 13:55:26 +01:00
Torkel Ödegaard
497a1fcefc
Merge branch 'v4.0.x' of github.com:grafana/grafana into v4.0.x
2016-12-15 13:54:58 +01:00
Torkel Ödegaard
94962b4193
fix(logging): fixed default log level filter option not taking effect, fixex #6978
2016-12-15 13:54:47 +01:00
bergquist
ca7baca21d
feat(alerting): adds ok as no data option
...
closes #6866
2016-12-15 11:13:19 +01:00
bergquist
51c4385c92
fix(mqe): only parse none empty functions
2016-12-15 08:52:43 +01:00
bergquist
f907330c9e
tech(mailer): improves error when grafana cannot read open cert/key file
...
ref #6949
2016-12-15 08:27:21 +01:00
bergquist
e3b53fe599
test(mqe): adds test for double function usage
2016-12-15 07:36:06 +01:00
bergquist
7dece3ff0c
test(mqe): solves brittle unit test
2016-12-15 07:36:06 +01:00
bergquist
dde6e73fed
feat(mqe): add basic support for functions list
2016-12-14 22:29:17 +01:00
Torkel Ödegaard
8fc6e4cfb0
fix(auth proxy, ldap): fixed so users cannot change password when ldap or auth proxy is enabled, fixes #2495 , do not allow user to change email or username depending on what property auth proxy is using, fixes #6903
2016-12-14 22:19:25 +01:00
Torkel Ödegaard
df562e23cf
feat(ldap): better ldap logging, closes #6918
2016-12-14 22:01:02 +01:00
Torkel Ödegaard
6e27db148c
Merge branch 'authproxy_ldap' of https://github.com/seuf/grafana into seuf-authproxy_ldap
2016-12-14 21:45:15 +01:00
Torkel Ödegaard
330c1b945e
refactor(datasource): refactoring datasource secure json fields handling, #6697 , #6692
2016-12-14 21:06:10 +01:00
bergquist
ca6a667555
feat(mqe): renames app tag into cluster
2016-12-14 16:49:16 +01:00
bergquist
f8871f9e4a
chore(mqe): remove comments
2016-12-14 16:16:42 +01:00
bergquist
6d57e42246
feat(mqe): restricts the executor to max 4 concurrent outgoing requests
2016-12-14 15:40:15 +01:00
Carl Bergquist
38d8ba8faa
Merge pull request #6952 from huydx/format-gofmt
...
(format) run go fmt in pkg
2016-12-14 09:26:38 +01:00
huydx
b97f4fd8b9
(typo) Exeuction -> Execution
2016-12-14 12:21:41 +09:00
huydx
adb441e5c8
(format) run go fmt in pkg
2016-12-14 12:17:38 +09:00
bergquist
e6c557bb91
Merge branch 'master' into alerting_mqe
2016-12-13 16:15:04 +01:00
bergquist
362162d6fa
feat(mqe): add token cache
2016-12-13 14:01:48 +01:00
bergquist
69d6316512
style(mqe): instance dependencies in ctor func
2016-12-13 12:47:57 +01:00
bergquist
549c3ab78b
tech(mqe): update todo
2016-12-13 11:42:06 +01:00
Utkarsh Bhatnagar
bd20dc6c4c
Fixed failing tests ( #6941 )
2016-12-13 10:00:33 +01:00
Utkarsh Bhatnagar
5777f65d05
Basic Auth now supports LDAP username and password ( #6940 )
2016-12-13 09:15:52 +01:00
bergquist
99e3db8208
Merge branch 'master' into alerting_mqe
2016-12-12 19:01:50 +01:00
Torkel Ödegaard
5ec7dea81a
Merge branch 'v4.0.x'
2016-12-12 14:39:53 +01:00
huydx
015fa82cf5
fix(alert): alert test should return error when it failed to dispatch
2016-12-12 18:22:58 +09:00
Seuf
12a82bc0d4
Auth Proxy improvements - adds the option to use ldap groups for authorization in combination with an auth proxy - adds an option to limit where auth proxy requests come from by configure a list of ip's - fixes a security issue, session could be reused
2016-12-12 09:53:02 +01:00
Seuf
ae27c17c68
Auth Proxy improvements
...
- adds the option to use ldap groups for authorization in combination with an auth proxy
- adds an option to limit where auth proxy requests come from by configure a list of ip's
- fixes a security issue, session could be reused
2016-12-12 09:43:17 +01:00
bergquist
96e8ecfa7b
feat(cli): adds command to reset admin password
...
closes #5479
2016-12-09 15:25:02 +01:00
bergquist
cd85e1f651
Merge branch 'master' into cli_db_commands
2016-12-09 12:36:05 +01:00
bergquist
ba7a990f86
tech: bump version in server cli
2016-12-09 12:30:36 +01:00
Torkel Ödegaard
22bf6420f1
Merge branch 'master' of github.com:grafana/grafana
2016-12-08 10:25:26 +01:00
Torkel Ödegaard
05772b30d7
feat(ux): completed work on getting started panel, #6466
2016-12-08 10:25:05 +01:00
Torkel Ödegaard
dee6b7d150
Merge branch 'master' into getting-started-panel
2016-12-08 08:51:40 +01:00
bergquist
8ee85626f2
fix(api): return correct json info after updating datasource
...
closes #6869
2016-12-07 18:09:17 +01:00
bergquist
dd3060fdc3
feat(alerting): calculate avg of valid points
2016-12-07 15:55:37 +01:00
bergquist
2bdd2a59cb
test(alerting): improve naming for test scenario
2016-12-07 15:19:58 +01:00
Carl Bergquist
0294446af9
Merge pull request #6856 from kylemcc/opsgenie-alerting
...
alerting: add support for OpsGenie
2016-12-07 11:23:54 +01:00
Carl Bergquist
2c7adccf12
Use cache for http.client in tsdb package. ( #6833 )
...
* datasource: move caching closer to datasource struct
* tsdb: use cached version of datasource http transport
closes #6825
2016-12-07 11:10:42 +01:00
Kyle McCullough
4ef940482c
alerting: add support for OpsGenie
2016-12-06 14:48:13 -06:00
bergquist
8f1ed07275
metrics: 64bit fields should come first in structs
...
https://golang.org/pkg/sync/atomic/#pkg-note-BUG
2016-12-06 09:08:51 +01:00
bergquist
c17064fb44
fix(webdav): adds missing auth headers
...
closes #6779
2016-12-06 09:02:14 +01:00
jifwin
e73b82d54f
Disable web-security for phantomjs rendering ( #6469 )
2016-12-06 08:37:36 +01:00
Mitsuhiro Tanda
be26c017f6
(cloudwatch) percentile support ( #6634 )
...
* support extended statistics
* handle different response format for extended statistics
2016-12-06 08:12:30 +01:00
Torkel Ödegaard
88e1d56bc2
fix(logging): added extra logging when default config file is not found (ie homepath is not correct), fixes #6829
2016-12-06 07:36:10 +01:00
Torkel Ödegaard
1f50c6d76f
Merge branch 'v4.0.x'
2016-12-05 11:20:14 +01:00
Torkel Ödegaard
cc46b81961
fix(rendering): fixed server side rendering issue when sertting enforce_domain to true, fixes #6769
2016-12-05 11:20:01 +01:00
Torkel Ödegaard
d1feaaf4f3
Merge branch 'v4.0.x'
2016-12-05 10:54:01 +01:00
Torkel Ödegaard
ab07667b69
fix(rendering): minor fix for server side rendering when using non default http addr setting and non default domain setting, #6813
2016-12-05 10:51:46 +01:00
bergquist
b81e97c99c
webhook: adds json content-type
...
closes #6822
2016-12-05 10:46:04 +01:00
bergquist
0403f53b6f
feat(webhook): adds alert rule message to webhook
...
close #6807
2016-12-05 09:34:35 +01:00
bergquist
6c9cf87080
feat(alerting): calculate avg of valid points
2016-12-02 23:44:14 +01:00
bergquist
c9b7f8603e
tech(): replace spaces to handle input more graceful
2016-12-02 23:43:02 +01:00
bergquist
9dd6cf45ac
feat(webhook): adds alert rule message to webhook
...
close #6807
2016-12-02 22:24:36 +01:00
bergquist
f70d7ff3a3
fix(influxdb): align tsdb.influxdb with dataproxy
...
ref #6784
2016-12-02 21:10:29 +01:00
bergquist
b4b7156f42
fix(webdav): adds missing auth headers
...
closes #6779
2016-12-02 16:20:15 +01:00
stuart nelson
bc69c8ef40
Add transport cache for reverse proxy ( #6776 )
...
* Add transport cache for reverse proxy
* Use updated at in cache
2016-12-02 15:39:57 +01:00
stuart nelson
9ed21c6a16
Add transport cache for reverse proxy ( #6776 )
...
* Add transport cache for reverse proxy
* Use updated at in cache
2016-12-02 15:39:28 +01:00
fg2it
d3e47e50c1
swap member declaration in StandardGauge to avoid problem with atomic on arm and x86-32
2016-12-01 21:26:54 +01:00
fg2it
834e3f1c29
swap member declaration in StandardGauge to avoid problem with atomic on arm and x86-32
2016-11-30 21:57:18 +00:00
Carl Bergquist
3c662ade8c
Merge pull request #6698 from grafana/cloudwatch_configurable_keys
...
Cloudwatch configurable keys from config page.
2016-11-29 23:37:13 +01:00
bergquist
83e90325c9
chore(victorops): remove unused code
2016-11-29 22:26:42 +01:00
bergquist
a6ea2f4fdb
Merge branch 'victorops' of https://github.com/ichekrygin/grafana into ichekrygin-victorops
2016-11-29 22:22:25 +01:00
Carl Bergquist
b47410af6a
Merge pull request #6670 from tomkozlowski/feature/postgres-certs
...
generalized database connection cert support and added to postgres
2016-11-29 21:40:27 +01:00
bergquist
253324fc32
style(sqlstore): remove comment
2016-11-29 21:24:45 +01:00
Carl Bergquist
f6557f14b7
Merge pull request #6741 from dpavlos/fix_5443
...
[5443] Check if title is empty before save a new dashboard
2016-11-29 21:22:07 +01:00
Carl Bergquist
5a0fc434f3
Merge pull request #6722 from dpavlos/fix_6679
...
[6679] Check if org exists before delete it
2016-11-29 21:12:02 +01:00
bergquist
360516ed41
feat(metrics): change active alerts to guage
2016-11-29 16:46:25 +01:00
Torkel Ödegaard
7e831e10a2
updated version in grafana-server main.go
2016-11-29 10:41:31 -05:00
Pavlos Daoglou
7f7f080ad8
[5443] Check if title is empty before save a new dashboard
2016-11-29 12:25:20 +02:00
bergquist
ab2f109443
fix(config): error message for broken config file
...
closes #6731
2016-11-28 17:55:18 +01:00
Pavlos Daoglou
0064331bbf
[6679] Check if org exists before delete it
2016-11-28 00:09:01 +02:00
bergquist
bdfb773a98
fix(alerting): fixes broken no_value evaluator
...
closes #6701
2016-11-27 16:53:29 +01:00
bergquist
7bc1c3cc1c
feat(cloudwatch): make it possible to reset keys
...
closes #6697
2016-11-24 16:37:33 +01:00
bergquist
3d21f06d5b
tech(cloudwatch): store keys in secure json blob
2016-11-24 14:16:52 +01:00
bergquist
0ea6537916
tech(cloudwatch): refactoring
2016-11-24 14:00:05 +01:00
bergquist
f7e12e5f93
test(cloudwatch): fixes failing tests
2016-11-24 14:00:05 +01:00
bergquist
64784db870
feat(cloudwatch): adds access and secret key to edit config page
2016-11-24 14:00:05 +01:00
Daniel Lee
0618122bcd
feat(httpsettings): add tls auth option
...
- Three text areas where the user can paste
in the CA Cert (optional), Client Cert
and Client Key.
- Tooltips for Auth checkboxes with brief
descriptions of what With Credentials and
With CA Cert are.
- Adds popover for TLS Auth header too.
- Aligns gf-form elements as labels and
checkboxes were not aligned before.
- Makes CA Cert optional as it is only
needed for self-signed certs.
2016-11-24 13:33:28 +01:00
Daniel Lee
b6b53c0f4b
fix(dataproxy): test with CA Cert
2016-11-24 13:22:25 +01:00
Daniel Lee
2893b25a05
feat(datasources): allow updating of tls certs
...
The tls files are stored as a json blob in the
SecureJsonData field. To update one file, the
json has to be fetched from the db first and
then updated with the cert file that has been
changed.
Also, a change to the dto with flags that are
used in the frontend to show if a file has
been uploaded. For example, if tlsClientKeySet
is set to true then means a file for the
client key is saved in the db. This is to
avoid sending any private data to the frontend.
2016-11-24 13:22:25 +01:00
Daniel Lee
387f8cc0c6
feat(dataproxy): TLS CA Cert for self-signed certs
...
For self-signed TLS Certificates, authentication
with InsecureSkipVerify set to false then this
error will occur:
x509: certificate signed by unknown authority
The solution is to allow the user to upload the
CA cert as well.
2016-11-24 13:22:25 +01:00
Daniel Lee
c9b2c694f1
refactor(dataproxy): TLS Client Auth
...
Use a SecureJsonData field for TLS
Client Auth instead of 3 new db
fields. Same model as used for
PluginSettings.
Saves and encrypts the pem file
content rather than just saving
the paths to the cert and key.
This allows for uploading from
the Edit Datasource page in
Grafana.
2016-11-24 13:22:25 +01:00
Daniel Lee
af07adb146
refactor(securejsondata): extract to class
...
Extract from pluginsettings class so that the
securejsondata type can be used in the other
classes. Encrypt and decrypt functions
extracted too.
2016-11-24 13:22:25 +01:00
Joe Lanford
56b7e2dfaf
Added support for TLS client auth for datasource proxies ( #5801 )
2016-11-24 13:22:25 +01:00
Torkel Ödegaard
2233938ba7
Merge branch 'master' into getting-started-panel
2016-11-24 13:17:22 +01:00
bergquist
421c1eed82
fix(dashboard): fixes bug when saving dashboards
2016-11-24 11:22:13 +01:00
Carl Bergquist
df2b2e3058
feat(alerting): validate alerts before saving dashboard ( #6691 )
...
ref #6576
2016-11-24 09:50:35 +01:00
Torkel Ödegaard
ea5cb0d076
fix(server side rendering): Fixed address used when rendering panel via phantomjs and using non default http_addr config, fixes #6660
2016-11-23 15:35:43 +01:00
Torkel Ödegaard
773fb5d1ae
fix(alerting): check if dashboard is saved before testing alert rule, fixes #6549
2016-11-23 14:55:10 +01:00
Pavlos Daoglou
c365d52a80
[6486] Fix status code when adding an existing user to org ( #6678 )
2016-11-23 14:38:44 +01:00
Tom Kozlowski
c21ffcc6c9
generalized database connection cert support and added to postgres
2016-11-22 15:29:22 -08:00
bergquist
6882dcfb99
feat(alerting): add backend support for median reducer
2016-11-22 14:09:35 +01:00
bergquist
50811c80ea
fix(alerting): fixes bug that prevents noData from triggering
...
closes #6631
2016-11-22 11:47:52 +01:00
bergquist
2b6013ce81
fix(notifications): failed image upload should not stop notification
...
closes #6638
2016-11-21 09:47:59 +01:00
Torkel Ödegaard
c1a15648c7
Merge branch 'master' of github.com:grafana/grafana into getting-started-panel
2016-11-21 09:00:40 +01:00
bergquist
5dea0fda51
fix(settings): remove nil pointer exception
2016-11-18 16:43:14 +01:00
Torkel Ödegaard
fd512457d8
Merge remote-tracking branch 'origin/master' into getting-started-panel-css2
2016-11-18 16:31:54 +01:00
bergquist
1b0005a9e5
feat(mqe): add support for app and host alias
2016-11-18 11:40:38 +01:00
bergquist
61bb9cbc13
test(alerting): fixes broken unit test
2016-11-18 10:53:27 +01:00
bergquist
a3b0fbcaba
fix(influxdb): fixes broken tag rendering for influxdb alerting
...
closes #6626
ref #6523
2016-11-17 15:50:49 +01:00
Torkel Ödegaard
7ce33c31ec
Merge branch 'master' of github.com:grafana/grafana
2016-11-17 15:50:08 +01:00
Torkel Ödegaard
62e8a039a1
refactor(alerting): refactoring PR for OR conditions, #6579
2016-11-17 15:48:15 +01:00
bergquist
3ea66ebe3f
fix(alerting): remove possible divide by zero panic
...
ref #6599
2016-11-17 15:20:14 +01:00
Torkel Ödegaard
457ae74343
Merge branch 'or_alerting' of https://github.com/utkarshcmu/grafana into utkarshcmu-or_alerting
2016-11-17 14:43:24 +01:00
utkarshcmu
aae33b36dd
Added tests for firingEvaluation string
2016-11-17 01:41:23 -08:00
utkarshcmu
fc82dac868
Added braces to single condition firingEvaluation string
2016-11-17 01:30:50 -08:00
utkarshcmu
690868c837
Added firingEvalution to Rule test
2016-11-17 01:28:17 -08:00
bergquist
5c153f0383
Merge branch 'master' into alerting_mqe
2016-11-17 09:57:56 +01:00
bergquist
0a0f558c48
style(mqe): improve code
2016-11-17 08:52:27 +01:00
bergquist
23387bd39b
feat(mqe): simplify timestamp parsing
2016-11-17 08:42:09 +01:00
ichekrygin
f6b70c7d82
Fix formatting
2016-11-16 17:30:42 -08:00
ichekrygin
acc729131a
Add VictorOps Test.
2016-11-16 16:14:02 -08:00
ichekrygin
8f0d51171d
Resolve rebase w/ upstream conflicts.
...
Remove: `Alert on Exec Error` (no longer needed)
Add: `ruleUrl` to VictorOps message body.
2016-11-16 16:13:33 -08:00
ichekrygin
bbca9861fb
Fix return on nil
and cleanup debug messages
2016-11-16 14:02:34 -08:00
ichekrygin
b46cbc5fbe
Add option to alert on ExecutionError
2016-11-16 14:02:34 -08:00
ichekrygin
b0620a9d4b
Add VictorOps alert notification capability
2016-11-16 14:02:34 -08:00
Torkel Ödegaard
18e965c775
fix(error handling): fixed server side error handling page
2016-11-16 17:41:44 +01:00
bergquist
9572f086ae
feat(mqe): add timerange to query
2016-11-16 17:09:34 +01:00
Torkel Ödegaard
e3564d12a1
fix(404): fixed 404 page
2016-11-16 17:09:00 +01:00
Dan Cech
eacb7c8aba
Merge pull request #6584 from tomkozlowski/bugfix/oauth-login-bearer-token
...
explicitly set oauth2 token to Bearer Type
2016-11-16 10:35:32 -05:00
Tom Kozlowski
a353c8d1bb
added explicitly setting token as Bearer Type
2016-11-16 09:55:14 -05:00
bergquist
fa8213d8d5
feat(mqe): send http requests
2016-11-16 15:28:31 +01:00
bergquist
f1897b7e96
feat(mqe): add response parser
2016-11-16 14:42:43 +01:00
bergquist
c6ad0cc5ec
test(mqe): basic test for response parser
2016-11-16 13:00:25 +01:00
bergquist
113020aabe
feat(mqe): support basic aliases
2016-11-16 11:04:15 +01:00
bergquist
430104aaac
feat(mqe): add support for wildcard series
2016-11-16 10:03:22 +01:00
bergquist
fa92dfb7b2
feat(mqe): add support for apps in where clause
2016-11-16 09:54:45 +01:00
bergquist
ab7263579f
Merge branch 'master' into alerting_mqe
2016-11-16 09:28:26 +01:00
bergquist
4739608ffb
tests(mqe): add query builder
2016-11-15 18:37:34 +01:00
utkarshcmu
8d0bcd23f8
Added tests for checking nested operators
2016-11-15 08:07:05 -08:00
utkarshcmu
dfb1b1918c
Implemented operator based firiing in backend
2016-11-15 06:35:25 -08:00
bergquist
b9d709ab27
feat(alerting): improve error logging for extracting alerts
...
ref #6576
2016-11-15 11:47:46 +01:00
bergquist
1bdda76ba9
tests(mqe): parse mqe query model
2016-11-14 15:03:49 +01:00
bergquist
c973241435
feat(mqe): add token request
2016-11-14 14:00:35 +01:00
bergquist
4fdfee739a
fix(influxdb): add support for regex measurments
...
closes #6560
2016-11-14 08:48:19 +01:00
bergquist
118e2a6364
WIP: more boilerplate
2016-11-13 13:51:54 +01:00
bergquist
a87fd11f26
feat(stats): add alerts to global admin stats
2016-11-11 14:04:38 +01:00
bergquist
ad97db937c
feat(stats_usage): add stats about alerts
2016-11-11 13:57:11 +01:00
bergquist
e04d27c0b0
fix(influxdb): return internal influxdb errors
...
ref #6523
2016-11-11 08:47:53 +01:00
bergquist
f924b241ae
tech(influxdb): refactor query builder
...
trying to reduce the amounts of moving parts for influxdb
2016-11-10 14:38:07 +01:00
bergquist
a948dfe514
fix(influxdb): fixes broken raw query usage
2016-11-10 14:18:10 +01:00
Torkel Ödegaard
575828f1e9
Merge branch 'getting-started-panel' of github.com:grafana/grafana into getting-started-panel
2016-11-10 13:25:18 +01:00