Gábor Farkas
0c2ba819a7
Loki: use generic grafana null-insertion mechanism ( #44826 )
...
* loki: refactor: return dataframes instead of timeseries
* fixed unit test
* removed unused import
2022-02-03 15:23:38 +01:00
Gábor Farkas and Ivana Huckova
f36ed878e9
Loki: add helper function to handle instant/range queries ( #44785 )
...
* loki: add helper function to handle range/instant queries
* improved comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-02-03 10:25:37 +01:00
Gábor Farkas
3873c5e7b5
loki: alerting: better error-handling ( #44700 )
2022-02-01 13:34:03 +01:00
Gábor Farkas
aa22499b29
packages: disable auto-updating of slate-related package ( #44640 )
2022-01-31 11:15:06 +01:00
Gábor Farkas
2c1e7c83ca
packages: removed unused @types/slate-react ( #44600 )
2022-01-31 10:57:46 +01:00
Gábor Farkas
6e071d030f
loki: added benchmark for metric-response processing ( #44539 )
2022-01-28 09:44:57 +01:00
Gábor Farkas
b42161a713
Loki: add from JSON to dataframes tests ( #44375 )
...
* Loki: add from JSON to dataframes tests
* fixed wrong content-type
* added -Inf test-case
2022-01-27 12:43:44 +01:00
Gábor Farkas
465ed9f5d3
CODEOWNERS: update based on renamed github team ( #44495 )
2022-01-27 11:47:29 +01:00
Gábor Farkas
ad4a9a48d2
CODEOWNERS: update based on o11y squad changes ( #44474 )
...
* CODEOWNERS: update based on o11y squad changes
* add back by-mistake deleted part
* move logs-panel to logs-traces-squad
2022-01-26 16:10:38 +01:00
Gábor Farkas
9161f9d2e1
prometheus: added json-loading benchmark ( #44309 )
2022-01-24 14:39:26 +01:00
Gábor Farkas
0f8b0dc301
prometheus: refactor test ( #44358 )
2022-01-24 11:08:41 +01:00
Gábor Farkas
bedc5cccaa
prometheus: fix auto-inserting null-timestamps at the end ( #44022 )
2022-01-14 09:25:15 +01:00
Gábor Farkas
4a88b8f66c
Prometheus: add tests covering the prometheus-response to dataframes conversion ( #43892 )
...
* prometheus: add tests covering prometheus_response to grafana_dataframes
* fixed variable name
* added comment
* removed not-helping function call
2022-01-13 11:52:50 +01:00
Gábor Farkas
1879a6855e
prometheus: respect the http-method data source setting ( #42753 )
...
* prometheus: respect the http-method data source setting
* removed forgotten if-true section
* refactored json-check
2021-12-20 11:27:18 +01:00
Gábor Farkas
d2283cf799
influxdb: config: accessibility fixes ( #43260 )
2021-12-20 10:11:00 +01:00
Gábor Farkas
db18acff15
InfluxDB: InfluxQL: query editor: skip fields in metadata queries ( #42543 )
...
* influxdb: influxql: query editor: skip fields for metadata
* test added
* removed forgotten line
* updated test name
* updated comment
* simplified test code
2021-12-17 15:09:02 +01:00
Gábor Farkas
623ae1e41d
datasources: config: add aria-label ( #43266 )
2021-12-17 11:44:38 +01:00
Gábor Farkas
f0fca6e018
update auto-generated files ( #43159 )
2021-12-15 17:50:29 +01:00
Gábor Farkas
50c6c7a528
InfluxDB: fix accessibility problems ( #42553 )
...
* influxdb: influxql: query editor a11y fixes
* configure datasource page a11y fixes
* fixed unit test
* better a11y
* better a11y for the query editor
* simplify code
* updated tests
* removed explicit aria-label
2021-12-15 15:57:08 +01:00
Gábor Farkas
1569529808
theme: fixed colors to be monaco-compatible ( #43153 )
2021-12-15 14:52:31 +01:00
Gábor Farkas
f9b6baa783
monaco-editor: updated from 0.31.0 to 0.31.1 ( #43146 )
2021-12-15 14:09:44 +01:00
Gábor Farkas
a4cc1f6b39
loki: alerting: handle curly-braces-style variables ( #42933 )
2021-12-09 15:16:01 +01:00
Gábor Farkas
096c248887
explore: store failed queries too ( #42516 )
...
* explore: store failed queries too
* fixed test
2021-12-09 14:00:50 +01:00
Gábor Farkas
3232ae08c0
loki: removed unused variable ( #42909 )
2021-12-09 13:16:52 +01:00
Gábor Farkas
6686f8c345
loki: rename ResponseModel to QueryModel ( #42794 )
2021-12-07 07:57:52 +01:00
Gábor Farkas
17e12dc784
influxdb: influxql: improve the handling of metadata query errors ( #42500 )
2021-11-30 17:17:40 +01:00
Gábor Farkas
2ce1cf22ef
devenv: disable managed-alerts for datasources ( #42295 )
2021-11-30 15:37:03 +01:00
Gábor Farkas
8508ad79b2
Dashboard: Fix queries for panels with non-integer widths ( #42420 )
...
* dashboard: fix non-integer panel widths
* switched to better supported function
2021-11-29 11:49:53 +01:00
Gábor Farkas
adbc5bde72
explore: fix url update inconsistency ( #42288 )
2021-11-29 10:00:41 +01:00
Gábor Farkas
24d4c8a9d1
Loki: alerting: handle variables like __interval and __range ( #42126 )
2021-11-24 16:56:53 +01:00
Gábor Farkas
06e474dfd5
Explore: query history: fix error when removing last item ( #42179 )
...
* explore: rich-history: fix data inconsistency
* also handle starred-queries tab
2021-11-24 13:52:44 +01:00
Gábor Farkas
fe84454bb0
loki: alerting: simplified config ( #42147 )
...
* loki: alerting: simplified config
* adjusted config handling
2021-11-24 11:52:33 +01:00
Gábor Farkas
037fd9cc8c
Loki: alerting: adjust step-calculation to be the same as in frontend ( #42033 )
...
* loki: alerting: adjust step-calculation to be the same as in frontend
* loki: simplified test
* lint fix
2021-11-22 14:28:51 +01:00
Gábor Farkas
2fbc6b1d2f
loki: simplify interval calculation ( #41857 )
2021-11-19 17:20:32 +01:00
Gábor Farkas
91f9284e9d
docs: improved deprecation-info for elasticsearch and influxdb ( #41981 )
2021-11-19 15:58:21 +01:00
Gábor Farkas and Giordano Ricci
f5641c0293
Docs: add easier to find deprecation notices to certain data sources and to the changelog ( #41938 )
...
* docs: add easier to find deprecation-info
* better indentation in the docs
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
* better indentation in the docs
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
* prettier fixes
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
2021-11-19 15:23:07 +01:00
Gábor Farkas
5c40865547
prometheus: query field: better handle label-values with unusual characters ( #41457 )
2021-11-15 09:51:28 +01:00
Gábor Farkas
cd01384d3a
renovate: ignore packages/grafana-toolkit ( #41602 )
2021-11-11 14:52:33 +01:00
Gábor Farkas
4f4620188c
influxdb: alias: fix corner case ( #41562 )
2021-11-11 14:38:54 +01:00
Gábor Farkas
f6ad3e420a
devenv: influxdb: better config ( #41456 )
2021-11-11 14:20:57 +01:00
Gábor Farkas
eb47a58029
InfluxDB: fix numeric aliases in queries ( #41531 )
...
* influxdb: alerting: handle out-of-range numeric aliases
* influxdb: updated documentation
2021-11-11 09:18:06 +01:00
Gábor Farkas
486fbac23b
renovate: do not update "less" for now ( #41463 )
...
* renovate: block updating less & less-loader for now
* more specific rules
2021-11-10 13:29:20 +01:00
Gábor Farkas
9d82111a1a
prometheus: enable new monaco-based query field ( #41357 )
...
* prometheus: enable new monaco-based query field
* updated test
* updated tests
* fix e2e tests
* updated comment
2021-11-08 14:20:48 +01:00
Gábor Farkas
f3f57d3d6e
influxdb: improved explanation texts ( #41351 )
...
* influxdb: improved explanation texts
* fixed tests
2021-11-05 15:42:54 +01:00
Gábor Farkas
c64997332d
prometheus: monaco: fix a corner-case with quotes ( #41345 )
2021-11-05 15:11:19 +01:00
Gábor Farkas
eec7b9d325
prometheus: monaco: better suggestions inside quotes ( #41262 )
...
* prometheus: monaco: better suggestions inside quotes
* add double-quote as trigger character
* moved comment to correct place
2021-11-05 10:13:55 +01:00
Gábor Farkas
ec63b28621
prometheus: monaco: do not show automatic suggestions ( #41253 )
...
* prometheus: monaco: do not show automatic suggestions
* updated comments
2021-11-05 10:09:11 +01:00
Gábor Farkas
91da1bbb79
prometheus: monaco: allow listing label names + values without a metric ( #41233 )
...
* prometheus: monaco: allow listing label names + values without a metric
* removed comment
2021-11-03 11:20:04 +01:00
Gábor Farkas
72ae3235fa
prometheus: monaco: autocomplete: offer function-names in functions ( #41212 )
2021-11-03 10:56:43 +01:00
244e149c34
prometheus: query-field: monaco: implement open-help-by-default ( #41112 )
...
* prometheus: query-field: monaco: implement open-help-by-default
* better comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* fixed typo in comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* better log-message
* fixed comment spelling
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
* better setting
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2021-11-03 10:55:07 +01:00
Gábor Farkas
28ae9f1bdd
prometheus: query-editor: refactor: rename intent to situation ( #41079 )
...
* prometheus: query-editor: refactor: rename intent to situation
* fixed forgotten rename
2021-11-02 15:09:35 +01:00
Gábor Farkas
0b61d83739
renovate: block updating eslint for now ( #41199 )
2021-11-02 15:06:07 +01:00
Gábor Farkas and Piotr Jamróz
c788e2f8e8
prometheus: monaco editor: visual fixes ( #41184 )
...
* prometheus: monaco editor: visual fixes
* fixed typo in comment
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
* more comments added
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2021-11-02 12:44:51 +01:00
Gábor Farkas
24db1efa9d
influxdb: influxql: fix table-format data processing with renamed time field ( #41052 )
2021-10-29 15:49:45 +02:00
Gábor Farkas
fcaf9e68ee
prometheus: monaco: stricter autocomplete and handle space ( #41028 )
...
* prometheus: monaco: stricter autocomplete
* autocomplete on space
2021-10-29 08:22:40 +02:00
Gábor Farkas
25fe5bc027
prometheus: autocomplete: handle label-ops better ( #41004 )
2021-10-28 10:39:26 +02:00
Gábor Farkas
844d2c8621
prometheus: monaco: handle in-dashboard and in-explore use cases ( #40922 )
...
* prometheus: monaco: handle in-dashboard and in-explore use cases
* refactor is-explore handling
* improved comment
* removed unnecessary comment
* reordered props
* simplify code
* refactor: better prop-name
* fixed test snapshot
2021-10-27 11:45:32 +02:00
Gábor Farkas
2c3b35df64
Explore: allow changing the graph type ( #40522 )
...
* explore: allow switching graph-styles
* refactor: simplify code
* adjust test to test a case that can really happen
* better generate-options approach
* explore: graph styles: remove url functionality
* not-stacked-bars should be filled
2021-10-26 15:51:59 +02:00
Gábor Farkas
cc271b0a42
Explore: rich history: add more tests ( #40769 )
...
* explore: rich history: add unit test
* explore: rich-history: added info comment
* improved comment
* better test names
2021-10-25 15:23:47 +02:00
Gábor Farkas
b5ae62d6ae
grafana-ui: simplify and centralize monaco-theme-handling ( #40643 )
...
* grafana-ui: simplify and centralize monaco-theme-handling
* simplify code
* monaco: better theme-setup code
* eslint fix
* fix useEffect dependency
2021-10-25 14:55:39 +02:00
Gábor Farkas
9e030970aa
prometheus: remove handling of control+enter ( #40869 )
...
we are standardizing on shift+enter
2021-10-25 12:20:13 +02:00
Gábor Farkas
4bf5fa2ad2
explore: rich-history: add test for old-mode conversion code ( #40714 )
2021-10-21 09:49:38 +02:00
Gábor Farkas
58360923fd
prometheus: monaco query editor: use new api from grafana-ui ( #40466 )
2021-10-19 12:32:54 +02:00
Gábor Farkas
1f44023ebe
Loki: fix typescript-strict-mode error ( #40566 )
...
* loki: fix typescript-strict error
* loki: fix typescript-strict-mode error
2021-10-18 12:35:56 +02:00
Gábor Farkas
bd8e07d6ed
prometheus: more correct jsonData typescript type ( #40559 )
...
* prometheus: fix strict-mode typescript error
* it does not make the limit lower
but the change is still correct
2021-10-18 11:21:30 +02:00
Gábor Farkas
8e070d6858
influxdb: config page: typescript-fix for strict-mode ( #40465 )
2021-10-15 11:29:41 +02:00
Gábor Farkas and Dominik Prokop
19972600d7
grafana-ui: export lazy-loaded version of react-monaco-editor ( #39570 )
...
* grafana-ui: refactor: move laziness to a lower level in code-editor
* grafana-ui: re-export react-monaco-editor
* rename export
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
* improved comment
* reverted name change
we already have an export with that name
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2021-10-14 14:33:45 +02:00
Gábor Farkas
51c5afe840
yarn2: commit the pa11y-ci package from the cache ( #40372 )
2021-10-14 08:28:24 +02:00
Gábor Farkas
d363c36853
Prometheus: metrics browser: handle label values with special characters ( #39713 )
...
* prometheus: handle label-values with special characters
* added comment
2021-09-30 15:50:02 +02:00
Gábor Farkas
97367acc0a
Update latest.json ( #39852 )
2021-09-30 15:25:21 +02:00
Gábor Farkas
e74ae99f48
dependabot: ignore ts-loader ( #39702 )
2021-09-28 15:27:35 +02:00
Gábor Farkas
9f027e32b7
InfluxDB: Flux: make $__interval and $__interval_ms work in alerting ( #38889 )
...
* influxdb: flux: handle $__interval and $__interval_ms in alert-queries
* influxdb: flux: do not handle interval-variable in the frontend
* $__interval should be rounded
* added comment
2021-09-27 12:03:04 +02:00
Gábor Farkas
bf0dc3ef62
influxdb: flux: use more precise start and end timestamps ( #39415 )
...
* influxdb: flux: use more precise start and end timestamps
* added unit test
2021-09-22 15:26:36 +02:00
Gábor Farkas
346a53145c
prometheus: metadata: simplify the metrics-metadata format ( #39411 )
...
* prometheus: metadata: simplify the metrics-metadata format
* fixed unit test
* fixed tests
2021-09-21 15:19:52 +02:00
Gábor Farkas
dc61edc8ac
prometheus: monaco: do not recalculate not-changing function-list ( #39406 )
2021-09-20 13:24:55 +02:00
Gábor Farkas
73873f99cd
prometheus: monaco-query-field: fix metrics-list ( #39347 )
2021-09-17 15:01:39 +02:00
Gábor Farkas
d116b2d71b
influxdb: influxql: more robust resultformat-handling ( #39330 )
2021-09-17 12:33:09 +02:00
Gábor Farkas
8489575c84
prometheus: monaco: handle multiple query fields at the same time ( #39286 )
2021-09-17 09:50:19 +02:00
Gábor Farkas
f8de33da8d
prometheus: query-editor: better duration-completions ( #39284 )
2021-09-17 09:05:37 +02:00
Gábor Farkas
bff3d91b0d
prometheus: monaco: better popup-font-size ( #39181 )
2021-09-14 16:40:44 +02:00
Gábor Farkas
27e3fda7ce
influxdb: influxql query editor: fix escaping problematic characters ( #39170 )
2021-09-14 12:55:43 +02:00
Gábor Farkas
e055ba3525
prometheus: monaco: improved suggestion-displaying (icons, help-text) ( #38977 )
...
* prometheus: monaco: better icons in popup
* prometheus: monaco: add help-text to functions
* prometheus: monaco: add help-text to metrics
* better help-text
2021-09-13 12:36:18 +02:00
Gábor Farkas
580b03c952
grafana-ui: monaco dependencies updated ( #39027 )
2021-09-10 10:36:43 +02:00
Gábor Farkas
cbdba57924
Prometheus: fix popup positioning in monaco-based query-field ( #38964 )
...
* prometheus: monaco: fix popup positioning
* added explanation comment
2021-09-08 10:23:59 +02:00
Gábor Farkas
3f0f448201
influxdb: influxql: explicit min-interval check ( #38873 )
...
* influxdb: influxql: explicit min-interval check
* added test
2021-09-07 09:49:34 +02:00
Gábor Farkas
6cab44d73a
InfluxDB: InfluxQL: handle new-alerting better ( #37588 )
...
* influxdb: influxql: alert: use already-computed interval-value when available
* reverted by-mistake changed import
* simplify code
now we can rely on DataQuery.Interval always being good
* removed unnecessary test
* fix lint-error
2021-09-06 09:33:07 +02:00
Gábor Farkas
01f1c550bf
old-alert: interval calculation: apply default-min-interval of 1ms ( #38835 )
2021-09-06 09:24:32 +02:00
Gábor Farkas
aa7a6633b8
old-alert: set interval and max-data-points ( #38434 )
...
* alerting: old-alerting: handle interval + maxdatapoints better
* fixed failing test
* refactor: use interval instead of tsdb
* fix typo
* added unit-test
* added comment
* refactor
2021-08-31 14:49:30 +02:00
Gábor Farkas and Piotr Jamróz
a5d11a3bef
Prometheus: monaco-based query-editor-field, first step ( #37251 )
...
* prometheus: add monaco-based query-field
for now it is behind a feature-flag
* added new trigger character
* better separate grafana-specifc and prom-specific code
* better styling
* more styling
* more styling
* simpler monaco-import
* better imports
* simplified code
* simplified type imports
* refactor: group completion-provider files together
* renamed type
* simplify type-import
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
* handle no-metric-name autocompletes
* updated comment
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2021-08-31 13:46:13 +02:00
Gábor Farkas and Ursula Kallio
8e88600c04
style-guide: frontend: describe directory naming style ( #38607 )
...
* style-guide: frontend: describe directory naming style
* apply recommended changes
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-27 08:27:56 +02:00
Gábor Farkas
9e8035ef30
devenv: influxdb: update telegraf config ( #37835 )
2021-08-23 09:38:47 +02:00
Gábor Farkas
668f397a8e
Prometheus/Alerting: handle datasource.timeRange is nil case ( #37888 )
2021-08-16 09:20:58 +02:00
Gábor Farkas
28229fc344
devenv: influxdb: simplified versioning for old-version influxdb ( #37726 )
2021-08-12 08:36:50 +02:00
Gábor Farkas
4afa74232f
prometheus: alerting: respect datasource.scrapeInterval ( #37799 )
2021-08-11 20:34:51 +02:00
Gábor Farkas
476a227505
influxdb: check for invalid program-flow ( #37474 )
2021-08-10 14:18:29 +02:00
Gábor Farkas
488930dbe3
influxdb: influxql: update provisioning example ( #37701 )
2021-08-10 09:07:23 +02: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
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
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