Ryan McKinley
d6887bf77f
Plugins: Optionally preload some plugins during frontend app boot ( #15266 )
...
* auto load
* update comments
* gofmt
* use preload from json
* fix formatting
* change general plugin loader to app
* Refactoring: Plugin preloading #15266
2019-04-11 08:02:22 +02:00
Torkel Ödegaard
47e51cb6b3
Refactor: Plugin exports & data source / panel types ( #16364 )
...
* wip: began work off removing meta and pluginExports from DataSourceApi interface
* WIP: changing how plugins are exports and loaded
* Down the refactoring rabit hole that keeps expanding
* TestData now returns DataSourcePlugin
* Refactoring: fixed app config page loading, type renamings and more typings
* Refactor: Correct casing on DatasourceStatus => DataSourceStatus
2019-04-04 18:30:15 +02:00
Torkel Ödegaard
0d55141a2d
Panels: Refactoring how panel plugins sets hooks and components, #16166
2019-03-24 15:56:32 +01:00
Torkel Ödegaard
ac82fc03d9
Merge branch 'piechart-react' of https://github.com/CorpGlory/grafana into CorpGlory-piechart-react
2019-03-20 19:01:37 +01:00
ryan
985f057ab3
revert most options sharing
2019-03-14 13:20:24 -07:00
corpglory-dev
a550e5388a
Merge branch 'master' of https://github.com/grafana/grafana into piechart-react
2019-03-13 19:31:40 +03:00
Torkel Ödegaard
9e7d1f4275
Merge pull request #15466 from grafana/bar-gauge-poc
...
New Bar Gauge panel
2019-03-13 11:12:33 +01:00
Torkel Ödegaard
71159fb606
Merge remote-tracking branch 'origin/master' into bar-gauge-poc
2019-03-13 08:26:06 +01:00
ryan
90510b5ffb
Merge remote-tracking branch 'grafana/master' into alpha-react-virtualized-table
...
* grafana/master:
Fixed type issues introduced by adding angular types
Typescript noAny fixes, start of a long journey
Updated code stats collection
Updated path to new script
POC on collecting metrics in ci process
renamed default variables: s -> sm, m -> md, l -> lg
removed gf-form-margin variable and replaced with space- variables where it was used
heatmap: able to hide buckets with zero value #12080
s -> sm, m -> md, l -> lg
heatmap: fix prometheus buckets sorting, closes #15637
s -> sm, m -> md, l -> lg
removed headings-margin-bottom variable
remove kbn test
Added scopedVars argument in datasourceSrv.get in DataPanel
Refactoring of multi-value datasource PR #15812
fixed minor misstake with dashboard padding
removed -margin, replaced with new general variables
added new space variables to margins in AddPanelWidget, add_data_source, dashboard_settings and sidemenu
added new variables for spacing, set margins in _cards with new variables
Make datasource variables multiselect and dashboard repeatable
2019-03-12 09:04:20 -07:00
Torkel Ödegaard
aeb3553491
Added scopedVars argument in datasourceSrv.get in DataPanel
2019-03-11 18:36:49 +01:00
Torkel Ödegaard
bf72b26c2c
Refactoring of multi-value datasource PR #15812
2019-03-11 15:44:11 +01:00
Torkel Ödegaard
a8486806aa
Merge branch 'multiselect-repeatby-datasource' of https://github.com/jdoupe/grafana into jdoupe-multiselect-repeatby-datasource
2019-03-11 14:14:26 +01:00
corpglory-dev
7bc741c4e2
piechart -> pieChart
2019-03-08 13:51:25 +03:00
ryan
ea5db92996
Merge remote-tracking branch 'grafana/master' into alpha-react-table
...
* grafana/master:
Fixed styling of gicon's in dropdown menus
cleanup plugin versions
use explore icon
fix comments
typescript functions on replace
remove console.log
add ScopedVars to replace function
Expose onQueryChange to angular plugins
fix allow anonymous initial bind for ldap search
2019-03-06 00:59:27 -08:00
ryan
909d425008
cleanup plugin versions
2019-03-05 23:40:03 -08:00
Jeremy Doupe
3f27d3ea23
Make datasource variables multiselect and dashboard repeatable
...
closes #7492 (and #7030 )
2019-03-05 22:47:22 -06:00
ryan
f59ccdf59c
add a basic alpha react table
2019-03-05 16:07:46 -08:00
Peter Holmberg
58f194b483
Merge branch 'master' into bar-gauge-poc
2019-02-21 10:38:26 +01:00
corpglory-dev
77f848b56d
Merge branch 'master' of https://github.com/grafana/grafana into piechart-react
2019-02-19 21:27:22 +03:00
corpglory-dev
a053fb5908
Add piechart to builtInPlugins
2019-02-19 20:24:50 +03:00
Dominik Prokop
88a46e6dd4
Bump Prettier version ( #15532 )
...
* Fix prettier version to 1.16.4
2019-02-19 15:41:35 +01:00
Torkel Ödegaard
843f8b04d4
Began experimenting with a bar gauge
2019-02-15 12:55:35 +01:00
Torkel Ödegaard
cfea8bdcae
Prettier had not been running as a precommit hook for some time so had to run in on all files again
2019-02-13 11:14:53 +01:00
Torkel Ödegaard
a1453607a9
Changed noQueries to a dataFormats array that will allow a panel to define supported formats and prefered (first in array)
2019-02-12 16:05:29 +01:00
ijin08
0642c52693
created new color variables, changed primary to blue, changed success-btns to primary-btns.
2019-02-05 12:05:02 +01:00
Daniel Lee
a3e09d8bbc
azuremonitor: fixes merge conflict in yarn.lock
2019-01-29 15:35:43 +01:00
Johannes Schill
e448a140f5
chore: Fix typings and add Page-component to DataSourceDashboards #14762
2019-01-28 23:19:19 +01:00
Daniel Lee
e4f4cb814c
Merge branch 'master' into azure-monitor
2019-01-28 19:23:34 +01:00
Torkel Ödegaard
ecab597e5e
renaming DataSource type to DataSourceSettings and moved to grafana ui
2019-01-17 18:51:07 +01:00
Torkel Ödegaard
febb9e7168
Moved data source and data query types
2019-01-17 17:59:47 +01:00
Torkel Ödegaard
4fc9d794ca
Moved plugin types to @grafana/ui
2019-01-17 17:37:34 +01:00
Torkel Ödegaard
a201c76c5f
wip: moved plugin exports
2019-01-17 17:04:24 +01:00
Torkel Ödegaard
a6683dd90e
Merge branch 'master' into react-query-editor
2019-01-17 14:57:49 +01:00
Daniel Lee
dd96f2a522
azuremonitor: move files into grafana
...
Initial port of the code from the plugin - lots of small things to fix.
2019-01-17 10:55:03 +01:00
Johannes Schill
1dfabf498a
chore: Replace the deprecated SFC with FC
2019-01-17 09:27:43 +01:00
Johannes Schill
00646b80c6
chore: Reduce code duplication by letting the page component adding the header and taking care of the page title
2019-01-17 09:01:17 +01:00
Johannes Schill
234713466e
test: Update snapshots and mocks
2019-01-16 16:29:07 +01:00
Johannes Schill
feeb3ea56d
feat: Generate page titles from navModel
2019-01-16 16:03:15 +01:00
Johannes Schill
25304629bd
test: Updated snapshots
2019-01-16 16:03:15 +01:00
Johannes Schill
d426981d1d
fix: Add Pages component to Plugins and TeamList
2019-01-16 16:03:15 +01:00
Torkel Ödegaard
4bad76c0f4
Merge branch 'master' into react-query-editor
2019-01-16 12:23:25 +01:00
Torkel Ödegaard
33feb26fb5
WIP: good progress on react query editor support
2019-01-15 11:40:12 +01:00
Torkel Ödegaard
6b4dcb38ea
Restored http settings directive that was hidden in an unused angular controller page
2019-01-14 21:21:58 +01:00
Torkel Ödegaard
b9a3239edb
removed old unused angular stuff, rename
2019-01-14 15:01:47 +01:00
Simon Podlipsky
d42f821c87
Update rxjs
2018-12-27 20:37:44 +01:00
Torkel Ödegaard
98d26354c1
Added a form component to @grafana/ui
2018-12-25 11:42:23 +01:00
Torkel Ödegaard
2fec5c7577
Grafana ui lib is starting to work
2018-12-21 12:27:43 +01:00
Torkel Ödegaard
6e66b2b906
breaking up grafana into multiple packages poc
2018-12-20 16:56:46 +01:00
Torkel Ödegaard
f089c7ee5e
Grafana ui library poc
2018-12-20 09:25:04 +01:00
Peter Holmberg
a44a07593f
panel help working
2018-12-18 14:40:54 +01:00
Torkel Ödegaard
79933299c7
Merge branch 'develop' of github.com:grafana/grafana into develop
2018-12-07 15:09:09 +01:00
Torkel Ödegaard
eb6d0e9f51
Merge branch 'master' into develop
2018-12-07 14:59:38 +01:00
Erik Sundell
68c2d2631e
filter out build in datasources. add unit test
2018-12-07 14:11:40 +01:00
Johannes Schill
fadabd997a
Restore PluginEditCtrl accidently removed
2018-12-06 16:06:47 +01:00
Daniel Lee
721e1d7555
renames Grafana Logging ds to Loki
2018-12-06 00:42:31 +01:00
Torkel Ödegaard
ab33cfd7c8
minor css fixes
2018-12-03 03:31:55 -08:00
Erik Sundell
3d45b5ba73
make getAll return array instead of object
2018-11-30 09:48:59 +01:00
Erik Sundell
df75fb0e6d
remove obsolete test
2018-11-30 09:32:36 +01:00
Erik Sundell
3162dda088
remove explore check - make it possible to load all datasources
2018-11-29 10:46:50 +01:00
Erik Sundell
eaf9a0b39a
initial commit
2018-11-22 18:22:15 +01:00
Erik Sundell
a5947e820c
Merge branch 'master' into develop
2018-11-22 13:43:25 +01:00
Daniel Lee
4aeea56342
Merge pull request #14007 from grafana/stackdriver-template-query-editor
...
Stackdriver template query editor
2018-11-20 13:41:18 +01:00
Torkel Ödegaard
649d727805
Merge branch 'master' into develop
2018-11-20 09:47:23 +01:00
Torkel Ödegaard
f44e634da4
switch slider changes
2018-11-20 09:39:56 +01:00
Erik Sundell
0aeaec1ac6
stackdriver: add support for template variables
2018-11-19 14:44:40 +01:00
David
634d71a657
Merge pull request #14052 from grafana/davkal/explore-query-importer
...
Explore: POC for datasource query importers
2018-11-16 14:55:19 +00:00
David Kaltschmidt
411719bc70
Explore: POC for datasource query importers
...
Explore is about keeping context between datasources if possible. When
changing from metrics to logging, some of the filtering can be kept to
narrow down logging streams relevant to the metrics.
- adds `importQueries` function in language providers
- query import dependent on origin datasource
- implemented prometheus-to-logging import: keeping label selectors
that are common to both datasources
- added types
2018-11-16 13:52:58 +00:00
Alexander Zobnin
8c7f4ac188
fix datasource testing
2018-11-16 13:17:41 +03:00
Torkel Ödegaard
1eecda48f8
Moved query manipulations from metrics controller to metrics tab so they are more easily shared between angular and react panels
2018-11-14 14:40:03 +01:00
Erik Sundell
e698202fae
stackdriver: use new naming convention for query editor all over
2018-11-13 10:57:10 +01:00
Torkel Ödegaard
9820c7806c
some cleanup of unused stuff and type fixes
2018-11-13 08:09:12 +01:00
Torkel Ödegaard
9dbb0db684
completed work on panel not found view
2018-11-13 07:54:02 +01:00
Torkel Ödegaard
727efa5a03
Merge branch 'pane-edit-ux-tabs' into develop
2018-11-12 16:25:13 +01:00
Torkel Ödegaard
e0feb72637
Merge remote-tracking branch 'origin/data-source-settings-to-react' into develop
2018-11-12 16:17:05 +01:00
Torkel Ödegaard
1bad8db94c
data source picker demo state
2018-11-09 15:50:09 +01:00
Erik Sundell
f0cba0b0d8
stackdriver: rename default component
2018-11-09 13:55:08 +01:00
Erik Sundell
149c649132
stackdriver: more renaming
2018-11-09 13:55:08 +01:00
Erik Sundell
33c9217cc9
stackdriver: refactoring - rename react components and file structure changes
2018-11-09 13:55:08 +01:00
Erik Sundell
1969ad41e8
stackdriver: refactor stackdriver query ctrl
2018-11-09 13:53:44 +01:00
Erik Sundell
4f7d3fccb7
stackdriver: make sure default template query editor state is propagted to parent angular scope
2018-11-09 13:53:44 +01:00
Erik Sundell
637b91ab8d
stackdriver: conditional template component rendering
2018-11-09 13:53:44 +01:00
Erik Sundell
efd3343d19
stackdriver: add basic directive for loading react plugin components
2018-11-09 13:51:37 +01:00
Peter Holmberg
b536a9f760
can render something
2018-11-08 16:40:53 +01:00
Peter Holmberg
ffc06e9962
extract store from configurestore
2018-11-05 16:54:48 +01:00
Peter Holmberg
e37fa486ed
remove replaced components
2018-11-01 14:31:14 +01:00
Peter Holmberg
f15ed848f9
Merge branch 'master' into data-source-settings-to-react
2018-11-01 13:52:53 +01:00
Peter Holmberg
6493f96ac7
updated snap
2018-11-01 13:47:40 +01:00
Torkel Ödegaard
7885453bcd
listen for changes in angular land and propagate that back to react
2018-10-31 09:19:08 -07:00
David Kaltschmidt
cf19ecc8f5
Make Explore plugin exports explicit
2018-10-30 14:38:34 +01:00
David Kaltschmidt
d0776937b5
Pluggable components from datasource plugins
...
- when instantiating a datasource, the datasource service checks if the
plugin module exports Explore components, and if so, attaches them to
the datasource
- Explore component makes all major internal pluggable from a datasource
`exploreComponents` property
- Moved Prometheus query field to promehteus datasource and registered
it as an exported Explore component
- Added new Start page for Explore, also exported from the datasource
2018-10-29 15:14:36 +01:00
Peter Holmberg
596a83407e
fixed routes and page
2018-10-24 16:17:25 +02:00
Torkel Ödegaard
11f66bb909
fixed issue with template refresh
2018-10-19 09:43:54 +02:00
Torkel Ödegaard
dddbe62d6c
Merge branch 'master' into react-panels-step1
2018-10-19 09:15:37 +02:00
Peter Holmberg
ab2be340f7
remove not used file
2018-10-18 09:34:51 +02:00
Peter Holmberg
f25a843a2c
created view
2018-10-17 14:36:18 +02:00
Peter Holmberg
ee0cc9bd77
Merge branch 'master' into data-source-instance-to-react
2018-10-16 12:14:11 +02:00
Torkel Ödegaard
8e85295b2b
react panels query processing
2018-10-14 18:19:49 +02:00
Torkel Ödegaard
cd4619dad1
working on react data / query exectution
2018-10-14 15:39:34 +02:00
Torkel Ödegaard
8ba865bf57
Merge branch 'master' into react-panels-step1
2018-10-12 13:31:20 +02:00
Peter Holmberg
02e7d713a1
Added Loading state on org pages
2018-10-11 11:49:34 +02:00
Torkel Ödegaard
d2bdf8cff1
wip: fixed issues now things are starting to work as before for angular panels
2018-10-09 17:07:13 +02:00
Peter Holmberg
61cac5fd61
reverted back and using angular for settings and dashboards
2018-10-08 16:01:17 +02:00
Torkel Ödegaard
4f852bb4ae
ux: more minor ds setting tweaks
2018-10-05 13:09:41 -07:00
Torkel Ödegaard
2860a50065
ux: tweaks to add datasource page and datasource settings page
2018-10-05 12:55:34 -07:00
Torkel Ödegaard
dcb7f0d492
Merge branch 'master' into react-panels-ux-idea2
2018-10-04 09:08:19 +02:00
Peter Holmberg
ef5180bae0
fixed toggle buttons
2018-10-03 13:04:31 +02:00
Peter Holmberg
45113e6c8b
updated after pr feedback
2018-10-03 10:54:15 +02:00
Torkel Ödegaard
afdec3d1b0
Revert "Revert "Org users to react""
2018-10-03 09:43:10 +02:00
Torkel Ödegaard
fe4f2f71c3
Revert "Org users to react"
2018-10-03 09:40:37 +02:00
Peter Holmberg
09b681326e
Merge branch 'master' into org-users-to-react
2018-10-02 11:18:01 +02:00
Torkel Ödegaard
f37a60dcd5
Merge branch 'data-sources-list-to-react'
2018-10-02 09:33:58 +02:00
Peter Holmberg
a43ede70bc
added default prop instead of specifying prop
2018-10-01 14:02:13 +02:00
Peter Holmberg
8f99276606
first crude display
2018-09-28 17:21:00 +02:00
Daniel Lee
9b90b835b2
Merge remote-tracking branch 'origin/master' into stackdriver-plugin
2018-09-28 16:20:40 +02:00
Peter Holmberg
da856187d8
snaps
2018-09-28 14:57:56 +02:00
Peter Holmberg
21cfc11009
implemented general actionbar
2018-09-28 14:34:58 +02:00
Peter Holmberg
166f93cf54
components, test, removed old not used files
2018-09-28 11:05:34 +02:00
Peter Holmberg
11ee65d35a
deletez
2018-09-27 14:51:00 +02:00
Peter Holmberg
b899a0e1c1
revert rename
2018-09-27 14:45:36 +02:00
Peter Holmberg
fede5e6c74
rename to pluginlistitem
2018-09-27 14:23:46 +02:00
Peter Holmberg
cabc4c4bfe
fixing types
2018-09-27 14:19:36 +02:00
Peter Holmberg
1e2c06083a
rewrote to use react.sfc
2018-09-27 12:15:41 +02:00
Peter Holmberg
70c3e1f3bc
tests
2018-09-26 15:12:06 +02:00
Peter Holmberg
64eace96c0
first test
2018-09-25 16:50:13 +02:00
Peter Holmberg
0b7576a1f9
filter plugins and layout mode
2018-09-25 16:21:52 +02:00
Peter Holmberg
e8cc0f3fff
render list
2018-09-25 14:53:55 +02:00
Torkel Ödegaard
94ee39291f
added beta notice
2018-09-21 11:28:19 +02:00
Torkel Ödegaard
c282f39121
Merge branch 'master' into stackdriver-plugin
2018-09-21 10:17:13 +02:00
Torkel Ödegaard
be3b684140
Merge branch 'master' into react-panels
2018-09-18 15:19:43 +02:00
Torkel Ödegaard
e58c2ebc1c
tech: remove all mobx stuff
2018-09-14 09:43:34 +02:00
Erik Sundell
834d06c35b
Build new stackdriver frontend script
2018-09-14 09:33:50 +02:00
Torkel Ödegaard
df822a660b
initial render/refresh timing issues
2018-09-10 16:19:28 +02:00
Torkel Ödegaard
100ab0ba23
Merge branch 'master' into react-panels
2018-09-10 15:42:36 +02:00
Torkel Ödegaard
432e203df1
Merge branch '12918-only-arrow-functions3'
2018-09-05 11:26:30 +02:00
Patrick O'Carroll
72ab24f300
Changed functions to arrow functions for only-arrow-functions rule. ( #13131 )
2018-09-05 07:47:30 +02:00
Patrick O'Carroll
0f326f18dc
changed functions to arrowfunctions for only-arrow-functions rule ( #13127 )
2018-09-04 15:55:41 +02:00
Patrick O'Carroll
19b7ad61dd
Changed functions to arrow functions for only-arrow-functions rule.
2018-09-04 14:27:03 +02:00
Patrick O'Carroll
abbb6f933c
added jsdoc-format rule and fixed files that didn't follow new rule ( #13107 )
2018-08-31 16:40:43 +02:00
Patrick O'Carroll
b494a29e02
changed var to let in last files ( #13087 )
2018-08-30 08:58:43 +02:00
Patrick O'Carroll
a702603e7b
changed var to const 2 ( #13068 )
...
* changed var to const
* fixed typo created in last commit
* added or empty object to options in prometheus/datasource
2018-08-29 14:27:29 +02:00
Torkel Ödegaard
e1beaaa0f7
tslint: tslint to const fixes part3 ( #13036 )
2018-08-26 21:52:57 +02:00
Torkel Ödegaard
9b978b7203
tslint: autofix of let -> const ( #13033 )
2018-08-26 17:14:40 +02:00
Torkel Ödegaard
864c4691da
fix: minor fix to changing type
2018-08-25 12:38:25 -07:00
Torkel Ödegaard
fd81f89509
wip: angular panels now have similar edit mode and panel type selection enabling quick changing between panel react and angular panel types
2018-08-25 12:22:50 -07:00
Torkel Ödegaard
0b794ff685
Merge branch 'master' into react-panels
2018-08-24 17:29:10 +02:00
Tobias Skarhed
a65589a5fb
Rename test files
2018-08-14 10:52:41 +02:00
Pierre GIRAUD
d7fb704e27
Convert URL-like text to links in plugins readme
2018-08-08 16:07:33 +02:00
David Kaltschmidt
3297ae462d
Datasource for Grafana logging platform
...
- new builtin datasource plugin "Logging" (likely going to be renamed)
- plugin implements no panel ctrls yet, only ships datasource
- new models for logging data as first class citizen (aside from table
and time_series model)
- Logs as new view for Explore
- JSON view for development
Testable only against existing logish deployment.
Then test with queries like `{job="..."} regexp`.
2018-07-20 17:07:17 +02:00
Torkel Ödegaard
a4587cdeee
fix: datasource search was not working properly
2018-07-18 14:28:38 +02:00
Daniel Lee
3cb95fb40a
pluginloader: expose flot gauge plugin
2018-07-18 12:05:45 +02:00