Ryan McKinley
bfba47c6c4
Refactor: Move LogLevel and Labels utils to @grafana/ui ( #16285 )
...
* rename Tags to Labels in SeriesData
* move some logs stuff to grafana/ui
* add roundtrip tests
2019-03-29 09:41:37 +01:00
Igor Ratsuk
930fd8b43a
Elasticsearch: Fix view percentiles metric in table without date histogram ( #15686 )
...
Fix for properly display percentiles metrics in table panel when
using a query without date histogram and for example grouping by
terms.
Fixes #3786
2019-03-29 13:22:04 +07:00
Ryan McKinley
e6d9a524b4
Fix: Correct SnapshotData typing ( #16279 )
2019-03-28 20:59:59 +01:00
Ryan McKinley
03951c00cb
Feat: Angular panels & SeriesData to Table/TimeSeries ( #16266 )
...
Similar to how the react panels make sure all data is SeriesData before passing it to the react panels, this makes sure SeriesData is converted to TableData|TimeSeries before passing it to the angular panels.
It also changes the typing to encourage using SeriesData for future development
2019-03-28 18:21:53 +01:00
Ryan McKinley
236074ea47
Fix: React Graph & Show message on no data ( #16278 )
2019-03-28 18:15:20 +01:00
Dominik Prokop
9fd824960f
Feature: added actionable message in Explore when no datasource configured ( #16252 )
2019-03-28 17:17:01 +01:00
Steven Sheehy
0bc314a47b
Feature: Case insensitive Loki search ( #15948 )
...
* Case insensitive Loki search
* Make Loki case insensitivity work with highlighting
Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
2019-03-28 15:58:19 +01:00
Ryan McKinley
c8b2102500
Feat: Singlestat panel react progress & refactorings ( #16039 )
...
* big value component
* big value component
* editor for font and sparkline
* less logging
* remove sparkline from storybook
* add display value link wrapper
* follow tooltip
* follow tooltip
* merge master
* Just minor refactoring
* use series after last merge
* Refactoring: moving shared singlestat stuff to grafana-ui
* Refactor: Moved final getSingleStatDisplayValues func
2019-03-28 14:57:49 +01:00
Dominik Prokop
206921d21b
Feature: Introduced CallToActionCard to @grafana/ui ( #16237 )
...
CallToActionCard is an abstraction to display a card with message, call to action element and a footer. It is used i.e. on datasource add page.
2019-03-27 22:33:20 +01:00
Ryan McKinley
5324bb4f11
Refactor: Rename TimeSeriesVM to GraphSeriesXY ( #16216 )
...
* Rename TimeSeriesVM to Trace
* remove TimeSeriesVM from types
* rename to GraphSeriesVM
* rename again
* now GraphSeriesXY
2019-03-27 21:51:10 +01:00
Šimon Podlipský
00a07c855d
Fix: Table Panel and string values & numeric formatting ( #16249 )
2019-03-27 15:18:15 +01:00
Daniel Lee
8a8a1b8e11
Fix: Prometheus regex ad-hoc filters w/ wildcards ( #16234 )
...
Fixes #14615 .
Removes extra escaping for regex filter values when using ad hoc
filters for Prometheus. The extra escaping causes queries with
regex characters to be invalid.
2019-03-27 11:43:17 +01:00
Hugo Häggmark
7f9ad77153
Merge pull request #16241 from grafana/hugoh/no-implicit-any
...
Chore: Eliminate implicit anys in backend_srv
2019-03-27 09:14:16 +01:00
Daniel Lee
462e0d0c6f
Fix: Elasticsearch fix template variables in the alias field ( #16629 )
...
Fixes #16040
Fix so that a template variable in the alias field is not interpolated on blur and only the value sent in the query is interpolated. Does a deep clone of the options.targets to avoid changing the original alias field.
2019-03-26 16:15:23 +01:00
Torkel Ödegaard
c02782c0ec
Fix: TablePanel column color style now works even after removeing styles, fixes #16162 ( #16227 )
2019-03-26 15:18:46 +01:00
Daniel Lee
fda7e686f3
Merge pull request #15205 from seanlaff/12556-oauth-pass-thru
...
Add oauth pass-thru option for datasources
2019-03-25 21:52:20 +01:00
Marcus Efraimsson
6c9b9b360a
fix(dashboard): time regions spanning across midnight ( #16201 )
...
Fixes #14590
2019-03-25 23:51:10 +07:00
Torkel Ödegaard
dbc2f2761a
fix(panels/graph): Default option name for spaceLength was accidentally changed ( #16205 )
2019-03-25 17:12:39 +01:00
Dominik Prokop
9655eeda18
fix(explore): only show split close button when split is active ( #16203 )
2019-03-25 16:44:09 +01:00
Torkel Ödegaard
8ef1c75aa1
fix(react2angular): Fixed react to angular wrapper watching function expressions causing infinte digest loop, fixes #16194 ( #16196 )
2019-03-25 16:29:09 +01:00
Peter Holmberg
8a396acdb4
fix(panel/table): Fix for white text on white background when value is null
2019-03-25 16:21:07 +01:00
Peter Holmberg
4898502e4e
refactor(grafana/ui): Replace <input />with Input component from grafana/ui ( #16085 )
...
* replace with Input component from grafana/ui
* removing placeholder classname
* change import
* fix import
2019-03-25 15:53:05 +01:00
Steven Sheehy
dd388ed578
fix(loki): Hide empty labels column
...
Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
2019-03-25 15:23:54 +01:00
Ryan McKinley
77b3da3e8b
refactor(data models): Renamed TableData to SeriesData ( #16185 )
2019-03-25 14:46:16 +01:00
Andrej Ocenas
a978e28e7c
chore(core/utils): Add typings to datemath.ts ( #16195 )
...
* Add typings
* Remove explicit cast
2019-03-25 14:32:55 +01:00
Ryan McKinley
e5c8375ec2
only call onPanelMigration when the version actually changes ( #16186 )
...
* set the plugin version if there is a migration handler
* only call panel migration if the version changes
* set the version after change also
* avoid NPE... check that we have options
* destroy is based on the previous panel type, not the next one
* Panels: Minor refactoring on panel plugin version code, #16186
2019-03-25 14:10:23 +01:00
Dominik Prokop
a8c50ed6ba
feat(explore): make it possible to close left pane of split view ( #16155 )
...
* feat(explore): make it possible to close left pane of split view
* Use action's type prop instead of enum
2019-03-25 12:49:15 +01:00
Dominik Prokop
c2e9daad1e
feat(Explore): make sure Loki labels are up to date ( #16131 )
...
* Migrated loki syntax and labels logic to useLokiSyntax hook
* Enable loki labels refresh after specified interval has passed
* Enable periodic loki labels refresh when labels selector is opened
* Fix prettier
* Add react-hooks-testing-library and disable lib check on typecheck
* Add tests for loki syntax/label hooks
* Move tsc's skipLibCheck option to tsconfig for webpack to pick it up
* Set log labels refresh marker variable when log labels fetch start
* Fix prettier issues
* Fix type on activeOption in useLokiLabel hook
* Typo fixes and types in useLokiSyntax hook test fixes
* Make sure effect's setState is not performed on unmounted component
* Extract logic for checking if is component mounted to a separate hook
2019-03-25 12:08:28 +01:00
Hugo Häggmark
d563505dd3
fix: added missing event to function signature
...
Fixes : #16055
2019-03-25 11:23:59 +01:00
Torkel Ödegaard
e578e8d2dc
Merge pull request #16189 from grafana/hugoh/explore-graphite-url-not-working
...
Added target as isMetric property
2019-03-25 10:54:22 +01:00
Hugo Häggmark
b42dec7353
fix: added target and datasource as isMetric property
...
Fixes : #15862
2019-03-25 09:08:17 +01:00
Torkel Ödegaard
e3d33e6c4a
chore: Removed implicit anys in react container and test helpers
2019-03-24 20:27:12 +01:00
Torkel Ödegaard
f4f5eeeb18
Pamels: Options are always there
2019-03-24 18:34:43 +01:00
Torkel Ödegaard
e03c7bf1a3
Panels: Support angular -> react migration via PanelMigrationHandler
2019-03-24 17:11:00 +01:00
Torkel Ödegaard
20fec4d261
Panels: Added more tests for change panel plugin
2019-03-24 16:39:55 +01:00
Torkel Ödegaard
0d55141a2d
Panels: Refactoring how panel plugins sets hooks and components, #16166
2019-03-24 15:56:32 +01:00
Torkel Ödegaard
292f54ba37
Merge branch 'drop-panel-plugin-setters' of https://github.com/ryantxu/grafana into ryantxu-drop-panel-plugin-setters
2019-03-24 07:54:07 +01:00
ryan
d6ae76c8a3
merge master
2019-03-23 13:13:09 -07:00
ryan
009cd086aa
merge master
2019-03-23 13:07:46 -07:00
Torkel Ödegaard
5d1450dee1
Merge branch 'master' into no-process-timeseries
2019-03-23 17:59:20 +01:00
Torkel Ödegaard
4db914578c
Merge pull request #16171 from ryantxu/pie-display
...
use displayValue in pie chart
2019-03-23 17:57:05 +01:00
ryan
65476d4044
don't use process timeseries
2019-03-22 15:40:17 -07:00
ryan
56e1528c0e
rename stat to show in UI
2019-03-22 15:23:51 -07:00
ryan
2e079659f8
use display value in pie chart
2019-03-22 15:16:04 -07:00
ryan
6da2f132c7
keep plugin versions
2019-03-22 13:45:09 -07:00
ryan
82be27a42a
remove panel plugin setters
2019-03-22 13:12:35 -07:00
ryan
f9fb1210e9
prevOptions should be optional
2019-03-22 10:55:31 -07:00
ryan
d8595e9f4e
moved migration hook to its own function
2019-03-22 10:22:25 -07:00
Torkel Ödegaard
a6c2a8c3cc
Merge branch 'master' into table-reducer
2019-03-22 15:55:21 +01:00
Torkel Ödegaard
beba9676f6
Minor refactoring of stats picker / shared singlestat code
2019-03-22 15:25:33 +01:00