Gábor Farkas
f76d634ac6
devenv: loki: generate timestamps with various precision ( #64509 )
2023-03-10 15:09:59 +00:00
Gábor Farkas
3cbeace0ca
logs: dedup strategy: fixed order ( #64404 )
2023-03-09 13:01:49 +01:00
Gábor Farkas
7aca818aae
feature flags: assign flags to observability-logs squad ( #64380 )
2023-03-08 07:42:47 -05:00
Gábor Farkas
192308aac7
loki: query splitting: better stats ( #64105 )
2023-03-03 04:58:28 -05:00
Gábor Farkas
fdc4973b77
loki: query chunking: consider refId when merging frames ( #64103 )
2023-03-03 10:06:25 +01:00
Gábor Farkas
6cee0cdbad
elastic: remove most of xpack ( #63460 )
...
elasticsearch: do not show the xpack toggle in datasource config
2023-02-24 07:24:31 +00:00
Gábor Farkas
f925a989d3
elasticsearch: metrics rate and top_metrics do not need xpack ( #63457 )
2023-02-22 14:36:15 +01:00
Gábor Farkas
b069fd81b2
loki: query splitting: more robust check ( #63542 )
2023-02-22 09:16:05 +01:00
Gábor Farkas
8f7b980c95
Loki: query splitting: handle stats ( #63436 )
...
* loki: query splitting: handle stats
* update tests
2023-02-20 13:55:56 +00:00
Gábor Farkas
7a8f1ab566
loki: query splitting: stricter types ( #63387 )
2023-02-17 19:43:08 +01:00
Gábor Farkas
0ee9d11a91
loki: query splitting: better canceling ( #63315 )
...
loki: query splitting: better cancelling
2023-02-13 17:52:30 +01:00
Gábor Farkas
27d70819cc
loki: query splitting: split logs queries ( #63091 )
...
* loki: calculate logs-chunk-boundaries
* renamed function
2023-02-10 12:01:33 +01:00
Gábor Farkas
117bff6459
loki: devenv: improved fake data generator ( #63237 )
2023-02-10 03:43:42 -05:00
48a374f50b
loki: implement schema for loki query ( #62114 )
...
* loki: implement schema for loki query
* removed forgotten code
* better types
* adjust cue-maturity-level
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* sync docs to schema change
* removed forgotten go code
* updated schema docs
Co-authored-by: J Stickler <julie.stickler@grafana.com >
* updated schema docs
Co-authored-by: J Stickler <julie.stickler@grafana.com >
* update schema docs
Co-authored-by: J Stickler <julie.stickler@grafana.com >
* update schema docs
Co-authored-by: J Stickler <julie.stickler@grafana.com >
* updated schema docs
Co-authored-by: J Stickler <julie.stickler@grafana.com >
* updated schema docs
* add documentation to the resolution field
* move direction-field to schema
* loki: cue: moved deprecated fields to the bottom
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
Co-authored-by: J Stickler <julie.stickler@grafana.com >
2023-02-02 16:18:30 +00:00
Gábor Farkas
d9fd807375
Elasticsearch: Fix consistent label order in alerting ( #62497 )
...
elasticsearch: backend: sort label-values
2023-02-02 09:03:18 +01:00
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