Dominik Prokop
9b7748ec13
Chore: Reorg packages ( #20111 )
...
Primarily- moving majority of the types and utils from @grafana/ui to @grafana/data
* Move types from grafana-ui to grafana-data
* Move valueFormats to grafana-data
* Move utils from grafana-ui to grafana-data
* Update imports in grafana-ui
* revert data's tsconfig change
* Update imports in grafana-runtime
* Fix import paths in grafana-ui
* Move rxjs to devDeps
* Core import updates batch 1
* Import updates batch 2
* Imports fix batch 3
* Imports fixes batch i don't know
* Fix imorts in grafana-toolkit
* Fix imports after master merge
2019-10-31 10:48:05 +01:00
kay delaney
99411bf37a
Types: Adds type safety to appEvents ( #19418 )
...
* Types: Add type safety to appEvents
2019-10-14 09:27:47 +01:00
Ivana Huckova
90b0953620
Explore: Expand template variables when redirecting from dashboard panel ( #19582 )
...
* Fix redirect but adding getExploreState method to graphite
* Explore: Create interpolateVariablesInQueries function for datasources
* Explore: Add interpolateVariablesInQueries method to elasticsearch datasource
* Add interpolateVariablesInQueries function to influx and postgres
* Explore: Add interpolateVariablesInQueries to Mssql and Mysql datasources
* Explore: Add datasources to queries
* Explore: Code formatting
* Prettier formating fix
* Explore: Add rawQuery expanding of variables for influxdb
* Remove console.logs
* Explore: Add rawQuery expanding of multiple variables for influxdb
* Explore: If no queries in Influxdb, return early []
* Explore: Refactor influxDb to follow the code structure
2019-10-08 17:01:20 +02:00
Marcus Efraimsson
96046a7ba6
MySQL, Postgres, MSSQL: Fix validating query with template variables in alert ( #19237 )
...
Adds support for validating query in alert for mysql,
postgres and mssql.
Fixes #13155
2019-09-24 20:46:07 +02:00
Dominik Prokop
90508cdbf2
Datasource: Support min time interval input in ms ( #18719 )
...
* Support min time interval input in ms in SQL datasource settings
* Enable ms in elastic min time interval setup
2019-08-29 09:36:10 +02:00
Tobias Skarhed
0ef4060b98
Chore: Fix about 200 noImplicitAny errors ( #18067 )
...
* Fix 200 ish errors
* Add interface
2019-07-16 11:35:42 +02:00
Ryan McKinley
3f15170914
Refactor: move some files to @grafana/data ( #17952 )
...
* moving to data WIP
* more refactoring
* add missing test
* mock full path
* remove sinon from grafana-ui
2019-07-06 08:05:53 +02:00
Tobias Skarhed
418dba4b21
noImplicitAnys: Fix InfluxDB type issues #17937 )
2019-07-05 07:52:23 +02:00
Tobias Skarhed
4e27ba9646
noImplicitAny: Sub 3000 errors ( #17821 )
...
* noImplicitAny Stackdriver
* Sub 3000 noImplicitAny
* Update error count limit
* Add DataQueryRequest type
2019-07-01 11:11:57 +02:00
Marcus Efraimsson
1497f3d79a
Chore: Remove unused properties in explore ( #17359 )
...
This removes unused properties in explore and datasource
meta data (tables and explore properties in plugin.json).
2019-05-31 09:45:53 +02:00
Torkel Ödegaard
e1d408a66f
AddDataSource: Updated page design & categories ( #16971 )
...
* minor refactoring
* Added category
* Minor progress
* Progres
* Updated descriptions
* Added custom sort
* NewDataSource: progress
* Updated design
* NewDataSource: Updated design
* Updated link
* Feedback changes
2019-05-09 11:45:39 +02:00
Hugo Häggmark
ceb9f0855b
Chore: Replaces moment with Grafanas DateTime ( #16919 )
...
* Wip: Initial commit
* Refactor: Replaces moment.utc(
* Refactor: replaces the last isMoment statements
* Refactor: Removes almost all moment imports
* Refactor: Moves moment_wrapper to grafana/ui
* Refactor: Renames momentWrapper
* Refactor: Removes one more moment import
* Refactor: Removes unitOfTime import
* Fix: Fixes Prettier error
* Refactor: Renames DateTimeType to DateTime
* Refactor: Renames isDateTimeType to isDateTime
* Refactor: Renames dateTime to dateTime
* Feature: Bans moment imports and types
2019-05-08 13:51:44 +02:00
Andrej Ocenas
2596ce5076
Add pattern validation in configs ( #16837 )
...
Datasources: Add pattern validation for time input on datasource config pages
2019-05-02 11:02:00 +02:00
Hugo Häggmark
7eabc282e9
Chore: Adds typings to lodash ( #16590 )
2019-04-15 12:11:52 +02:00
Andrej Ocenas
66f6e16916
Security: Store datasource passwords encrypted in secureJsonData ( #16175 )
...
* Store passwords in secureJsonData
* Revert unnecessary refactors
* Fix for nil jsonSecureData value
* Remove copied encryption code from migration
* Fix wrong field reference
* Remove migration and provisioning changes
* Use password getters in datasource proxy
* Refactor password handling in datasource configs
* Add provisioning warnings
* Update documentation
* Remove migration command, moved to separate PR
* Remove unused code
* Set the upgrade version
* Remove unused code
* Remove double reference
2019-04-15 11:11:17 +02:00
Andrej Ocenas
150b97692d
Use SecretFormField in MSSql and Postgres datasources
2019-03-19 13:40:18 +01:00
Johannes Schill
e7297fef06
fix: Add class for input fields with help icon to avoid icon hiding the text #15771
2019-03-06 14:45:13 +01:00
Marcus Efraimsson
df60804937
use default min interval of 1m for sql datasources
2019-03-05 15:03:15 +01:00
Dominik Prokop
0a66d8afc7
Merge branch 'master' into cli/watch-sass-var
2019-02-12 17:20:14 +01:00
thatsparesh
105879ab5d
use timeSrv in metricFindQuery as timeRange
2019-02-09 14:57:20 -06:00
Paresh
1f3fafb198
mssql: pass timerange for template variable queries
2019-02-03 13:07:33 -06:00
Marcus Efraimsson
3a53f75ebb
update inline documentation
2019-01-28 19:52:35 +01:00
Erik Sundell
00d8e1f221
add table support flag for mssql
2018-11-29 10:38:33 +01:00
Ramiro Morales
90de703ef2
fix new setting default value handling.
2018-10-15 21:41:00 -03:00
Ramiro Morales
d859a6aeb8
rename new JSON data attrbute.
2018-10-15 20:34:03 -03:00
Ramiro Morales
37f16ca80a
Add 'encrypt' setting to MSSQL data source.
...
Fixes #13629
2018-10-15 14:47:54 -03:00
Marcus Efraimsson
12230dfa71
ux: put connection limits under own section
2018-10-02 17:43:15 +02:00
Axel Pirek
dd09ece8c9
Make max open, max idle connections and connection max life time configurable
2018-10-02 13:42:06 +02:00
Sven Klemm
7c78b64a36
Document required order for time series queries ( #13204 )
2018-09-10 09:33:06 +02:00
Marcus Efraimsson
26756f86aa
Merge pull request #13148 from svenklemm/postgres-min-interval
...
Add min time interval support for SQL datasources
2018-09-06 14:05:39 +02:00
Sven Klemm
cb526d4557
Add min time interval to mysql and mssql
2018-09-05 12:02:57 +02:00
Torkel Ödegaard
432e203df1
Merge branch '12918-only-arrow-functions3'
2018-09-05 11:26:30 +02:00
Patrick O'Carroll
0f326f18dc
changed functions to arrowfunctions for only-arrow-functions rule ( #13127 )
2018-09-04 15:55:41 +02:00
Patrick O'Carroll
19b7ad61dd
Changed functions to arrow functions for only-arrow-functions rule.
2018-09-04 14:27:03 +02:00
Patrick O'Carroll
abbb6f933c
added jsdoc-format rule and fixed files that didn't follow new rule ( #13107 )
2018-08-31 16:40:43 +02:00
Patrick O'Carroll
a702603e7b
changed var to const 2 ( #13068 )
...
* changed var to const
* fixed typo created in last commit
* added or empty object to options in prometheus/datasource
2018-08-29 14:27:29 +02:00
Torkel Ödegaard
9b978b7203
tslint: autofix of let -> const ( #13033 )
2018-08-26 17:14:40 +02:00
Marcus Efraimsson
313a8bd033
Merge pull request #12891 from svenklemm/unixepochgroup
...
add $__unixEpochGroup and $__unixEpochGroupAlias to sql datasources
2018-08-17 14:41:33 +02:00
Tobias Skarhed
a65589a5fb
Rename test files
2018-08-14 10:52:41 +02:00
Sven Klemm
8c4d59363e
add $__unixEpochGroup to mssql datasource
2018-08-13 12:23:42 +02:00
Marcus Efraimsson
8952137ea2
Merge pull request #12753 from svenklemm/sql-fillmode-last
...
Add fill mode to fill in previously seen value when point is missing to SQL datasources
2018-08-08 10:29:56 +02:00
Sven Klemm
52c7edf2f4
rename last fillmode to previous
2018-08-07 21:11:51 +02:00
Marcus Efraimsson
b3c25076d0
Merge pull request #12746 from grafana/11305_mssql_logo
...
Mssql: add logo
2018-08-06 17:19:53 +02:00
Sven Klemm
bfc66a7ed0
add fillmode "last" to sql datasource
...
This adds a new fill mode last (last observation carried forward) for grafana
to the sql datasources. This fill mode will fill in the last seen value in a
series when a timepoint is missing or NULL if no value for that series has
been seen yet.
2018-08-02 20:35:09 +02:00
Marcus Efraimsson
5cca478656
Merge pull request #12760 from svenklemm/postgres-timegroup
...
remove alias from postgres $__timeGroup macro
add $__timeGroupAlias macro to all sql datasources
2018-08-02 16:36:01 +02:00
Sven Klemm
82c473e3af
document $__timeGroupAlias
2018-08-01 21:23:00 +02:00
Brice Maron
bb7e583863
fix custom variable quoting in sql* query interpolations
2018-08-01 20:32:50 +02:00
Marcus Efraimsson
20b2b344f6
mssql: add logo
2018-07-28 11:31:30 +02:00
Sven Klemm
036647ae35
document metric column prefix in query editor
2018-07-27 17:18:45 +02:00
Marcus Efraimsson
845724e8b9
update mysql/mssql query/annotation help sections
2018-06-29 20:39:06 +02:00