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
Gábor Farkas
270e38cfcf
loki: backend-mode: handle derived fields ( #48873 )
2022-05-11 09:29:04 +02:00
Gábor Farkas
7b9929fffe
loki: framing_test: more infinity/nan test cases ( #48855 )
2022-05-09 11:47:50 +00:00
Gábor Farkas
66a0916d00
Transformers: mark extract-fields transform as stable ( #48810 )
2022-05-06 07:21:59 -07:00
Gábor Farkas
c4edab884e
logs: simpler nanoscecond timestamp handling ( #48773 )
2022-05-06 10:55:12 +02:00
Gábor Farkas and Todd Treece
da74dba7c8
Loki: backend: use streaming JSON parser, try2 ( #48752 )
...
* converter: remove __name__ customization because Loki does not do that
Loki does not handle __name__ in a special way.
for Prometheus, the caller can implement the formatting
by themselves
* converter: change labels-formatting
the labels.String() method does not handle strange values well
* loki: backend: use streaming-json parser
* more idiomatic code
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
* simpler row-length check
* simpler code
* fixed converter/prom tests
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
2022-05-05 13:09:01 +02:00
Gábor Farkas
02aa1cd1c5
loki backend mode forward-oauth ( #48401 )
...
* loki: backend: add forward oauth credentials functionality
* removed obsolete comment
2022-05-05 12:42:50 +02:00
Gábor Farkas
3cade2f669
Revert "Loki: backend: use streaming JSON parser ( #47656 )" ( #48747 )
...
This reverts commit 46b40b6e82 .
2022-05-05 12:02:53 +02:00
Gábor Farkas
60cabaea0a
loki: use metadataRequest in testDatasource ( #48431 )
2022-05-05 09:43:36 +02:00
Gábor Farkas and Todd Treece
46b40b6e82
Loki: backend: use streaming JSON parser ( #47656 )
...
* converter: remove __name__ customization because Loki does not do that
Loki does not handle __name__ in a special way.
for Prometheus, the caller can implement the formatting
by themselves
* converter: change labels-formatting
the labels.String() method does not handle strange values well
* loki: backend: use streaming-json parser
* more idiomatic code
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
* simpler row-length check
* simpler code
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
2022-05-05 08:47:40 +02:00
Gábor Farkas
b0f41b9772
update latest.json to 8.5.2 ( #48690 )
2022-05-04 12:10:54 +02:00
Gábor Farkas
7d369a1dea
Loki: backend: use json-field ( #48486 )
...
* fixed strings
* loki: backend: use json-field
2022-05-03 08:03:25 +02:00
Gábor Farkas
62cd722726
Loki: minor backend-dataframe-format changes ( #48320 )
...
* loki: backend: better dataframe field names
* loki: backend: add dataframe-type to metric dataframes
* loki: backend: only add stats to the first metric dataframe
2022-04-29 09:04:37 +02:00
Gábor Farkas
ae926c2144
loki: better resource-call urls ( #48250 )
2022-04-28 14:28:57 +02:00
Gábor Farkas
c73b9d1818
Loki: do not use the old labels-api ( #48185 )
...
* loki: do not use old labels-api
* adjust allowed-url-list
* fixed tests
2022-04-26 11:51:26 +02:00
Gábor Farkas
d8a754c4a0
loki: send metadata requests through backend ( #48063 )
2022-04-25 13:16:14 +02:00
Gábor Farkas
f2814046d1
loki: logrowcontext: explicitly name fields ( #48043 )
2022-04-22 08:43:33 +02:00
Gábor Farkas and Ivana Huckova
79c06fdddc
Loki: add backend-forward mode to queries, update log-row-context ( #47726 )
...
* loki: add helper function to sort dataframe by time
* loki: add direction-attribute to queries
* loki: make log-row-context code backward-compatible
* better comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* fixed test
* simplified code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-04-20 13:52:15 +02:00