88119ad6c3
Elasticsearch: Support nested aggregation ( #62301 )
...
* Add nested query support
* Add nested support for alerts
* update nested aggregation
* cleanup types
* Add nested integration test
* Move aggdef to nested
* fixed merge conflict
* fixed lint warning
* mark nested-mode experimental
---------
Co-authored-by: Ethan Gallant <ethan@ziax.com >
Co-authored-by: Ethan J. Gallant <ethan.gallant@acquia.com >
2023-01-27 16:18:36 +01:00
Gábor Farkas
16b816972b
Elasticsearch: Deprecate raw document mode ( #62236 )
...
elasticsearch: deprecate raw-document-mode
2023-01-26 16:05:37 +00:00
Gábor Farkas
bedd0b311a
elastic: improve error-messages, first step, tests only ( #61847 )
2023-01-23 12:46:52 +01:00
Gábor Farkas and Sven Grossmann
ed88401a58
logs: json/logfmt-detection, simplify code ( #61492 )
...
* logs: json/logfmt: simplify code
* remove obsolete comment
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2023-01-13 14:33:18 +00:00
Gábor Farkas
117874176d
logs: removed unused code ( #61484 )
2023-01-13 14:11:57 +01:00
Gábor Farkas and Ivana Huckova
57425234c9
elastic: backend: removed unused time-field ( #61362 )
...
* elastic: backend: removed unused time-field
* improve comment formatting
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2023-01-12 15:52:32 +00:00
Gábor Farkas
12c4098bcd
elastic: backend: handle naming bucket_scripts ( #60460 )
2023-01-04 15:26:57 +01:00
Gábor Farkas
3cfeac9c5a
elastic: enabled more tests ( #60331 )
2022-12-15 07:40:41 -05:00
Gábor Farkas
5633843f76
Elasticsearch: backend: do not set name for time-fields ( #60169 )
...
elastic: backend: improve field-naming
2022-12-13 13:19:03 +01:00
Gábor Farkas
3172d8dd9b
elastic: response parser: simplify code ( #59782 )
...
elastic: simplify code
2022-12-12 16:00:15 +01:00
Gábor Farkas
b8b2de1ac4
elastic: remove unused debug-code ( #59712 )
...
* elastic: remove unused debug-code
* removed unused structs
2022-12-05 04:21:15 -05:00
Gábor Farkas
51d7231595
elastic: added more backend tests, copied from the frontend code ( #59423 )
2022-12-01 04:06:39 -05:00
Gábor Farkas
f1dfaa784a
elastic: add more backend tests ( #59312 )
...
* elastic: added backend snapshot tests
* linter fixes
2022-11-28 14:59:57 +01:00
Gábor Farkas
7ba86dc1dc
Elastic: always return DataFrames from the datasource's query method ( #58636 )
...
* elastic: response parsing: convert TableModel to DataFrame
* elastic: response parsing: convert JSONDocumentData to DataFrame
* elastic: response parsing: convert TimeSeries to DataFrame
* elastic: unit tests: type fixes
* elastic: fixed unit test
2022-11-28 08:57:56 +01:00
Gábor Farkas
afeb21e300
yarn: commit files to make yarn-install reproducible ( #55979 )
2022-11-22 13:49:03 +01:00
Gábor Farkas
29fcc46333
devenv:elastic: update version ( #58439 )
2022-11-08 15:00:23 +00:00
Gábor Farkas
6dd5ce7ab0
Tracing: Allow trace to logs for OpenSearch ( #58161 )
...
* tracing: allow trace-to-opensearch functionality
* more consistent naming
2022-11-07 12:24:01 +01:00
Gábor Farkas
ce13ab7077
renovate: group @types/slate* with slate* ( #58053 )
2022-11-02 13:42:53 +00:00
Gábor Farkas
8d0e24a622
explore: fix filtering logs-data in table-display ( #57356 )
2022-10-24 14:18:56 +00:00
Gábor Farkas
e8cad52132
devenv: fix loki&elastic naming conflict ( #57268 )
2022-10-20 07:49:52 +00:00
Gábor Farkas
0491c19712
elastic: backend-mode: fix trimEdges functionality ( #56985 )
2022-10-19 10:40:42 +02:00
Gábor Farkas
2815343ee5
logs: handle mixed datasources in filters ( #56560 )
...
* logs: handle mixed datasources in filters
* removed unnecessary special handling
* added explanation comment
* more consistent type-handling
2022-10-18 09:27:17 +02:00
Gábor Farkas
5a0d90b104
logs: refactor: remove unused param "index" ( #56543 )
2022-10-13 10:04:51 +02:00
Gábor Farkas
3a76c7aac3
grafana-ui: removed obsolete test that cause jest warnings ( #56444 )
2022-10-06 11:35:21 +00:00
Gábor Farkas
3f4bf76324
cloudwatch-logs: use not-deprecated version of type ( #56239 )
2022-10-05 08:47:57 +02:00
Gábor Farkas
291276e767
elasticsearch: improved types in the typescript files ( #56293 )
2022-10-04 15:08:57 +02:00
Gábor Farkas
3fb104209f
explore: logs volume histogram: anchor graph to zero ( #56200 )
2022-10-04 13:54:39 +02:00
Gábor Farkas
3c1de8750c
GrafanaData: Deprecate the LogsParser type ( #56242 )
...
* added copy of code to main-grafana
* grafana-data: add depreceted-notice
2022-10-04 11:25:22 +02:00
Gábor Farkas
a069a01853
grafana-data: logs: add deprecated-info ( #56077 )
2022-09-30 14:22:04 +02:00
Gábor Farkas
d2601003cf
Logs: move logs-functions from grafana-data to grafana-main ( #55457 )
...
* logs: move utils from grafana-data to grafana
* logs: adjust imports
* updated betterer checksum file
2022-09-30 12:16:47 +02:00
Gábor Farkas
d1375d31cd
devenv: loki: remove unused devenv-config ( #55752 )
...
* devenv: jaeger: add it's own copy of promtail-config
* devenv: removed unused loki config
2022-09-27 11:58:08 +02:00
Gábor Farkas and Giordano Ricci
d8b4f776aa
Logs: Allow collapsing the logs volume histogram ( #52808 )
...
* logs: Allow disabling the logs volume histogram
* removed unnecessary code
* refactor: adjusted prop-name
* refactor: simplified code
* refactor: more readable code
* refactor: better naming
* refactor: better naming
* only unsubscribe when disabling the UI
* revert visual change
* re-apply visual change
This reverts commit 7fda5c197f .
* smoother transition
* adjusted visual
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
* logs: top-gap reduced
* added feature tracking
* removed not-working feature-tracking property
* lint fix
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
2022-09-26 14:28:12 +02:00
Gábor Farkas
2efd7fa481
Elasticsearch: Reuse http client in the backend ( #55172 )
...
* elastic: backend: reuse http client
* fixed lint error
2022-09-26 14:27:46 +02:00
Gábor Farkas
3a545007ca
elastic: devenv: add nested objects to data generator ( #55482 )
2022-09-21 11:34:49 +02:00
Gábor Farkas
323ca6825a
devenv: removed obsolete elastic docker configs ( #55402 )
2022-09-20 10:16:28 +02:00
Gábor Farkas
5efeff4890
GrafanaUI: Deprecate logs components ( #55364 )
...
* grafana-ui: mark logs-components deprecated
* improved deprecation-message
2022-09-19 13:21:14 +02:00
Gábor Farkas
1ee6a1f7c2
Logs: move logs-components from grafana-ui to grafana-main ( #55041 )
...
* logs: added a copy of the grafana-ui logs-files
* fix: added the ansicolor package to the main grafana package
* logs-components: import things from grafana-ui
* import from local files
* logs-components: other fixes
* add betterer-exceptions
* apply updates from grafana-ui package
2022-09-19 10:51:46 +02:00
Gábor Farkas
6dcc8534f7
elastic: simplify unit test ( #55168 )
2022-09-14 08:59:35 -04:00
Gábor Farkas
5388dc6a2f
devenv: elastic: new version ( #54841 )
2022-09-12 11:48:39 +02:00
Gábor Farkas
7c4c2fb341
codeowners: assign logs-devenvs to logs-squad ( #54842 )
2022-09-12 09:41:08 +02:00
Gábor Farkas
687b0b1726
elastic: explain why moving_avg is 7.x only ( #54840 )
2022-09-07 14:31:11 +02:00
Gábor Farkas
a58edc9f5e
elastic: always use millisecond-intervals for alerting ( #54157 )
2022-08-26 14:40:28 +02:00
Gábor Farkas
448a67ab43
elastic: use millisecond-intervals ( #54202 )
2022-08-26 08:56:39 +02:00
Gábor Farkas
89d264fecc
logs: better names and comments ( #53770 )
...
* logs: better names and comments
* comment: updated capitalization
2022-08-25 12:49:35 +02:00
Gábor Farkas
60d1668d74
Elasticsearch: Respect time range in ad hoc filters ( #53874 )
...
* elastic: respect time range in ad hoc filters
* added unit test
2022-08-25 09:29:15 +02:00
Gábor Farkas
35253a909d
Elasticsearch: remove already-disabled code ( #52932 )
...
* elastic: removed unused code from go-part
* elastic: removed unused code from js-part
2022-08-22 16:25:20 +02:00
Gábor Farkas
395e443932
loki: Fix adding refId to rowId ( #53932 )
2022-08-22 13:09:33 +02:00
Gábor Farkas
6fe2d4724a
devenv: elastic: update to new version ( #53825 )
2022-08-17 15:02:00 +02:00
Gábor Farkas
549f963366
codeowners: adjust logs ownership ( #53771 )
2022-08-16 07:29:30 -04:00
Gábor Farkas
ba76f9b580
elastic: eliminate react warning ( #52934 )
2022-07-29 12:24:33 +00:00
Gábor Farkas
52989c2144
loki: remove unused code ( #52435 )
2022-07-27 06:11:09 +00:00
Gábor Farkas
7d78d3f8b2
CODEOWNERS: update for the observability-logs squad ( #52792 )
2022-07-26 15:51:15 +00:00
Gábor Farkas
c74f9daba0
logs: better volume-color ( #52711 )
2022-07-26 10:50:48 +02:00
Gábor Farkas
b42ac8a211
github: add issues to logs-squad based on labels ( #52533 )
2022-07-20 10:01:02 -04:00
Gábor Farkas
46eec85b1a
loki: better handle an empty-response ( #52397 )
2022-07-19 08:13:38 +02:00
Gábor Farkas
1d3cd0103e
logs: send more info to getLogRowContext ( #52130 )
2022-07-15 14:02:43 +00:00
Gábor Farkas
df9f86190f
devenv: influxdb: fix config ( #51781 )
2022-07-06 11:58:17 +02:00
Gábor Farkas
bf824221d2
renovate: add more default-labels ( #51373 )
2022-06-24 10:59:06 +00:00
Gábor Farkas
48a258f515
loki: no histogram for instant queries ( #50711 )
2022-06-20 11:31:36 +02:00
Gábor Farkas
fd63ed540f
loki: fix bug in labels framing ( #51015 )
2022-06-17 12:50:10 +02:00
Gábor Farkas
a22e9a0e0a
logs: merge log-lines-based and full-range histogram ( #50507 )
...
* logs: merge old-histogram and new-histogram
* better variable names
* better names
* refactor
* refactor
* refactor
* logs: remove log-volume-loading indicator
2022-06-17 11:42:46 +02:00
Gábor Farkas
109bc7e940
loki: add type=instant tests ( #51007 )
2022-06-17 09:47:49 +02:00
Gábor Farkas
ccc587dc0f
Loki: Handle data source configs with path in the url ( #50971 )
...
* loki: fixed param-name
* loki: handle datasource configs with path in the url
* lint fix
2022-06-17 07:47:31 +02:00
Gábor Farkas and Ivana Huckova
a97f022612
Loki: Handle invalid query type values ( #50755 )
...
* loki: more robust query-type handling
* better comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-06-14 11:48:49 +02:00
Gábor Farkas
b6a590e535
do not update react-redux ( #50700 )
2022-06-14 08:39:21 +02:00
Gábor Farkas
d872aa993d
logs: better hasLogsVolumeSupport check ( #50676 )
2022-06-13 17:20:57 +02:00
Gábor Farkas
a2eb4e85e5
elasticsearch: always use fixed_interval ( #50297 )
2022-06-13 10:28:29 +02:00
Gábor Farkas
8fd9cb4854
loki: add feature-toggle check to live-mode ( #49012 )
2022-06-13 08:33:46 +02:00
Gábor Farkas
a0e5a4eba2
logs: histogram: handle backend-mode queries ( #50535 )
2022-06-13 08:33:28 +02:00
Gábor Farkas and Ivana Huckova
c412a3b052
logs: track the usage of certain features ( #50325 )
...
* logs: track the usage of certain features
* Add report interaction for logs interactions
* mock reportInteraction in test
* mock reportInteraction
Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com >
2022-06-09 15:53:23 +02:00
Gábor Farkas
3b745b597f
loki: rename result_transformer* to live_streams_result_transformer* ( #50376 )
2022-06-08 13:28:48 +00:00
Gábor Farkas
130bd26edd
loki: better error message when escaping is involved ( #50352 )
2022-06-08 15:27:58 +02:00
Gábor Farkas
50145e1617
Loki: remove frontend mode code ( #50185 )
...
* feature-flag removed
* loki: remove frontend-mode
2022-06-08 08:14:34 +02:00
Gábor Farkas
cbfac157fb
Logs: handle clicks on legend labels in histogram ( #49931 )
...
* logs: move new-histogram next to old-histogram
* logs: handle legend-click in new-histogram
* minor visual change
2022-06-07 14:27:32 +02:00
Gábor Farkas
19df6d52b7
docs: describe cookie handling in backend data source plugins ( #49986 )
...
* docs: describe cookie handling in backend data source plugins
* adjusted text
2022-06-07 12:58:46 +02:00
Gábor Farkas and Joey Tawadrous
cb96f51c73
Loki: remove angular ( #49471 )
...
* loki: remove angular
Co-Authored-By: Joey Tawadrous <joey.tawadrous@grafana.com >
* better backward-compatibility
* slightly better typescript check
Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com >
2022-06-07 12:41:16 +02:00
Gábor Farkas
113e601dcf
devenv: elastic: fixed docker-compose syntax ( #49517 )
2022-06-07 11:04:27 +02:00
Gábor Farkas
f8eb3c8720
Revert "Loki: do not produce histogram for instant queries ( #50019 )" ( #50182 )
...
This reverts commit b0925ed4ee .
2022-06-06 08:57:36 +02:00
Gábor Farkas
6011c373ae
loki: handle ad hoc filters in backend mode ( #50135 )
...
* loki: handle ad hoc filters in backend mode
* devenv: better loki fake data
* added test
2022-06-03 10:53:03 +02:00
Gábor Farkas
46d6573968
loki: add cookie-handling functionality ( #49978 )
2022-06-02 11:52:27 +02:00
Gábor Farkas
b0925ed4ee
Loki: do not produce histogram for instant queries ( #50019 )
...
* loki: no histogram for instant queries
* added test
2022-06-02 09:13:57 +00:00
Gábor Farkas
52c775368b
devenv: loki: better fake logs ( #50024 )
...
* devenv: loki: more log-levels
* devenv: loki: logfmt mode
2022-06-02 10:23:26 +02:00
Gábor Farkas and Ivana Huckova
386181cf45
Loki code editor: do not run query on blur in explore mode ( #49241 )
...
* loki code editor: do not run query on blur in explore mode
* loki: code editor: better change tracking
* fixed comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-05-26 15:03:36 +02:00
Gábor Farkas
b54817033a
loki: better unpack handling ( #49074 )
2022-05-26 11:26:20 +02:00
Gábor Farkas
514d1bbbdd
loki: added two new functions ( #49617 )
2022-05-26 10:23:28 +02:00
Gábor Farkas
ebc20849bd
devenv: better loki environment ( #49383 )
...
* devenv: rename loki to loki-promtail
* devenv: new loki devenv entry with fake data generation
2022-05-25 11:01:17 +02:00
Gábor Farkas
313d203a87
loki: enable by default backend mode ( #49326 )
2022-05-21 17:01:57 +02:00
Gábor Farkas
0caeaaafe3
loki: add back frontend-mode metadata queries ( #49297 )
2022-05-21 16:46:39 +02:00
Gábor Farkas
93e299305c
loki: backend-mode: apply default max-lines if not set in the UI ( #48859 )
2022-05-21 16:39:21 +02:00
Gábor Farkas
c980655f08
elastic: config: hide access-mode selector when not needed ( #49246 )
2022-05-20 17:42:12 +02:00
Gábor Farkas
061055fac9
loki: dataframes: do not set field.config.DisplayName ( #49317 )
2022-05-20 17:27:49 +02:00
Gábor Farkas
0355772e36
loki: do not use backend-mode when keepCookies is used ( #49222 )
2022-05-19 14:26:54 +02:00
Gábor Farkas
78e22aac59
loki: backend: better error-handling-tests ( #49213 )
2022-05-19 14:26:40 +02:00
Gábor Farkas
a3c5834594
Elastic: devenv: improved devenv-image ( #49002 )
...
* devenv: elastic: improved config
* better ascii-codes
2022-05-19 08:29:23 +02:00
Gábor Farkas and brendamuir
45d6d38183
Elasticsearch: Remove browser access mode ( #49014 )
...
* elastic: remove browser-access-mode
* improved text
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* improved text
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* better text
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* better text
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* better text
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* prettier fixes
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2022-05-18 11:04:47 +02:00
Gábor Farkas
683c1c0f40
logs: use explicit frame-type-check ( #48940 )
2022-05-16 13:38:05 +02:00
Gábor Farkas
d73bd617f0
devenv: elastic: removed unsupported versions, first step ( #48960 )
2022-05-16 06:34:38 +00:00
Gábor Farkas
f866165445
loki: backend: add error-prop if loki parse error happened ( #48860 )
2022-05-16 08:29:46 +02:00
Gábor Farkas
8b9419222a
loki: backend-mode: fix experimental stream-mode ( #48936 )
2022-05-16 08:28:41 +02:00
Gábor Farkas
44e7602ad2
loki: backend-mode: add "limit" dataframe meta attribute ( #48894 )
2022-05-12 06:56:09 +00:00