Gábor Farkas
476a227505
influxdb: check for invalid program-flow ( #37474 )
2021-08-10 14:18:29 +02:00
Domas
3e124c854e
Alerting: interpolate variables when creating alert rule from dashboard panel ( #37201 )
2021-08-10 10:59:48 +03:00
Gábor Farkas
9417e86316
Updated "react-use" package to newest version ( #37579 )
...
* package.json: updated react-use to newest version
* fixes (typescript and other)
2021-08-05 14:32:51 +02:00
Ashley Harrison
8aa3845f70
Select: Make portalling the menu opt-in, but opt-in *everywhere* ( #37501 )
...
* Select: Don't portal by default
* Select: Portal all the Selects
* Fix indendentation in this comment
* Select: Remove @example docs until formatting is correct
* Docs: Add some documentation for the Select changes
* Update docs/sources/whatsnew/whats-new-in-v8-1.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Update docs/sources/whatsnew/whats-new-in-v8-1.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Update packages/grafana-ui/src/components/Select/types.ts
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Update public/app/core/components/TransformersUI/configFromQuery/ConfigFromQueryTransformerEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Update public/app/core/components/TransformersUI/configFromQuery/ConfigFromQueryTransformerEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Update public/app/core/components/TransformersUI/configFromQuery/ConfigFromQueryTransformerEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Update public/app/core/components/TransformersUI/prepareTimeSeries/PrepareTimeSeriesEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Docs: Variants instead of varients
* Update public/app/core/components/TransformersUI/configFromQuery/ConfigFromQueryTransformerEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
2021-08-04 15:47:53 +01:00
Gábor Farkas
4da398014f
influxdb: more robust query-has-variables check ( #37493 )
...
* influxdb: moved queryUtils file to better place
* influxdb: more robust query-has-variables check
2021-08-04 10:45:37 +02:00
Olof Bourghardt
0b376522ac
Explore: use GrafanaTheme2 (AdHocFilter component) ( #37434 )
...
* Explore: use GrafanaTheme2 and useStyles2 instead of the old ones
* Explore: delete files and components that were'nt being used
2021-08-04 09:24:25 +02:00
Gábor Farkas
bc0ab3cc7a
influxdb: better query-has-variable check ( #37453 )
2021-08-03 14:32:48 +02:00
Gábor Farkas
b254e4eb31
influxdb: influxql: fix dataframe column-names ( #37195 )
2021-07-26 12:08:02 +02:00
Luca Fenu
e3622ac1da
Influx: fix typo ( #37181 )
2021-07-26 08:44:09 +02:00
Ashley Harrison
3004a650b5
Chore: Fix more TypeScript strict errors ( #37066 )
...
* Chore: Fix more TypeScript strict errors
* whoops
2021-07-22 08:09:55 +01:00
Gábor Farkas
14274a960e
influxdb: influxql: handle null-cases in timeseries data ( #37047 )
2021-07-21 10:44:41 +02:00
Gábor Farkas
ea375db8b2
influxdb: influxql: for timeseries-queries, return dataframes ( #36850 )
2021-07-20 10:52:36 +02:00
Gábor Farkas
815f9a7557
InfluxDB: InfluxQL: adds tags to timeseries data ( #36702 )
...
* influxdb: influxql: return tags in timeseries
* influxdb: influxql: added tests
2021-07-14 16:06:53 +02:00
Ashley Harrison
54f8996acf
Select: Portal select menu to document.body ( #36398 )
...
* ValueMappings: Force overflowing modal content to scroll
* ValueMappings: Update unit tests
* Select: Portal Select to document.body, close menu on scroll
* Select: Fix tests + apply updates from https://github.com/grafana/grafana/pull/32833
* ValueMappingsEditorModal: Revert to using selectEvent in the tests
* Select: Fix remaining unit tests
* Portal: Rewrite Portal as a functional component so we can use useTheme2
* Modal: Remove modal styles from this PR
* Update E2E tests
* More unit test fixes
* Select: Fix remaining E2E tests
* Select: Create util method to select an option in tests
2021-07-14 14:04:23 +01:00
Gábor Farkas
cc460110b1
influxdb: influxql: better tag-value filtering ( #36570 )
2021-07-12 07:55:10 +02:00
Gábor Farkas
ec9dbdd93c
influxdb: influxql: fix retention-policy handling ( #36022 )
2021-06-23 09:53:53 +02:00
Gábor Farkas
89fc92947c
InfluxDB: deprecate direct browser access in data source ( #35105 )
...
* influxdb: deperacate direct browser-access
* better docs-formatting
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-06-02 16:37:16 +02:00
Gábor Farkas
618dc6a2f6
InfluxDB: InfluxQL: apply on enter not on blur ( #34963 )
2021-05-31 10:09:29 +02:00
Gábor Farkas
0afc4c0361
InfluxDB: InfluxQL query editor: better handling of slow queries ( #34507 )
...
* InfluxDB: InfluxQL query editor: better handling of slow queries
* adjusted message to be similar to other messages
* simplify code
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2021-05-24 15:58:59 +02:00
Gábor Farkas
e21b90681f
influxdb: influxql: make measurement-autocomplete case insensitive ( #34563 )
2021-05-24 12:24:42 +02:00
Gábor Farkas
d95cc4a08f
InfluxDB: InfluxQL query editor: generate better HTML ( #34467 )
2021-05-20 16:46:08 +02:00
Gábor Farkas
fc04a1ae00
InfluxDB: InfluxQL: handle empty tag values when generating query ( #34463 )
2021-05-20 10:13:15 +02:00
Gábor Farkas
f48708bb9e
InfluxDB: InfluxQL: always apply time interval end ( #34308 )
2021-05-19 16:24:14 +02:00
Gábor Farkas
a9255db370
InfluxDB: InfluxQL: make nicer custom-select-value UI ( #34289 )
...
* influxdb: influxql: make niceer custom-select-value
* add code for missing case
* moved to the right place
2021-05-19 12:31:52 +02:00
Gábor Farkas
a33a5fc079
InfluxDB: InfluxQL query editor simpler "close selectboxes when clicked outside" handling ( #33908 )
2021-05-11 15:13:35 +02:00
Gábor Farkas
3e59ae7e56
InfluxDB: Convert the InfluxQL query editor from Angular to React ( #32168 )
...
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
2021-05-11 08:15:44 +02:00
Ryan McKinley
ccc0f7fc22
DataSource: show the uid in edit url, not the local id ( #33818 )
2021-05-08 18:13:26 +02:00
Gábor Farkas
8f210db17a
InfluxDB: Fix the ordering of results for variable queries ( #33314 )
2021-05-05 15:35:48 +02:00
Gábor Farkas
4506af3be7
InfluxDB: Improve measurement-autocomplete behavior in query editor ( #33494 )
...
* InfluxDB: Improve measurement-autocomplete behavior
* reverted changes of the previous commit
* add debounce to measurement-autocomplete
2021-05-03 11:08:12 +02:00
Alex Khomenko
6d95f2f1db
Chore: Update typescript to v4.2.4 ( #33297 )
...
* Update typescript to v4.2.4
* Update @types/slate
* Fix QueryVariableEditor.test.tsx
* Fix search-related type errors
* Fix Plugin pages type errors
* Fix missing initializer errors
* Update snapshot
* Revert tsconfig changes
2021-04-28 15:40:01 +03:00
Josh Hunt
0463164f8c
Grafana-UI: Type onEditorDidMount ( #33178 )
2021-04-21 11:16:54 +02:00
kay delaney
bad048b7ba
Performance: Standardize lodash imports to use destructured members ( #33040 )
...
* Performance: Standardize lodash imports to use destructured members
Changes lodash imports of the form `import x from 'lodash/x'` to
`import { x } from 'lodash'` to reduce bundle size.
* Remove unnecessary _ import from Graph component
* Enforce lodash import style
* Fix remaining lodash imports
2021-04-21 09:38:00 +02:00
Torkel Ödegaard
7896423fb5
Influx/Azure: Fix issue in query editors due to babel upgrade ( #32605 )
2021-04-01 17:14:25 +02:00
Torkel Ödegaard
10badea19e
Emotion: Upgrades emotion from 10 to 11 and updates all import paths ( #32541 )
...
* Babel: Updates babel dependencies to latest version
* Emotion: Upgrade form 10 to 11
* Fixing tests
* Updated to use emotion/css instead in test
2021-04-01 14:15:23 +02:00
Ivana Huckova
003a85949e
InfluxDB: Fix Cannot read property 'length' of undefined in when parsing response ( #32504 )
...
* Fix Cannot read property 'length' of undefined in Influx
* Update public/app/plugins/datasource/influxdb/response_parser.ts
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
* Update public/app/plugins/datasource/influxdb/response_parser.ts
* Revert to original solution
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2021-03-31 16:45:30 +02:00
Zoltán Bedi
8232b6ebbc
Chore: eslint react hook fix for public folder ( #31174 )
...
* Fixes under public/app/plugins
* Fixes under public/app/plugins/datasource
* Fixes under public/app/features
* Fixes under public/app/features
* Fixes under public/app/features
* Fixes under public/app/components
* Fix PanelNotSupported test
* Fix one more warning
* Fix warning in usePanelSave
* Fix traceview empty response
* Azure monitor fixes
* More fixes
* Fix tests for azure monitor
* Fixes after merging master
* Add comment for disabled rules
* Fixes after merging master
* Fixes after merging master
* Adress review comments
* Fix azure tests
* Address review feedbacks
2021-03-25 12:42:14 +01:00
Gábor Farkas
8285a34f4c
influxdb: raw-influxql editor: fix state-management bug ( #32035 )
...
* influxdb: raw-influxql editor: state-management bug fixed
* influxdb: simplified code
2021-03-17 16:32:40 +01:00
Gábor Farkas
cbaf700d64
influxdb: switch the raw influxql editor from angular to react ( #31860 )
...
* influxdb: switch the raw influxql editor from angular to react
* influxdb: raw-influxql: better callback-naming
* influxdb: raw-influxql: use custom hook
* influxdb: flux: raw-editor: add unit tests
2021-03-16 10:47:33 +01:00
Komalis
50e5342379
InfluxDB: Support region annotations ( #31526 )
2021-03-15 17:29:11 +01:00
Gábor Farkas
3139a60012
influxdb: flux-editor: fix html.onchange bug with angular, improve types ( #31765 )
...
* influxdb: flux-editor: fix html.onchange bug with angular, improve types
* influx: flux: simplified bug-fix
2021-03-11 17:24:48 +01:00
Gábor Farkas
c433393533
influxdb: flux: handle is-hidden ( #31324 )
2021-02-26 10:27:07 +01:00
Alex Khomenko
6db4b40d5b
Data source list: Use Card component ( #31326 )
...
* Replace DataSourcesListItem with Card
* Add tests
* Remove unused styles
* Make card heading semi bold
* Make heading semi-bold
* Show type name instead of type id
* Fix key warning
* Update Card
* Fix tests
* Make typeName optional
* remove styling that was just a test
* Make typeName non-optional and fix tests
* Update list key
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2021-02-22 14:02:10 +02:00
Dominik Prokop
8d339a279b
Eslint: no-duplicate-imports rule (bump grafana-eslint-config) ( #30989 )
...
* Eslint: no-duplicate-imports rule (bump grafana-eslint-config)
* Chore: Fix duplicate imports (#31041 )
* Rebased this branch into eslint-no-duplicate-imports
* updated some changes
* merged uncaught duplicate imports
* fixes frontend test- I hope
* fixes e2e test- I hope
Co-authored-by: Uchechukwu Obasi <obasiuche62@gmail.com >
2021-02-11 13:45:25 +01:00
Andrej Ocenas
e0448513eb
Influx: Make max series limit configurable and show the limiting message if applied ( #31025 )
...
* Add configuration in ConfigEditor and default to 1000
* Show data in explore if any even if there is an error
* Update pkg/tsdb/influxdb/flux/executor.go
* Better handling of defaults
* Add test for runQuery to show data even with error
* Update public/app/store/configureStore.ts
Co-authored-by: Giordano Ricci <gio.ricci@grafana.com >
* Update public/app/plugins/datasource/influxdb/components/ConfigEditor.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* Update tooltip
* Update input
* Lint fixes
* Update snapshots
* Update decorator tests
Co-authored-by: Giordano Ricci <gio.ricci@grafana.com >
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2021-02-10 15:23:19 +01:00
Torkel Ödegaard
5cd41adc1e
Alerts: Update Alert storybook to show more states ( #30908 )
...
* Alert: Design update for alerts
* Before text color
* Text update
* reverted style changes
* Minor fix
* Updated snapshot
2021-02-05 09:19:09 +01:00
Andrej Ocenas
7db00ed6a0
InfluxDB: Add http configuration when selecting InfluxDB v2 flavor ( #30827 )
...
* Add dev env block for influx2
* Add http settings to influx config
* Update devenv/docker/blocks/influxdb2/docker-compose.yaml
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com >
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com >
2021-02-03 15:16:59 +01:00
Torkel Ödegaard
1d689888b0
Prettier: Upgrade to 2 ( #30387 )
...
* Updated package json but not updated source files
* Update eslint plugin
* updated files
2021-01-20 07:59:48 +01:00
kay delaney
b9b6af9491
Dashboards: Adds cheat sheet toggle to supported query editors ( #28857 )
...
* Dashboards: Adds cheat sheet toggle to supported query editors
2021-01-19 23:52:09 +01:00
Ursula Kallio
220cd8afd9
Revise README.md. ( #30145 )
2021-01-11 11:12:26 +01:00
Sofia Papagiannaki
6dfa9b4823
InfluxDB: Update Flux external link ( #30158 )
2021-01-10 20:23:04 -08:00