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
Gábor Farkas
a15c2021fe
Loki: improve backend-compatibility ( #47579 )
...
* loki: annotation queries: make them ready for the backend-mode
* removed unused code
2022-04-12 18:23:19 +02:00
Gábor Farkas and Ivana Huckova
d95468a4bb
Loki: use millisecond-steps ( #47572 )
...
* loki: use millisecond-steps
* better comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* better comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-04-12 12:30:39 +02:00
Gábor Farkas
8db35b9b0b
loki: backend-mode: allow for dashboards too ( #47578 )
2022-04-12 12:16:05 +02:00
Gábor Farkas
eca61e6dd7
loki: removed unused fields, params, attributes ( #47571 )
...
* loki: refactor: removed unused param
* loki: removed unused attribute
* loki: removed unused fields
* loki: remove unused query.format
* loki: removed unused prop
2022-04-12 12:09:47 +02:00
Gábor Farkas
68511e7712
loki: use single-dataframe format on the backend ( #47069 )
2022-04-12 11:58:48 +02:00
Gábor Farkas
beed3fd5de
loki: remove unused reverse-attribute ( #47494 )
2022-04-08 12:24:09 +03:00
Gábor Farkas
9574f447bb
grafana-data: removed DataQueryRequest.reverse ( #47487 )
2022-04-08 12:00:16 +03:00
Gábor Farkas
e1438990ae
Loki: use the same dataframe-format for both live and normal queries ( #47153 )
...
* loki: use single dataframe-format for both live and normal queries
* better comment
* better function-name
* simplified code
* logs_model: added test
2022-04-08 09:57:06 +02:00
Gábor Farkas
6e0826a986
loki: do not convert NaN to null ( #45389 )
2022-04-07 09:44:04 +02:00
Gábor Farkas
96987ac182
loki: add test to handle __name__ ( #47298 )
2022-04-05 11:56:54 +02:00
Gábor Farkas and Ivana Huckova
fdb7bab41a
Loki: do not special-case __name__ label ( #47251 )
...
* loki: do not mutate the caller's data
* Update public/app/plugins/datasource/loki/result_transformer.ts
better comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* Update public/app/plugins/datasource/loki/result_transformer.ts
no need to handle __name__
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* simplify code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-04-04 13:52:55 +02:00
Gábor Farkas
a246381879
loki: backend-mode: add stats support ( #46526 )
...
* loki: backend-mode: add stats support
* refactor: rename variable
2022-03-31 17:50:27 +02:00
Gábor Farkas
2d61022d93
logs: better handle missing fields ( #46963 )
2022-03-31 10:48:03 +02:00
Gábor Farkas
890a7cdd7c
loki: add id-field ( #46519 )
...
* loki: add id-field
* fixed test
2022-03-21 09:15:52 +01:00
Gábor Farkas
c4404982dc
loki: backend-mode: add nanosecond-timestamps ( #45963 )
2022-03-04 09:42:18 +01:00
Gábor Farkas
525ecab3ee
renovate: stop updating "@mdx-js/react" ( #45909 )
...
it is a peer-dependency of "@storybook/addon-docs" with version 1.x, the new version is 2.x. we should update them together.
2022-02-25 15:30:23 +01:00
Gábor Farkas
f0f43e4635
loki:devenv: better config name ( #45906 )
2022-02-25 13:32:24 +01:00
Gábor Farkas
7152deb92f
loki: log-volume: improved documentation ( #45823 )
...
* loki: log-volume: improved documentation
* spelling fixes
2022-02-25 10:36:56 +01:00
Gábor Farkas and Ivana Huckova
1cad35ea67
loki: backend mode: support all query types ( #45619 )
...
* loki: backend mode: support all query types
* loki: backend: adjust vector-parsing field-names
* loki: backend: no interval for streams-dataframes
* loki: backend: enable more query types
* better variable name
* removed unnecessary code
* improve frame-processing
* more unit tests
* improved code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* remove unused code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* simplify code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* lint fix
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-02-25 09:14:17 +01:00
Gábor Farkas
9a87755c3e
renovate: do not update the "commander" package ( #45839 )
2022-02-24 16:59:48 +01:00
Gábor Farkas
85af6d2718
renovate: do not update monaco-editor ( #45762 )
...
* renovate: do not update monaco-editor
* renovate: alphabetically sort the entries
2022-02-24 12:06:53 +01:00
Gábor Farkas
78c35e6000
cloudwatch: use monaco from grafana-ui ( #45597 )
2022-02-18 17:14:14 +01:00
Gábor Farkas and Ivana Huckova
5d704fd46e
Loki: backend: use custom http code ( #44643 )
...
* Loki: backend: use custom http code
* simplfied 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-18 14:35:39 +01:00
Gábor Farkas and Piotr Jamróz
dd9b52fd41
log-volume: adjust request-id to avoid conflicts ( #45511 )
...
* log-volume: adjust request-id to avoid conflicts
* added unit test
* simplify test
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
* added missing import
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2022-02-18 12:05:29 +01:00
Gábor Farkas
a612087c63
loki: remove fullRangeLogsVolume feature flag ( #45286 )
2022-02-15 09:05:03 +01:00
Gábor Farkas
59c5f14a59
loki: handle parsing infinity in loki response ( #45097 )
2022-02-11 14:28:11 +01:00
Gábor Farkas
29d48a503c
loki: add logs-volume documentation ( #45283 )
2022-02-11 12:06:02 +01:00
Gábor Farkas and Ryan McKinley
4a7cc3e0f0
loki: enable-by-default the full-range-logs-volume feature (try2) ( #45246 )
...
* loki: enable-by-default the full-range-logs-volume feature
* add explanation comment
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
* fixed invalid code
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2022-02-11 11:28:27 +01:00
Gábor Farkas
96ae44ee2c
loki: alerting: do not round timestamps to seconds ( #45057 )
2022-02-10 12:53:46 +01:00
Gábor Farkas
2c0030b1b4
logs-volume: remove custom timeout ( #45041 )
...
* logs-volume: remove custom timeout
* make error message a little better
2022-02-08 15:39:09 +01:00
Gábor Farkas and Joey Tawadrous
9c2dd505ff
github: add issues to observability squad projects ( #44992 )
...
* github: add issues to observability squad projects
* Added new actions
Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com >
2022-02-07 17:23:58 +01:00
Gábor Farkas
d9d1f8520e
loki: backend-queries: set interval-value in dataframe ( #44965 )
...
* loki: backend-queries: set interval-value in dataframe
* fixed unit test
* added interval-specific unit test
2022-02-07 13:02:04 +01:00
Gábor Farkas
560c773905
loki: run some queries through the backend ( #44729 )
2022-02-07 08:43:48 +01:00
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