Torkel Ödegaard
f2833bfd52
Merge pull request #13252 from grafana/10040_active_directory
...
docs: include active directory ldap example and restructure
2018-09-14 17:09:44 +02:00
Daniel Lee
8b72853d36
stackdriver: add support for filtering to backend
2018-09-14 16:20:51 +02:00
Torkel Ödegaard
5fbe8eff4f
ldap: made minor change to group search, and to docs
2018-09-14 11:28:17 +02:00
Daniel Lee
982e095f85
dsproxy: add mutex protection to the token caches
2018-09-14 11:13:09 +02:00
bergquist
0bf5a6ad71
metrics: starts some counters at zero
...
without starting the counter as zero Grafana will not send any metrics
to graphite using the bridge.
2018-09-14 10:06:10 +02:00
Daniel Lee
d0a565d853
stackdriver: improve segments for group bys in query editor
2018-09-14 09:39:17 +02:00
Erik Sundell
add23d9716
stackdriver: load time series meta data for group by dropdown
2018-09-14 09:39:17 +02:00
Erik Sundell
5763d3cae2
stackdriver: make sure distinct labels are returned. also added test
2018-09-14 09:39:17 +02:00
Daniel Lee
9c8593e71f
stackdriver: wip - group bys
2018-09-14 09:39:16 +02:00
Daniel Lee
df6b430405
stackdriver: reverse points array to be in ascending order
2018-09-14 09:38:16 +02:00
Daniel Lee
f4fe26c659
stackdriver: adds support for primary aggregations
...
WIP: Hardcoded values for the aligner and alignment period. Need
to set the aligment period to the closest min interval and
research the aligner more.
2018-09-14 09:38:16 +02:00
Daniel Lee
0b5783563e
stackdriver: better error handling and show query metadata
...
If the Stackdriver returns an error, show that error in the query
editor. Also, allow the user to see the raw querystring that was sent
to google (for troubleshooting).
2018-09-14 09:38:16 +02:00
Daniel Lee
2683699ab4
stackdriver: tests for parsing api response
2018-09-14 09:38:16 +02:00
Daniel Lee
54f16d5558
stackdriver: add first test for parsing frontend queries
2018-09-14 09:38:16 +02:00
Erik Sundell
1288860058
Stackdriver: Break out parse response to its own func
2018-09-14 09:38:16 +02:00
Erik Sundell
56e8e50497
Stackdriver: Use ds_auth_provider in stackdriver. This will make sure the token is renewed when it has exporired
2018-09-14 09:38:16 +02:00
Erik Sundell
db170845b0
Stackdriver: Restructured ds proxy tests
2018-09-14 09:38:16 +02:00
Daniel Lee
05f6710454
stackdriver: fix test
2018-09-14 09:38:16 +02:00
Erik Sundell
1725940ab9
Stackdriver: Add new file
2018-09-14 09:38:16 +02:00
Erik Sundell
6a610558c4
Stackdriver: Start breaking out apply route to its own file
2018-09-14 09:38:16 +02:00
Erik Sundell
7f99a14c58
Stackdriver: Parsed url params
2018-09-14 09:38:16 +02:00
Erik Sundell
c8ec3a345c
Stackdriver: Parse datapoints correctly
2018-09-14 09:38:16 +02:00
Erik Sundell
1fe70f8290
Stackdriver: Load example metric and start parsing response
2018-09-14 09:38:16 +02:00
Erik Sundell
31417b795c
Stackdriver: Exposing stackdriver backend api
2018-09-14 09:38:16 +02:00
Carl Bergquist
047fb770c8
Merge pull request #13269 from DanCech/pluginUpgrade
...
use pluginName consistently when upgrading plugins
2018-09-14 09:35:58 +02:00
Erik Sundell
23339e4322
Stackdriver: Use new access token API
2018-09-14 09:35:28 +02:00
Erik Sundell
71af62e741
Stackdriver: Temporary exporting token lookup
2018-09-14 09:35:28 +02:00
Erik Sundell
92d631986f
Stackdriver: Removed debug logging
2018-09-14 09:35:27 +02:00
Daniel Lee
e7648c4070
dsproxy: implements support for plugin routes with jwt file
...
Google Cloud service accounts use a JWT token to get an
oauth access token. This adds support for that.
2018-09-14 09:35:27 +02:00
Erik Sundell
a4ef4792bc
Stackdriver: Add scope for google resource manager
2018-09-14 09:35:26 +02:00
Erik Sundell
350bcf4f56
Fixed broken if statement
2018-09-14 09:35:26 +02:00
Erik Sundell
7197a4c17f
Adds jwt token signing google auth
2018-09-14 09:35:26 +02:00
Erik Sundell
ef3beb1f0e
Adds poc code for retrieving google auth accesstoken
2018-09-14 09:33:50 +02:00
Erik Sundell
9ee61b6606
Add stackdriver backend skeleton
2018-09-14 09:33:50 +02:00
Torkel Ödegaard
0e9a6dcedc
Use datasource cache for backend tsdb/query endpoint ( #13266 )
...
fix: use datasource cache for backend datasources
2018-09-14 09:30:32 +02:00
Dan Cech
124b21a6aa
use pluginName consistently when upgrading plugins
2018-09-13 17:19:51 -04:00
Torkel Ödegaard
06855d2bc3
Merge pull request #13253 from grafana/13240_auth_stats
...
Fix anonymous usage stats for authentication types
2018-09-13 21:17:16 +02:00
Torkel Ödegaard
4b0eeab2b3
Merge pull request #13259 from bergquist/disable_metrics_endpoint
...
[metrics]enabled = false should disable the /metrics endpoint.
2018-09-13 21:14:28 +02:00
Sven Klemm
0254a29e35
Interpolate $__interval in backend for alerting with sql datasources ( #13156 )
...
add support for interpolate $__interval and $__interval_ms in sql datasources
2018-09-13 16:51:00 +02:00
Marcus Efraimsson
1d66f9a42c
anonymous usage stats for authentication types
2018-09-13 16:36:23 +02:00
bergquist
bff350166e
disabling internal metrics disables /metric endpoint
...
but we will still keep sending metrics to graphite
closes #10638
2018-09-13 16:09:52 +02:00
bergquist
aed8208d78
renames PartialMatch to MatchAny
2018-09-13 15:15:42 +02:00
bergquist
835a75335c
Merge branch 'master' into 9587_annotation_tags_wih_temp_var
...
* master:
fix theme parameter not working problem while prefer theme set to light (#13232 )
fix: added type export to fix failing test
fix: fixed typescript test error
another circleci fix
Another circleci fix
changed gometalinter to use github master
commented out metalinter as gopkg is having issues
Fix prometheus label filtering for comparison queries (#13213 )
Upgrade react and enzyme (#13224 )
Teams page replace mobx (#13219 )
upgrade of typescript and tslint and jest (#13223 )
fix nil pointer dereference (#13221 )
2018-09-12 09:23:54 +02:00
qhyou11
1786198558
fix theme parameter not working problem while prefer theme set to light ( #13232 )
2018-09-12 06:52:38 +02:00
bergquist
1638c6bea1
enable partial tag matches for annotations
2018-09-11 15:50:04 +02:00
Mitsuhiro Tanda
28250271cc
fix nil pointer dereference ( #13221 )
2018-09-11 12:53:39 +02:00
Carl Bergquist
5069e4eadd
Merge pull request #11681 from Jonnymcc/sort-dashboard-tags
...
Sort results from GetDashboardTags
2018-09-11 09:19:30 +02:00
Bob Shannon
f257ff0216
Allow oauth email attribute name to be configurable ( #13006 )
...
* Allow oauth email attribute name to be configurable
Signed-off-by: Bob Shannon <bshannon@palantir.com >
* Document e-mail determination steps for generic oauth
* Add reference to email_attribute_name
* Re-add e-mail determination docs to new generic-oauth page
* Inherit default e-mail attribute from defaults.ini
2018-09-10 09:45:07 +02:00
Marcus Efraimsson
fc597260c0
Merge pull request #13167 from holiiveira/teams-image
...
Alert Teams - Adding Action to view the graph by its public URL.
2018-09-07 11:24:06 +02:00
Marcus Efraimsson
a1d1c4fb9a
fix code formatting
2018-09-07 11:06:19 +02:00