Commit Graph
100 Commits
Author SHA1 Message Date
Ryan McKinley 6d87b26d6c OptionsUI: add standard field name picker (#36732) 2021-07-14 11:54:58 -07:00
Ryan McKinleyandMarcus Andersson 92801d5fa1 Transformations: add 'prepare time series' transformer (#36737)
* adding transformer that will stretch a data frame from wide to long.

* added a UI for the stretch frames transformer.

* refactored according to feedback.

* removed unused dep.

* making sure it is being displayed.

* minor adjustments.

* move stretch to prepare

* improved readability of tests.

* refactored to use a function component syntax.

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2021-07-14 11:24:12 +02:00
Ryan McKinley cbda218a14 Geomap: rename "circles" layer to "markers" layer (#36727) 2021-07-13 13:45:12 -07:00
Ryan McKinley db5597ab9a DataLinks: support 'onClick' from table panels (#36682) 2021-07-13 09:43:39 -07:00
Ryan McKinley 9ce6e2a664 Geomap: add initial openlayers alpha panel (#36188) 2021-07-09 17:53:07 +02:00
Ryan McKinley 44afe4a597 Testdata: generate data that can link to USA state codes (#36537) 2021-07-09 08:02:57 -07:00
Ryan McKinley 92dc6aed3f Dev: include vscode launcher / debugger (#36360) 2021-07-07 00:05:30 -07:00
Ryan McKinley 3a6ec01c05 Dashboards: load dashboards from a data source (#36366) 2021-07-05 15:35:10 -07:00
Ryan McKinley ab2f6fe24c Live: attach stream info to streaming frames (#35465) 2021-06-28 14:57:10 -07:00
Ryan McKinley b361921bb2 Live: support tempate variables in query (#36193) 2021-06-28 22:27:03 +02:00
Ryan McKinley 429e2d0ab2 StreamingDataFrame: skip empty labels (#36047) 2021-06-28 13:00:32 -07:00
Ryan McKinley 035eec1502 Testdata: use UTC time and circle alcatraz for streaming flight sample 2021-06-27 10:17:01 -07:00
Ryan McKinley 8ad9834019 TestData: add simple scenario with GPS and altitude coordinates (#36011) 2021-06-22 14:19:29 -07:00
Ryan McKinley 970481bdec Matchers: support both name and display name (#35466) 2021-06-22 09:25:21 +02:00
1d6e99bc95 SQL: Fixes issues with showing value column name prefix in legends (#35839)
* rename strategy

* Update pkg/tsdb/sqleng/sql_engine.go

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>

* more strict constraints

* Fixed so that it works on multi series results

* only apply the logic when original query returns 3 fields

* removed part of comment

* Update mysql test

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-06-18 08:05:23 +02:00
Ryan McKinley 056e17216e Stat: improve color mode migration from singlestat panels (#35538) 2021-06-11 18:03:30 +02:00
Ryan McKinley 4b8d796c54 Live: avoid panic when type changes (#35394) 2021-06-09 11:15:42 -07:00
Ryan McKinley 78d53c5e3d Live: only connect when user has a role (#35339) 2021-06-08 14:00:24 -07:00
Ryan McKinley 351400b82e Panels: avoid crash while switching between panels types (#35286) 2021-06-04 12:11:04 -07:00
Ryan McKinley 99a6337e1f Histogram: support units on the x axis (#35218) 2021-06-04 10:42:53 -07:00
Ryan McKinley e1af571efd Timeseries: move join field to index zero (#35217) 2021-06-03 16:05:08 -07:00
Ryan McKinley a9b5aa1088 State-timeline: support migrating from discrete panel (#35071) 2021-06-02 12:18:20 -07:00
Ryan McKinley f7893ca5cf Live: fix field filtering and survive reconnect (#35122) 2021-06-02 12:12:48 -07:00
Ryan McKinleyandLeon Sorokin 744ca8d439 FieldDisplay: add cache to reuse field value calculations (#35072)
* add timeline value cache

* add timeline value cache

* with console logs

* cleanup

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-06-02 11:01:23 -07:00
Ryan McKinley 4972e0f6a1 Rename: Status grid to history (#34864) 2021-05-29 20:24:14 +02:00
Ryan McKinley e1088e9360 Stat: don't show sparkline if y field is not number (#34857) 2021-05-28 00:32:20 +02:00
Ryan McKinley 67028af99e Live: check schema equality between push messages (#34548) 2021-05-27 12:55:42 +03:00
Ryan McKinley 11b2f0ee4d Timeline: use full row height with one series (#34532) 2021-05-20 16:03:23 -07:00
a91edd7267 Plugin Admin App: make the catalog look like internal component (#34341)
* Allow Route component usage in app plugins

* i tried

* fix catalog app

* fix catalog app

* fix catalog app

* cleanup imports

* plugin catalog enabled to plugin admin

* rename plugin catalog to plugin admin

* expose catalog url

* update text

* import from react-router-dom

* fix imports -- add logging

* merge changes

* avoid onNavUpdate

* Fixed onNavChange issues

* fix library imports

* more links

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-05-20 10:42:26 +02:00
Ryan McKinley a9c0b08ac3 show warning when too many points in status grid (#34456) 2021-05-19 23:46:39 -07:00
Ryan McKinley 2f58cc860c Live: logging cleanup (#34455) 2021-05-19 22:57:49 -07:00
Ryan McKinley 40139a7ea9 PanelQueryRunner: only skip applyFieldOverrides when streaming (#34438) 2021-05-19 22:00:00 -07:00
Ryan McKinley b02403e3fc TestData: use new format for random walk example (#34441) 2021-05-19 21:59:43 -07:00
Ryan McKinley 8147a65b5e Histogram: move histogram from alpha to beta panel (#34246)
* add legend

* tooltip off-by-one

* units in x axis

* update function call

* remove tooltip
2021-05-19 17:13:17 -07:00
Ryan McKinley 22043d7872 Chore: improve the "Actual" size calculation (#34345) 2021-05-19 08:42:45 -07:00
Ryan McKinley 855da80542 Panel Inspect: allow plugins to add custom actions to the panel inspect popup (#34086) 2021-05-18 13:55:35 -07:00
Ryan McKinley 18954aaa7b Live: broadcast first event immediately (#34310) 2021-05-18 11:19:19 -07:00
Ryan McKinley 0b44182bbf SDK: update plugin sdk (#34251) 2021-05-18 18:45:46 +02:00
Ryan McKinley de5cd4a7d3 Timeline: split "periodic" mode into its own panel (#34171) 2021-05-17 13:00:04 -07:00
Ryan McKinley eba6f66fba FieldDisplay: remove auto min/max for percent units (#34234) 2021-05-17 10:54:06 -07:00
Ryan McKinley 7b32c5439b Timeseries: support boolean values out-of-the-box (#34168) 2021-05-17 09:52:47 -07:00
Ryan McKinley edcefe1c8e Chore: Rename "marketplace" app to "catalog" (#34149) 2021-05-17 08:27:56 -07:00
Ryan McKinley 9e1f0e6957 Toolkit: update tslib (#34089) 2021-05-14 08:51:18 -07:00
Ryan McKinley 17750d3cdb Chore: support empty/missing strings (#34027) 2021-05-12 16:51:20 -07:00
Ryan McKinley ca8f6addab Colors: default colors for strings and boolean (#33965) 2021-05-12 08:40:43 -07:00
Ryan McKinley 5ef46a9428 Live: use the browser url to build websocket url, not appUrl (#33968) 2021-05-12 09:13:37 +02:00
Ryan McKinley a469fa8416 TestData: allow true and false strings as bool (#33889) 2021-05-10 22:29:46 -07:00
Ryan McKinley 81b8e6c13a Live: do not show connection warning when on the login page (#33865) 2021-05-10 22:32:45 +02:00
Ryan McKinley a5fda37d02 Timeline: move grafana/ui elements to the panel folder (#33803) 2021-05-10 09:34:42 -07:00
Ryan McKinleyandOscar Kilhed 95464e1bfb PieChart: move the pie chart component into the panel (#33800)
* move pie chart

* move pie chart

* Pass displayLabels to piechart

Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2021-05-10 11:50:25 +02:00
Ryan McKinley 1e6eb70af0 PanelEditor: leave table view when changing the other display modes (#33826) 2021-05-09 22:19:52 -07:00
Ryan McKinley ccc0f7fc22 DataSource: show the uid in edit url, not the local id (#33818) 2021-05-08 18:13:26 +02:00
Ryan McKinley 36fc37fd0e Toolkit: add deprecation notice to toolkit/ci commands (#33664) 2021-05-04 10:13:29 -07:00
Ryan McKinley 33e4f8d7ac Live: remove feature toggle and enable by default (#33654) 2021-05-04 08:44:55 -07:00
Ryan McKinley 6b0417207d VizLegend: move onSeriesColorChanged to PanelContext (breaking change) (#33611) 2021-05-03 08:23:17 -07:00
Ryan McKinley 528edcaec6 Live: expose publish on live interfaces (#33596) 2021-04-30 17:35:03 -07:00
Ryan McKinley 69f2a43063 EventBus: add origin to all events and support nested EventBus (#33548) 2021-04-30 22:33:29 +02:00
Ryan McKinley daa3175f1c Models: add cue spec for text, news, and dashlist panels (#32777) 2021-04-29 20:12:37 -07:00
Ryan McKinley 1cda7c5977 Live: show disconnection error banner when in dev mode (#33394) 2021-04-29 11:57:51 -07:00
Ryan McKinley 1f4154a50d QueryRunner: update frame length when skipping processing (#33508) 2021-04-28 15:13:04 -07:00
Ryan McKinleyandHugo Häggmark fac335ee7f JSON: make the dashboard JSON editor as big as possible (#33453)
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-04-28 09:52:26 +02:00
Ryan McKinley cdc6f4c2ac Chore: update icons with a json index (#33354) 2021-04-25 15:24:29 -07:00
Ryan McKinley 693915de35 Live: Simplify live interface (#33196) 2021-04-23 23:21:38 +02:00
Ryan McKinley 1dd9e9b184 Live: support a dashboard gitops channel (#33291) 2021-04-23 21:55:31 +02:00
Ryan McKinley 7499efeef8 Icons: fix iconRoot url (#33243) 2021-04-23 09:06:19 +02:00
Ryan McKinley 7627b55ef4 TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
Ryan McKinley e7fd30be17 PanelEdit: update configRev on close (#33240) 2021-04-22 07:23:51 -07:00
Ryan McKinley af46bbf654 LegendIcon: only render color picker when the props change (#33141) 2021-04-20 20:28:47 +02:00
Ryan McKinley 18bbbaf53e TestData: support boolean and strings in CSV metric response (#33099) 2021-04-20 11:17:06 -07:00
Ryan McKinley dff78561bc PanelData: include structure revision info and only apply overrides once (#33098)
* calculate schemaRevision in panel query runner

* schema > structureRev

* calculate revision after apply field overrides

* this.state

* don't apply field overrides if the shape is already the same

* check schema revision

* update snapshots
2021-04-20 11:05:50 +02:00
Ryan McKinley 5f54f2dc00 GraphNG: flip logic so we can explicitly say the field types to keep (#33140) 2021-04-19 17:45:10 -07:00
Ryan McKinley f93b05f506 PanelEdit: only update when config changes (#33133) 2021-04-19 19:24:39 +02:00
Ryan McKinley 0c64d88d64 Live: support legacy stream paths (#33101) 2021-04-19 00:47:14 -07:00
Ryan McKinley 98789e7ed9 MatcherUI: show field name even when not found in results (#33102) 2021-04-19 09:02:58 +02:00
Ryan McKinley b96e45299d Live: support streaming results out-of-the-box (#32821) 2021-04-09 21:17:22 +02:00
Ryan McKinley 7351645d63 Toolkit: catch errors in version output (#32774) 2021-04-08 09:28:46 +02:00
Ryan McKinley 4a924c5ace Panel Editor: avoid updates when schema is the same (#32668) 2021-04-04 22:13:34 -07:00
Ryan McKinleyandLeon Sorokin 455fbce020 Live: throttle messages when FPS decreases (#32627)
* throttle when FPS is low

* fix throttling

* grafanaStreamingPerfBudget

* grafanaStreamingPerfBudget

* change global strategy

* also throttle frontend

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-04-03 01:48:23 +02:00
Ryan McKinley 8ab223d79f Reducers: minor reducer cleanup (#32656) 2021-04-03 01:14:42 +02:00
Ryan McKinley d2afcdd415 Live: remove measurement controller (#32622) 2021-04-01 22:32:56 -07:00
Ryan McKinley f67489a1f6 Chore: update centrifuge import (avoid protobuf) (#32616) 2021-04-01 21:47:04 +02:00
Ryan McKinley c7ea96940a Arrow: move arrow support from frontend to backend only (#32575) 2021-04-01 10:30:08 -07:00
Ryan McKinley dc791c4121 Chore: update caniuse (#32569) 2021-03-31 22:16:56 +02:00
Ryan McKinley 1446d094b8 API: return query results as JSON rather than base64 encoded Arrow (#32303) 2021-03-31 08:35:03 -07:00
Ryan McKinley f456c32f92 Chore: remove measurement.go (#32526) 2021-03-31 07:52:19 -07:00
Ryan McKinley 600f63f627 revert changes (#32335) 2021-03-25 22:10:29 -04:00
Ryan McKinley adda7c798a Chore: use uppercase names in manual entry scenario (#32334) 2021-03-26 00:18:17 +01:00
Ryan McKinley ea186947d2 Timeseries: add UI to control the span nulls threshold (#32222) 2021-03-25 05:32:03 +01:00
Ryan McKinley 7f1b9eafda Testdata: support null values in manual entry and return all data (#32276) 2021-03-24 08:45:43 +01:00
Ryan McKinley da987caa60 Debug panel: add a new alpha panel to help debugging (#32187) 2021-03-22 20:38:24 -07:00
Ryan McKinley 5bb1b1602d Live: use StreamingDataSource for live measurments (#31713) 2021-03-17 21:46:56 -07:00
Ryan McKinley 7552711660 Streaming: use StreamingDataFrame for testdata client streaming example (#31998) 2021-03-15 12:16:40 -07:00
Ryan McKinleyandErik Sundell 9dd1d5f553 Cloudwatch: use shared library for aws auth (#29550)
* use sdk for handling auth

* fix broken test

* lint fixes

Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
2021-03-12 14:30:21 +01:00
Ryan McKinley a61e636bcd DataFrameJSON: introduce a json format that supports same semantics as arrow (#31010) 2021-03-05 12:24:43 -08:00
Ryan McKinley f451695ea6 Grafana datasource: support multiple targets (#31495) 2021-02-25 22:50:15 -08:00
Ryan McKinley 95efd3e51d Chore: pad unknown values with undefined (#30808) 2021-02-04 16:24:06 -08:00
Ryan McKinley 11fa7c697e Transformers: add search to transform selection (#30854) 2021-02-04 12:23:05 -08:00
Ryan McKinley 3a343aa547 Chore: add more docs annotations (#30847) 2021-02-02 21:51:09 -08:00
Ryan McKinley c9c7bfbcaa Transforms: allow boolean in field calculations (#30802) 2021-02-02 12:41:58 -08:00
Ryan McKinley fcac59107c GraphNG: improve behavior when switching between solid/dash/dots (#30796) 2021-02-01 10:05:31 -08:00