Leon Sorokin
4e2516d12a
GraphNG: fix crash when trying to diff missing timeRange prop ( #38654 )
2021-08-27 12:40:33 -05:00
1be53b4f3b
TimeSeries: Add per-axis grid visibility toggle ( #38502 )
...
* Allow grid lines visibility control to XYChart and TimeSeries
* Move grid lines config to field config (axis)
* Fix merge
* Auto grid mode
* Fix ts
* Align naming
* Update packages/grafana-ui/src/components/uPlot/config/UPlotConfigBuilder.test.ts
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
* Update packages/grafana-ui/src/components/uPlot/config/UPlotConfigBuilder.test.ts
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
* remove 'grid' from props diff array since field.config.custom.* is handled by structureRev diffing
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2021-08-27 12:30:42 -05:00
Giordano Ricci
b5e4a0a39a
Elasticsearch: Only show numbers in histogram field autocomplete ( #38631 )
2021-08-27 17:19:44 +01:00
Jack Westbrook
5898824a48
Chore: Fix version format ( #38649 )
2021-08-27 18:12:37 +02:00
Petros Kolyvas and achatterjee-grafana
4a73e0f9a8
Docs: Remove an unnecessary legacy alerts notification webhook listing and reduce promotional content ( #38644 )
...
* Removed an unecessary webhook listing and modified some text to reduce promotion for specific tooling.
* Updated doc content with Eve and Ursula's review.
* Removed "the".
Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com >
2021-08-27 11:17:58 -04:00
8da634f780
Loki: add tests for addAdHocFilters ( #38594 )
...
* Loki: add tests for addAdHocFilters
* Change description of test
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* Replace ADD_FILTER with "=" operator in test description
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* Loki: refafctor test for addAdHocFilter
* Loki: refactor tests for better readability
* Remove comments
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2021-08-27 17:06:22 +02:00
Jack Westbrook
beeb8330c4
Chore: Update packages version to 8.2.0-pre ( #38635 )
...
* chore(packages): run packages:prepare script
* chore: update package.json version
* chore: put back semver compliant version
2021-08-27 17:01:19 +02:00
Giordano Ricci
eaca54a9f2
Elasticsearch: change terms default min_doc_count to 1 ( #38632 )
2021-08-27 14:22:12 +01:00
72d296843d
Docs: clarify state of Unified Alerting ( #38603 )
...
* Docs: clarify state of Unified Alerting
* Update docs/sources/alerting/unified-alerting/_index.md
Co-authored-by: Kyle Brandt <kyle@grafana.com >
* Adjusted note to move below the introduction.
* Fixed a typo and added beta notes.
* Minor typo fix.
* Docs: remove innacurate beta label for Grafana 8.0
Grafana 8.0 is not in beta, only unified alerting.
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: Kyle Brandt <kyle@grafana.com >
Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com >
2021-08-27 15:09:28 +02:00
Ikko Ashimine
202f295e51
Chore: Fix typo in nodes.go ( #38636 )
...
commmon -> common
2021-08-27 14:57:41 +02:00
Marcus Efraimsson and achatterjee-grafana
e872032a2b
Docs: Add v8.1 upgrade note regarding unencrypted data source passwords ( #38449 )
...
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-08-27 13:23:56 +02:00
Alexander Emelin
a95a40d87d
Live: allow connections with request host matching origin host ( #38538 )
2021-08-27 13:26:28 +03:00
Andres Martinez Gotor
b25eb0aa74
AzureMonitor: Fix wrong merge ( #38623 )
2021-08-27 11:31:17 +02:00
Torkel Ödegaard and Ursula Kallio
bbaf6a23bb
Docs: Add info and links about our hosted services to our grafana install docs ( #38544 )
...
* Add info and links about our hosted services to our grafana install docs
* review updates
* Update docs/sources/installation/debian.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
2021-08-27 10:46:45 +02:00
Marcus Efraimsson
0ef5831332
v8.2.0-pre.0
2021-08-27 10:39:53 +02:00
Olof Bourghardt
458bced826
Jaeger: fix bug where query is executed twice ( #38550 )
...
* Jaeger: add empty callback to QueryField onBlur to stop query from being run twice
* Jaeger: add wait call on 500ms to accomodate for debouncing by the QueryField component
2021-08-27 10:36:18 +02:00
Alex Khomenko
a15e33e693
Admin: remove Redux from ServerStats ( #38581 )
...
* Admin: remove Redux from ServerStats
* Admin: Fix import
2021-08-27 11:09:17 +03:00
Alex Khomenko
c08d5eeda0
Update the location of the server stats tab ( #38548 )
2021-08-27 10:04:57 +03:00
Gábor Farkas and Ursula Kallio
8e88600c04
style-guide: frontend: describe directory naming style ( #38607 )
...
* style-guide: frontend: describe directory naming style
* apply recommended changes
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
2021-08-27 08:27:56 +02:00
Dimitris Sotirakis
d7daaa19df
Add CODEOWNERS for CI related code ( #38606 )
2021-08-27 09:06:15 +03:00
Jack Westbrook and Levente Balogh
2cb141d4ec
Plugins: Refactor installation buttons component ( #37642 )
...
* refactor(catalog): split out installcontrols into multiple components
* test(catalog): update tests for plugindetails page
* refactor(catalog): rename installcontrols -> index
* refactor(catalog): remove redundant curlies
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* tests(plugindetails): fix assertions and naming of tests
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* refactor(installcontrols): prefer enum over duplicate union type, rename disabled prop
* refactor(installcontrols): use PluginStatus enum for installcontrols pluginStatus
* refactor(installcontrols): remove redundant curlies
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2021-08-26 17:15:43 +02:00
idafurjes
568549e810
Bug: Return empty plugins.DataTimeSeriesSlice when the frame field vector is epmty ( #38587 )
...
* Add check if the vector is empty
* Use Rows() instead of Len() on field
* Remove redundant condition
2021-08-26 16:39:50 +02:00
Jack Westbrook
5339275793
Grafana UI: Fix TS error property css is missing in type ( #38078 )
2021-08-26 16:00:52 +02:00
Stephanie Hingtgen
785072086c
Add event after datasource create ( #38467 )
...
* Add event after datasource create
2021-08-26 08:50:05 -05:00
Kevin Minehart
1ced2bc6df
move main.go logic out of commands ( #38555 )
...
* move main.go logic out of commands
2021-08-26 15:42:22 +02:00
Domas
2847f25781
Alerting: UI to edit cortex/loki namespace & group names, group eval interval ( #38543 )
2021-08-26 16:40:27 +03:00
Dimitris Sotirakis
00886afaf1
Force use versions of libcrypto1.1 and libssl1.1 ( #38585 )
2021-08-26 15:22:53 +02:00
Ashley Harrison
a583f7e160
Sidemenu: Refactor SideMenuDropDown ( #38554 )
...
* SideMenuDropDown: Refactor to be more component-ey + rewrite tests in RTL
* SideMenuDropDown: Rename childLinks -> items
* Rename mockChildLinks -> mockItems as well
2021-08-26 14:08:27 +01:00
Marcus Efraimsson
b231afd50f
Docs: Fix error in provisioning docs for discord notifier ( #38579 )
...
Fixes an error in provisioning docs for discord notifier referencing the wrong
name of the "message content" setting.
Fixes #38494
2021-08-26 12:29:29 +02:00
Marcus Efraimsson
2f07af1b54
Chore: Skip test TestDevenvDashboardValidity for now ( #38577 )
...
Skipping TestDevenvDashboardValidity test for now to resolve broken
test-backend step in main/branches. Did also run scripts/stripnulls.sh
hence the devenv dashboard changes.
2021-08-26 11:45:57 +02:00
Marcus Efraimsson
ec88295a0b
Testdata: Fix proper initialization ( #38576 )
...
Fixes #38566
2021-08-26 11:39:04 +02:00
Torkel Ödegaard and Ryan McKinley
d5ed4e9c8c
Geomap: Minor style fixes ( #38532 )
...
* Fixed hover font-weight, option casing, and added simple test dashboard with 3 panels
* Update theme colors
* Style tweaks to legend
* Updated
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-08-26 10:17:03 +02:00
Dimitris Sotirakis
12320dda3c
Elasticsearch: Fix metric names for alert queries ( #38546 )
...
* Export fieldName to var
* Add empty string as frame name
2021-08-26 09:20:38 +02:00
Dimitris Sotirakis
8a04af412e
Build pipeline: Cleanup build-main pipeline steps ( #38484 )
...
* Refactor dependencies
* Regenerate drone.yml
* Reorder steps in starlark files
* Make build depend on test
* Make test steps depend on lint
* Make gen-version step depend on build steps
* Refactor step dependencies
* Move e2e-tests step before upload_cdn
* Sync with main
2021-08-26 10:11:22 +03:00
idafurjes and Marcus Efraimsson
7faea40674
API: Add short url validation ( #38436 )
...
* Add short url validation
Path should not contain string ../
* Update pkg/api/short_url.go
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2021-08-26 09:07:27 +02:00
dependabot[bot]
0b945f3db4
Bump actions/cache from 2.1.5 to 2.1.6 ( #34867 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-26 08:27:37 +02:00
achatterjee-grafana
e32e135c73
Docs move "visualizations" folder up one level in TOC ( #38523 )
...
* Moved Visualizations folder one level up. Fixed a bunch of broken relrefs.
* More broken relrefs.
* Fixed the last of the broken relrefs
* Adjusted weight and added alias.
* Added aliases to a bunch of visualization topics.
* More topics with aliases.
* More aliases, adjusted some weight and other metadata information.
2021-08-25 14:14:00 -04:00
Ryan McKinley
9267014a45
Schema: export existing types in @grafana/data|ui ( #38518 )
2021-08-25 09:59:03 -07:00
Connor Lindsey
76ade24f2f
Add catch around JSON trace upload for more error handling ( #38520 )
2021-08-25 10:08:46 -06:00
Ivana Huckova
d1b6132302
Loki: Fix ad-hoc filter when used with parser ( #38542 )
...
* Fix ad hoc filter when used with parser
* Update
2021-08-25 16:08:41 +02:00
Patrick O'Carroll and Torkel Ödegaard
2e772d41a7
Themes: align hover and focus opacity ( #38498 )
...
* new warning and success color in light theme, slight tweak to primary text
* changed hover opacity to the same as focues opacity
* Updated generated files
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2021-08-25 15:34:19 +02:00
Ashley Harrison
b30882bd2b
Sidemenu: Refactor DropDownChild ( #38509 )
...
* DropDownChild: Refactor DropDownChild to be more component-like
* Rewrite tests in RTL
* Let's not do this just yet...
2021-08-25 14:27:04 +01:00
+1
78596a6756
Migrate to Wire for dependency injection ( #32289 )
...
Fixes #30144
Co-authored-by: dsotirakis <sotirakis.dim@gmail.com >
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
Co-authored-by: Ida Furjesova <ida.furjesova@grafana.com >
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
Co-authored-by: spinillos <selenepinillos@gmail.com >
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
Co-authored-by: Leonard Gram <leo@xlson.com >
2021-08-25 15:11:22 +02:00
sam boyer and Ryan McKinley
e61bc33163
Move dashboard scuemata to grafana-schema ( #38470 )
...
* Relocate dashboard scuemata to grafana-schema
* Update assorted tests, vars with dashboard path
* Remove crufty commented var
* Not sure...why that failed
* Remove prefix from base dashboard path var
* Move cue/ui remnants into grafana-schema
* Update import paths in plugin models
* Remove mudball, add package statements
* Remove cuegen.sh
Wooooo we ain't got no codegen
* Revert "Remove mudball, add package statements"
This reverts commit 9bed3098f1 .
* Tidy up all the cue files
* Move dashboard scuemata into scuemata/ subdir
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-08-25 06:55:04 -04:00
Olof Bourghardt
a19ad25eaa
Jaeger: support running queries with keyboard shortcut ( #37958 )
...
* Jaeger: add QueryField component
* Remove unused imports
* Fix e2e test so that it checks for QueryField component
* Remove comments
* Fix failing e2e test
2021-08-25 11:30:32 +02:00
Ashley Harrison
7c97b9d03f
QueryEditor: Don't use _.defaults as it mutates the query prop directly ( #37965 )
...
* QueryEditor: Don't use _.defaults as it mutates the query prop directly
* QueryEditor: Update the query type on mount if none exists
* QueryEditor: Mutate in the constructor instead of render
* Apply defaults immutably in render
2021-08-25 10:19:02 +01:00
Witek Bedyk and Marcus Efraimsson
65501cbad3
Licensing: Provide correct URL for AGPL license ( #36917 )
...
* Provide correct link for AGPL license
* Change LicenseURL to point go Grafana OSS page
* Keep utm_source query parameter
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2021-08-25 10:43:43 +02:00
dependabot[bot]
f8a0c38763
Bump path-parse from 1.0.6 to 1.0.7 ( #37789 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-25 10:17:34 +02:00
dependabot[bot]
c5df1c6430
Bump tar from 4.4.13 to 4.4.15 ( #37536 )
...
Bumps [tar](https://github.com/npm/node-tar ) from 4.4.13 to 4.4.15.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v4.4.13...v4.4.15 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-25 10:13:08 +02:00
Will Browne
1618d5ad6f
use most appropriate func for registering core plugins ( #38497 )
2021-08-25 10:08:48 +02:00