c65db9bf25 
								
							 
						 
						
							
							
								
								Chore: remove expressions flag and allow ( #22764 )  
							
							
							
						 
						
							2020-03-13 07:43:25 -07:00  
				
					
						
							
							
								 
						
							
								1dcfaf25fc 
								
							 
						 
						
							
							
								
								Adds signed in user to backend v2 plugins requests ( #22584 )  
							
							... 
							
							
							
							closes  #12043  
						
							2020-03-06 14:37:36 +01:00  
				
					
						
							
							
								 
						
							
								3fdd2648b1 
								
							 
						 
						
							
							
								
								Chore: Avoid aliasing importing models in api package ( #22492 )  
							
							
							
						 
						
							2020-03-04 12:57:20 +01:00  
				
					
						
							
							
								 
						
							
								4d1b969a5c 
								
							 
						 
						
							
							
								
								GEL: include the expression count in the request ( #20114 )  
							
							
							
						 
						
							2019-10-31 16:22:00 -07:00  
				
					
						
							
							
								 
						
							
								861eb72113 
								
							 
						 
						
							
							
								
								transform: add expressions to query editor (w/ feature flag) ( #20072 )  
							
							... 
							
							
							
							for use with gel which is not released yet. 
							
						 
						
							2019-10-30 14:38:28 -04:00  
				
					
						
							
							
								 
						
							
								771f21ed09 
								
							 
						 
						
							
							
								
								api: new v2 metrics query endpoint  
							
							... 
							
							
							
							Requests to endpoint will currently will error unless expressions feature flag is true.
Co-authored-by: Sofia Papagiannaki <papagian@gmail.com> 
							
						 
						
							2019-10-25 09:28:26 -04:00  
				
					
						
							
							
								 
						
							
								00e7c7c4b7 
								
							 
						 
						
							
							
								
								Testdata: Rename package to circumvent convention in go ( #19409 )  
							
							... 
							
							
							
							Before this change the tests for test datasource was not run. 
							
						 
						
							2019-09-27 16:18:24 +02:00  
				
					
						
							
							
								 
						
							
								5713048f48 
								
							 
						 
						
							
							
								
								Alerting: Improve alert rule testing ( #16286 )  
							
							... 
							
							
							
							* tsdb: add support for setting debug flag of tsdb query
* alerting: adds debug flag in eval context
Debug flag is set when testing an alert rule and this debug
flag is used to return more debug information in test aler rule
response. This debug flag is also provided to tsdb queries so
datasources can optionally add support for returning additional
debug data
* alerting: improve test alert rule ui
Adds buttons for expand/collapse json and copy json to clipboard,
very similar to how the query inspector works.
* elasticsearch: implement support for tsdb query debug flag
* elasticsearch: embedding client response in struct
* alerting: return proper query model when testing rule 
							
						 
						
							2019-06-25 08:52:17 +02:00  
				
					
						
							
							
								 
						
							
								87760d4fde 
								
							 
						 
						
							
							
								
								Codestyle: Fix govet issues ( #17178 )  
							
							... 
							
							
							
							ref #10381 
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com> 
							
						 
						
							2019-06-04 22:00:05 +02:00  
				
					
						
							
							
								 
						
							
								c82df97bb2 
								
							 
						 
						
							
							
								
								testdata: scenarios returned are now sorted in a consistent way ( #17181 )  
							
							... 
							
							
							
							This makes sure the scenarios returned from API are sorted in a consistent
way and by that makes the values in scenario drop down always presented
ordered instead of jumping around. 
							
						 
						
							2019-05-21 09:20:57 +02:00  
				
					
						
							
							
								 
						
							
								52d825f535 
								
							 
						 
						
							
							
								
								log error on datasource access denied  
							
							
							
						 
						
							2018-10-30 09:32:32 +01:00  
				
					
						
							
							
								 
						
							
								cfb061ddab 
								
							 
						 
						
							
							
								
								refactor datasource caching  
							
							
							
						 
						
							2018-10-30 09:31:56 +01:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								276a5e6eb5 
								
							 
						 
						
							
							
								
								fix: test data api route used old name for test data datasource,  fixes   #12773  
							
							
							
						 
						
							2018-07-31 17:29:02 +02:00  
				
					
						
							
							
								 
						
							
								d9bf894383 
								
							 
						 
						
							
							
								
								return 400 if user input error  
							
							
							
						 
						
							2018-07-24 17:06:55 +09:00  
				
					
						
							
							
								 
						
							
								91fb2e07ce 
								
							 
						 
						
							
							
								
								pkg: fix codespell issues  
							
							
							
						 
						
							2018-04-13 20:31:29 +02:00  
				
					
						
							
							
								 
						
							
								0a415c50d0 
								
							 
						 
						
							
							
								
								Make golint happier  
							
							
							
						 
						
							2018-03-22 22:38:44 +01:00  
				
					
						
							
							
								 
						
							
								7aab6a8887 
								
							 
						 
						
							
							
								
								Make golint happier  
							
							
							
						 
						
							2018-03-22 12:40:21 +01:00  
				
					
						
							
							
								 
						
							
								c0ecdee375 
								
							 
						 
						
							
							
								
								rename Context to ReqContext  
							
							
							
						 
						
							2018-03-07 11:54:50 -05:00  
				
					
						
							
							
								 
						
							
								338655dd37 
								
							 
						 
						
							
							
								
								move Context and session out of middleware  
							
							
							
						 
						
							2018-03-06 18:16:49 -05:00  
				
					
						
							
							
								 
						
							
								ed661767f8 
								
							 
						 
						
							
							
								
								follow go idiom and return error as second param  
							
							
							
						 
						
							2017-09-21 18:04:16 +02:00  
				
					
						
							
							
								 
						
							
								0229d28d64 
								
							 
						 
						
							
							
								
								remove unused structs  
							
							
							
						 
						
							2017-09-21 15:02:17 +02:00  
				
					
						
							
							
								 
						
							
								788f677ed7 
								
							 
						 
						
							
							
								
								remove old internal metrics lib  
							
							
							
						 
						
							2017-09-14 14:26:32 +02:00  
				
					
						
							
							
								 
						
							
								6e344f6eea 
								
							 
						 
						
							
							
								
								api: tsdb api orgId fix  
							
							
							
						 
						
							2017-09-12 08:01:34 +02:00  
				
					
						
							
							
								 
						
							
								0d39852ef4 
								
							 
						 
						
							
							
								
								fix: fixed test data fake metric query,  fixes   #8474  
							
							
							
						 
						
							2017-05-29 10:48:38 +02:00  
				
					
						
							
							
								 
						
							
								c78c460f79 
								
							 
						 
						
							
							
								
								mysql: worked on mysql data soruce  
							
							
							
						 
						
							2017-04-20 17:10:23 +02:00  
				
					
						
							
							
								 
						
							
								d6d2080f11 
								
							 
						 
						
							
							
								
								mysql: minor progress on response processing  
							
							
							
						 
						
							2017-03-31 11:45:25 +02:00  
				
					
						
							
							
								 
						
							
								bd4f073425 
								
							 
						 
						
							
							
								
								mysql: minor update  
							
							
							
						 
						
							2017-03-30 20:23:40 +02:00  
				
					
						
							
							
								 
						
							
								8f90c6115d 
								
							 
						 
						
							
							
								
								mysql: progress on mysql data source  
							
							
							
						 
						
							2017-03-29 22:54:18 +02:00  
				
					
						
							
							
								 
						
							
								03354bc49a 
								
							 
						 
						
							
							
								
								tech: replace context.TODO with background ctx  
							
							
							
						 
						
							2017-02-24 09:20:28 +01:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								360516ed41 
								
							 
						 
						
							
							
								
								feat(metrics): change active alerts to guage  
							
							
							
						 
						
							2016-11-29 16:46:25 +01:00  
				
					
						
							
							
								 
						
							
								c38f6ff182 
								
							 
						 
						
							
							
								
								Make alerting notifcations sync ( #6158 )  
							
							... 
							
							
							
							* tech(routines): move the async logic from notification to alerting notifier
* tech(notification): reduce code dupe
* fix(notification): dont touch the response unless its an error
* feat(alerting): make alerting exeuction async but flow sync
* tech(alerting): remove commented code
* tech(alerting): remove unused code
* tech(alerting): fix typo
* tech(alerting): implement Context on EvalContext
* tech(alerting): wait for all alerts to return
* feat(alerting): dont allow alert responses to cancel
* Revert "feat(alerting): dont allow alert responses to cancel"
This reverts commit 324b006c96 
							
						 
						
							2016-10-03 09:38:03 +02:00  
				
					
						
							
							
								 
						
							
								a4648607bb 
								
							 
						 
						
							
							
								
								feat(testdata): added csv test data scenario  
							
							
							
						 
						
							2016-09-28 10:37:30 +02:00  
				
					
						
							
							
								 
						
							
								3ecd96e682 
								
							 
						 
						
							
							
								
								feat(testdata): lots of work on new test data data source and scenarios  
							
							
							
						 
						
							2016-09-27 18:17:39 +02:00  
				
					
						
							
							
								 
						
							
								34f15d92d0 
								
							 
						 
						
							
							
								
								feat(testdata): worked on testdata app  
							
							
							
						 
						
							2016-09-27 14:39:51 +02:00  
				
					
						
							
							
								 
						
							
								b25cb60259 
								
							 
						 
						
							
							
								
								Merge branch 'new-logger'  
							
							... 
							
							
							
							Conflicts:
	CHANGELOG.md 
							
						 
						
							2016-06-08 08:09:59 +02:00  
				
					
						
							
							
								 
						
							
								67ad903556 
								
							 
						 
						
							
							
								
								feat(test metrics): fixed issue with built in Grafana test data source,  fixes   #5299  
							
							
							
						 
						
							2016-06-08 05:45:13 +02:00  
				
					
						
							
							
								 
						
							
								3dc7706c45 
								
							 
						 
						
							
							
								
								feat(loggin): improved http request panic handling  
							
							
							
						 
						
							2016-06-07 10:05:10 +02:00  
				
					
						
							
							
								 
						
							
								7cbaf06097 
								
							 
						 
						
							
							
								
								feat(instrumentation): check if enabled in http api metrics route  
							
							
							
						 
						
							2016-06-03 21:22:34 +02:00  
				
					
						
							
							
								 
						
							
								e0c6048820 
								
							 
						 
						
							
							
								
								feat(instrumentation): added gauge and http endpoint  
							
							
							
						 
						
							2016-06-03 16:15:36 +02:00  
				
					
						
							
							
								 
						
							
								1a05ae2eaa 
								
							 
						 
						
							
							
								
								feat(instrumentation): more work  
							
							
							
						 
						
							2016-06-03 15:06:57 +02:00  
				
					
						
							
							
								 
						
							
								10820f31c2 
								
							 
						 
						
							
							
								
								Changed go package path  
							
							
							
						 
						
							2015-02-05 10:37:13 +01:00  
				
					
						
							
							
								 
						
							
								3e07605260 
								
							 
						 
						
							
							
								
								added a /api/metrics/test query that returns random walk series  
							
							
							
						 
						
							2015-01-06 09:11:00 +01:00