Ivana Huckova
247bdc2f9b
Explore: Add caching for queries run from logs navigation ( #34297 )
...
* WIP: Implement simple caching
* If results are cached, don't run new query and use those results
* Add duplicate key check
* Clean up
* Clean up
* Add tests for caching
* Remove unused variables
* Update public/app/features/explore/state/query.test.ts
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Update public/app/features/explore/state/query.test.ts
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Use decorateData to apply all decorators
* Remove unused variables
* Change loading stte to Done
* Clear cache when running query from navigation
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-05-24 13:56:48 +02:00
Ivana Huckova
b5de6e7a1d
Add @public release tag to Spinner component ( #34576 )
2021-05-24 13:30:02 +02:00
mmenbawy
6796a89e9d
Loki: Bring back processed bytes as meta info ( #34092 )
...
* Loki: Bring back processed bytes as meta info
* style: Lint
2021-05-24 12:28:10 +02:00
Gábor Farkas
e21b90681f
influxdb: influxql: make measurement-autocomplete case insensitive ( #34563 )
2021-05-24 12:24:42 +02:00
Piotr Jamróz
8d05df83ed
CustomScrollbar: Invoke setScrollTop callback only after scrolling finishes ( #34263 )
...
* Invoke setScrollTop callback only after scrolling finishes
When the state is updated while scroll events are being dispatched (like in QueryGroup) it may cause resetting the scroll position to the first emitted event because setting the scroll happens only after render (useEffect).
* Memoize onScrollStop callback
2021-05-24 10:34:37 +02:00
Gábor Farkas
0c2bb9562a
devenv: slow_proxy_mac: make configurable and smaller ( #34560 )
2021-05-24 10:25:30 +02:00
Jack Westbrook
68513b9a3f
Chore: bump Acorn and Underscore ( #34302 )
2021-05-24 09:55:39 +02:00
Hugo Häggmark
7b17801047
LibraryPanels: Fixes error when importing plugin dashboard ( #34557 )
2021-05-24 09:31:34 +02:00
Hugo Häggmark
7204a64717
LibraryElements: Creates usage stats for panels and variables ( #34476 )
...
* LibraryPanels: Adds usage collection
* Refactor: renames Panel and Variable consts
* Chore: initialize stats
* Refactor: moves library element migrations to migration namespace
2021-05-24 06:11:01 +02:00
Matthew Turland
abe5c06d69
Fix Quick Start link on Geting Started Influx page ( #34549 )
...
Square brackets were used for the URL instead of parentheses, causing the markup to be displayed as literal text.
2021-05-22 18:59:49 +02:00
Ryan McKinley
11b2f0ee4d
Timeline: use full row height with one series ( #34532 )
2021-05-20 16:03:23 -07:00
achatterjee-grafana
1e024f22b8
Added singlestat deprecation notice. ( #34534 )
...
* Added singlestat deprecation notice.
* removed extra space.
2021-05-20 17:45:07 -04:00
Diana Payton
0ee0d65e12
Docs: 8.0 panel edit updates ( #34533 )
...
* Update timeseries.md
* Update add-a-panel.md
* Update _index.md
* Update panel-editor.md
* content updates
* content edits
* moved repeat panels topic
* Update getting-started.md
* edits
* Update DRAFT.md
2021-05-20 23:16:15 +02:00
Vardan Torosyan
676ddac088
Docs: Document fine-grained access control ( #33563 )
2021-05-20 09:53:34 -07:00
Dimitris Sotirakis
292789ba2d
Chore: Increase number of backend test retries in grabpl
to 5 in release pipelines ( #34493 )
...
* Increase number of backend test retries to 5
* Exclude release-branch pipelines
* Fixes according to reviewer's comments
* Refactor
* Remove unused arguments
* Remove magic number
2021-05-20 17:52:02 +02:00
Torkel Ödegaard
d0769397b2
Histogram: Fix crash when state was undefined (when combine was enabled) ( #34514 )
2021-05-20 17:36:20 +02:00
kay delaney
aa14621d29
Chore: Move immutable, is-hotkey, and react-inlinesvg deps to grafana-ui ( #34290 )
2021-05-20 16:19:24 +01:00
Giordano Ricci
e2e78f14d2
Elasticsearch: fix flaky test ( #34517 )
2021-05-20 17:13:48 +02:00
Gábor Farkas
d95cc4a08f
InfluxDB: InfluxQL query editor: generate better HTML ( #34467 )
2021-05-20 16:46:08 +02:00
Torkel Ödegaard
dbe281530c
Timeline: Fix y-axis being cropped ( #34508 )
2021-05-20 16:43:19 +02:00
Marcus Efraimsson
b76dfc8ed0
Chore: Upgrade loki dependency ( #34487 )
...
Upgrades loki dependency to include grafana/loki#3743 .
2021-05-20 16:31:53 +02:00
Jack Westbrook
7580124d50
chore: update latest.json to v8-beta2 ( #34504 )
2021-05-20 15:53:16 +02:00
Jack Westbrook
a7c5636948
Update _index.md ( #34500 )
2021-05-20 15:33:44 +02:00
Will Browne
c4dcfdef56
Plugins: Improve plugin installer error messages ( #34437 )
...
* fix and improve error messages
* enrich error message
* ignore previous changes
* revert manual version bump
* remove condition
* fix version param
2021-05-20 15:11:07 +02:00
Sofia Papagiannaki
23939eab10
[Alerting]: namespace fixes ( #34470 )
...
* [Alerting]: forbid viewers for updating rules if viewers can edit
check for CanSave instead of CanEdit
* Clear ngalert tables when deleting the folder
* Apply suggestions from code review
* Log failure to check save permission
Co-authored-by: gotjosh <josue@grafana.com>
2021-05-20 15:49:33 +03:00
Torkel Ödegaard
fd6e338651
Timeline: Fixes crash when there was only 1 threshold step ( #34471 )
2021-05-20 14:09:19 +02:00
Vardan Torosyan
99acbdd3c5
Docs: Update HTTP API index page to make clear that GE API includes everything OSS ( #34269 )
2021-05-20 12:38:05 +02:00
Grot (@grafanabot)
fc9c5ec873
ReleaseNotes: Updated changelog and release notes for 8.0.0-beta2 ( #34481 )
2021-05-20 12:09:18 +02:00
Torkel Ödegaard
649d36e66a
Plugins: Fix data source plugins list test failure ( #34477 )
2021-05-20 11:36:28 +02:00
Marcus Efraimsson
60d0c8d0ec
HTTP Client: Outgoing tracing middleware ( #34466 )
...
Following #33439 this adds support for outgoing tracing middleware
in HTTP client provider.
Fixes #24004
2021-05-20 11:16:55 +02:00
Mitch Seaman
fc8f913761
Docs: Add SAP HANA to Enterprise plugins list ( #34273 )
...
* Add SAP HANA to Enterprise plugins list
* adding sap hana plugin details
Co-authored-by: Sriram <yesoreyeram@gmail.com>
2021-05-20 10:52:28 +02:00
Ryan McKinley
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
Ganesh Vernekar
95ee5f01b5
NGAlert: Do not pick a random default channel if no default exists ( #34465 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-05-20 10:30:09 +02:00
Domas
f166b22b52
use existing queryparams prop in AppRootPage ( #34464 )
2021-05-20 10:24:56 +02:00
Sarah Zinger
1d7595374a
Azure Monitor: Fix Resource Picker UI overflow ( #34442 )
...
* Truncate text
* Replace HorizontalGroup.
* Add loading spinner
* increase modal width
Co-authored-by: joshhunt <josh@trtr.co>
2021-05-20 10:20:01 +02:00
Josh Hunt
cf94410e59
AzureMonitor: Update Logs workspace() template variable query to return resource URIs ( #34445 )
...
* Migrate template variables straight into resource field,
Display error if unable to migrate
* Update workspace() template variable query function to return a resource URI
* update backend to support resource uris in workspace field
* don't load resource names for variables
* throw error when workspace migration returns no results
* update testDatasource to work with either resource URI or workspace GUID
* fix tests
* cleanup types just a little bit, as a treat
2021-05-20 10:16:29 +02:00
Gábor Farkas
fc04a1ae00
InfluxDB: InfluxQL: handle empty tag values when generating query ( #34463 )
2021-05-20 10:13:15 +02:00
gotjosh
7b04278834
Alerting: Opsgenie notification channel ( #34418 )
...
* Alerting: Opsgenie notification channel
This translate the opsgenie notification channel from the old alerting
system to the new alerting system with a few changes:
- The tag system has been replaced in favour of annotation.
- TBD
- TBD
Signed-off-by: Josue Abreu <josue@grafana.com>
* Fix template URL
* Bugfig: dont send resolved when autoClose is false
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Fix integration tests
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Fix URLs in all other channels
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Co-authored-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-05-20 10:12:08 +02:00
Andrej Ocenas
615de9bf34
Zipkin: Add node graph view to trace response ( #34414 )
...
* Add graph transform
* Add tests
* Refactor code
* Update test
* Fix zipkin block
Co-authored-by: David Kaltschmidt <david.kaltschmidt@gmail.com>
2021-05-20 10:01:28 +02:00
Mitch Seaman
d1d118a474
Enterprise Docs: Caching: Update query caching docs for 8.0 ( #34104 )
...
* update caching docs for 8.0
* define ttl and default ttl in config docs
* Apply grammar/clarity suggestions from code review
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* convert processes to ordered lists, reformat sentences based on feedback
* add more explicit instructions for accessing data source settings page
* clarify TTL sentence
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Apply re-wording from code review
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* add permissions and backend options to caching docs
* Apply wording suggestions from code review
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* add refresh interval info
* clarify effect of interval on caching
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-05-20 09:49:36 +02:00
dependabot[bot]
e8b8853a82
Bump immer from 8.0.0 to 8.0.1 ( #34436 )
...
Bumps [immer](https://github.com/immerjs/immer ) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/immerjs/immer/releases )
- [Commits](https://github.com/immerjs/immer/compare/v8.0.0...v8.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-20 09:42:43 +02:00
Gabriel MABILLE
d56a653e73
AccessControl: Add provisioning folder to the packaging process ( #34398 )
...
* AccessControl: Add provisioning folder to the packaging process
2021-05-20 09:41:39 +02:00
Serge Zaitsev
07302faec2
Add link to release notes v7.5.7 ( #34460 )
2021-05-20 09:41:20 +02:00
Hugo Häggmark
740f1ab3e2
LibraryPanels: Fixes connections after dashboard import ( #34461 )
2021-05-20 09:40:23 +02:00
Alex Khomenko
ca416df9d1
grafana/ui: Add invalid prop to the TagsInput ( #34409 )
...
* Add invalid prop to the tag input
* Enable controls
2021-05-20 10:19:41 +03:00
Ryan McKinley
a9c0b08ac3
show warning when too many points in status grid ( #34456 )
2021-05-19 23:46:39 -07:00
Torkel Ödegaard
812dac140e
StateTimeline/StatusGrid: Fixes to legend item colors ( #34457 )
2021-05-19 23:17:50 -07:00
Ryan McKinley
2f58cc860c
Live: logging cleanup ( #34455 )
2021-05-19 22:57:49 -07:00
Hugo Häggmark
21d6f02dd3
LibraryElements: replaces is_folder=1
usages with correct dialect string ( #34453 )
2021-05-20 07:22:34 +02:00
Ryan McKinley
40139a7ea9
PanelQueryRunner: only skip applyFieldOverrides when streaming ( #34438 )
2021-05-19 22:00:00 -07:00