Ashley Harrison
52d7358d83
Chore: More TypeScript strict fixes ( #39300 )
...
* Chore: More TypeScript strict fixes
* Chore: Use filter instead of reduce to fix TypeScript error
* Chore: Retype AzureResultFormat as string
* Chore: Account for getBlocks() poor typings of reduce
* Chore: Need to explicitly check for undefined here since '' is falsey
2021-09-17 09:47:23 +01:00
Dominik Prokop
5eb46281a4
Publishing packages: Add grafana/schema ( #39317 )
2021-09-17 10:14:28 +02:00
Gábor Farkas
8489575c84
prometheus: monaco: handle multiple query fields at the same time ( #39286 )
2021-09-17 09:50:19 +02:00
Grot (@grafanabot)
c457c03a9c
ReleaseNotes: Updated changelog and release notes for 8.2.0-beta1 ( #39291 )
...
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-09-17 09:28:44 +02:00
Gabriel MABILLE
4be9ec8f72
AccessControl: Protect org users lookup ( #38981 )
...
* Move legacy accesscontrol to middleware layer
* Remove bus usage for this endpoint
* Add tests for legacy accesscontrol
* Fix tests for org user and remove one more bus usage
* Added test for FolderAdmin as suggested in the review
2021-09-17 09:19:36 +02:00
Gábor Farkas
f8de33da8d
prometheus: query-editor: better duration-completions ( #39284 )
2021-09-17 09:05:37 +02:00
Tobias Skarhed
eefb5fe4ea
Devenv: Add a dashboard with all panels ( #38113 )
...
* Add a dashboard with all panels
* Remove nulls from exported JSON
* Remove link, add orientation
* Open base panel structure for unknown panel types
* Fix all panels dashboard
* Update
Co-authored-by: sam boyer <sdboyer@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-09-16 18:21:46 +02:00
Ashley Harrison
d0ae3a324f
Update ci-check-strict.sh ( #39298 )
2021-09-16 16:51:35 +01:00
Alexander Emelin
87cdda4106
Live: return pipeline menu, now with feature toggle ( #39280 )
2021-09-16 08:34:12 -07:00
Connor Lindsey
9c4e7eb659
Tempo: Run search query with keyboard shortcut from input fields ( #39247 )
...
* Tempo: Run query with keyboard shortcut from duration fields
2021-09-16 09:26:34 -06:00
gotjosh
7db97097c9
Alerting: Support Unified Alerting with Grafana HA ( #37920 )
...
* Alerting: Support Unified Alerting in Grafana's HA mode.
2021-09-16 15:33:51 +01:00
Petros Kolyvas
92209f1011
Docs: Add whats new link to What's New index page ( #39294 )
...
* Initial draf
* Added the what's new in 8.2 link to the what's new parent page
2021-09-16 16:11:52 +02:00
Connor Lindsey
c57ff8beed
Tempo: Format tempo search query history text ( #39250 )
...
* Format tempo search query history text
2021-09-16 08:04:15 -06:00
Agnès Toulet
b7eac0f655
Docs: Move image renderer doc to its own section and add configuration doc ( #38759 )
...
* Move image renderer doc to its own section and add configuration doc
* revert unwanted changes
* remove unwanted formatting
* revert change
* Improve configuration section
* update default flags for 3.1.0 update
* Clean up and add some links
* fix broken links
* clean up notes & links and small updates
* fix after merge
* fix broken link
* fix typo
* Apply suggestions from code review
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
* Apply PR feedback
* Update monitoring.md
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update troubleshooting.md
* add alias for old image rendering doc page
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-09-16 15:53:43 +02:00
Petros Kolyvas
10066cdb8d
Docs: Initial draft of What's New in Grafana 8.2 for the 8.2 beta ( #39257 )
...
* Initial draf
* Update whats-new-in-v8-2.md
Removing fiscal year / fiscal quarter until we're confident.
2021-09-16 10:22:14 -03:00
Grot (@grafanabot)
06782207ed
ReleaseNotes: Updated changelog and release notes for 8.1.4 ( #39288 )
...
* ReleaseNotes: Updated changelog and release notes for 8.1.4
* Chore: changed threshold for now
* add link to 8.1.4 release notes
Co-authored-by: Erik Sundell <erik.sundell@grafana.com>
2021-09-16 14:15:32 +02:00
Assaf Dayan
64f898c5f6
Explore: Fixed default data source loading ( #37059 )
...
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2021-09-16 12:07:27 +02:00
Levente Balogh
02f9564607
Plugins Catalog: show a confirmation modal when uninstalling a plugin ( #39244 )
...
* feat(Plugins/Admin): show a confirmation modal when uninstalling a plugin
* refactor(Plugins/Admin): use a helper function for showing/hiding the modal
* test(Plugins/Admin): test if the modal disappears after an uninstall
2021-09-16 11:27:29 +02:00
kay delaney
35f1d0facb
AdHocFilter: Adds min width to segment input ( #39225 )
...
Closes #38937
2021-09-16 09:37:43 +01:00
Andres Martinez Gotor
fc632276f1
Update release notes and what’s new links ( #39277 )
2021-09-16 10:32:40 +02:00
Torkel Ödegaard
95fd659bfc
SideMenu: Remove live section from main side menu ( #39278 )
2021-09-16 10:12:54 +02:00
Peter Holmberg
4f7e1db57c
Graphs: Fix threshold handle being visible in dashboards ( #39270 )
2021-09-16 08:59:36 +02:00
rodrigosilva-ciandt
b5ed47c95c
Docs: Update azuread docs to mention about env variables ( #39203 )
...
* Update azuread docs to mention about env variables
Add a note about the name of the environment variables to be used for configuring client_id and client_secret
* Update docs/sources/auth/azuread.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/auth/azuread.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* fix typo
* Revert "fix typo"
This reverts commit ff84f70773
.
* Fixed typo again, trying to kick start license check.
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
2021-09-15 21:47:03 -04:00
Santiago
c3cf95f383
Revert "Alerting: add template funcs ( #38404 )" ( #39258 )
...
This reverts commit d6fb0181fb
.
2021-09-15 19:47:22 -03:00
Santiago
0d2e68537c
Alerting: Cleanup template, silence and notification files created du… ( #39007 )
...
* Alerting: Cleanup template, silence and notification files created during tests
* Create tempdir for testing, delete afterwards and check for errors
* Refactoring error checks
* Update docs/sources/enterprise/access-control/fine-grained-access-control-references.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/enterprise/access-control/fine-grained-access-control-references.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-09-15 18:48:52 -03:00
Santiago
d6fb0181fb
Alerting: add template funcs ( #38404 )
...
* Alerting: (wip) add template funcs
* Alerting: (wip) numeric template functions
* Alerting: (wip) template functions
* Test for the "args" function
* Alerting: (wip) Documentation for template functions
* Alerting: template functions - refactor
* code review changes
* disable linter error
* Use Prometheus implementation of TemplateExpander
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-grafana-managed-rule.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-09-15 18:48:29 -03:00
Ryan McKinley
cde133fe05
Canvas: use grafana datasource to list resource files ( #39204 )
2021-09-15 14:48:11 -07:00
Marcus Efraimsson
e31b8f4d33
Chore: Remove SQL engine cache ( #39254 )
...
Fix bug with engine cache not updating after data source updated, introduced in #36635 .
Removes the SQL engine cache because since #36635 we already have instance caching in place using the SDK instance manager.
This also adds support for disposing cached SQL/xorm engines before a query happens to a data source that has been updated. Done by letting the SQL engine implementing the InstanceDisposer interface.
Fixes #37299
2021-09-15 23:03:25 +02:00
Atif Shoukat Ali
64ff15c157
Live: default to constant label value for pipeline ( #39211 )
2021-09-15 13:10:52 -07:00
Maarten De Wispelaere
3d0fa70b3b
Docs: Added "manageAlerts" provisioning option. ( #38836 )
...
* add "manageAlerts" option to prov. docs
* Update docs/sources/administration/provisioning.md
Takes into account suggestion from @domasx2
Co-authored-by: Domas <domasx2@gmail.com>
* Revert "Update docs/sources/administration/provisioning.md
"
This reverts commit d7085355a6
.
* Adding content back.
Co-authored-by: Domas <domasx2@gmail.com>
Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
2021-09-15 14:32:30 -04:00
Leon Sorokin
fb091de2c7
BarChart: Fix legend and tooltip colors off by 1 after data refresh ( #39234 )
2021-09-15 13:10:26 -05:00
sam boyer
2a4b08eab9
Apply cuetsy attrs to PanelSchema ( #39112 )
2021-09-15 12:27:47 -04:00
Vardan Torosyan
8537b36be2
Access control: Document new permissions restricting access for reloading provisioning configuration ( #38906 )
...
* Access control: Document new permissions restricting access for reloading provisioning configuration
* Apply suggestions from code review
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-09-15 17:58:20 +02:00
Dan Cech
f8ae71af5b
Usage Stats Updates ( #39235 )
...
* add randomly-generated anonymous id to usage reports
* include uptime in stats
* add last_sent tracking, remove metricsLogger
2021-09-15 11:47:44 -04:00
Peter Holmberg
74beb9a64c
Alerting: Edit thresholds by handle in timeseries panel ( #38881 )
...
* POC/Thresholds: Allow thresholds modification directly from the time series panel
* Snapshot updates
* Optimize styles memoization
* change threshold from graph
* renames and logging
* using useeffect to update graph
* Fix react worning about setting state on unmounted component
* revert panelrenderer
* using onFieldConfig change
* use a useeffect
* simplied fieldConfig state
* Do not use plot context in ThresholdControlsPlugin
* Do not throw setState warnings when drag handle is dropped
* Update thresholds position on the graph when updating threshold drag handle
* fix issues with rerenders
* prevent thresholds on conditions with range
* only edit the first threshold
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-09-15 17:35:12 +02:00
Josh Hunt
b3196621f1
AzureMonitor: Fix template variables being cleared out ( #39173 )
...
* AzureMonitor: Fix template variables being cleared out
* fix metric namespace from resetting
* tests :)
2021-09-15 16:31:37 +01:00
Giordano Ricci
f79173c99d
Explore: Reuse Dashboard's QueryRows component ( #38942 )
...
* WIP
* Functional without custom wrapper component, needs highlight
* Remove latency from explore
* Sync eventbus
* Some cleanup & removal of unused code
* Avoid clearing queries when running all empty queries
* Run remaining queries when removing one
* Update snapshots
* fix failing tests
* type cleanup
* Refactor QueryRows
* update snapshot
* Remove highlighter expressions
* minor fixes in queryrows
* remove unwanted change
* fix failing e2e test
* Persist refId in explore url state
* make traces test slightly more robust
* add test for query duplication
2021-09-15 16:26:23 +01:00
Domas
e251863085
Alerting: validate recording rule name ( #39136 )
2021-09-15 18:24:26 +03:00
Marcus Andersson
aba8af1d59
Docs: plugin migration guide 7.0.0 to 8.0.0 ( #38911 )
...
* restructuring to new storybook inspired structure.
* added instructions on how to handle breaking changes in the legend.
* start adding migration steps for 7 -> 8
* added information about the data frame format changes.
* added plugin.json changes.
* added emotion 11 imports.
* added information about theme v1 being deprecated.
* added steps for backend plugin migration.
* added reference to the migrate hooks v6 -> v7.
* docs(pluginmigration): introduce getColorForTheme changes
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
* docs(migration-guide): introduce useStyles to v8 deprecation notes
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* suggestion from review.
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* docs(Migration Guide): update the example for `grafanaDependency`
* docs(Migration Guide): remove the time-series migration part for now
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* docs(Migration Guide): update wording about plugin signing
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-09-15 17:23:10 +02:00
Andrew Burian
e4c80d1269
Update silences.md ( #38834 )
...
* Update silences.md
minor correction in not equals regex
* Update docs/sources/alerting/unified-alerting/silences.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-09-15 10:59:18 -04:00
Andrej Ocenas
515d6afec3
CloudWatch Logs: Disable query path using websockets (Live) feature ( #39231 )
...
* Use only non live branch for querying logs.
* Update tests
* fix lint
2021-09-15 16:28:34 +02:00
Domas
264946f37f
Graph: make old graph panel thresholds work even if ngalert is enabled ( #38918 )
2021-09-15 16:15:50 +03:00
Alexander Kubyshkin
32946ec9b1
Table panel: Fix table column resize handle incorrect z-index ( #36934 ) ( #39157 )
2021-09-15 13:26:11 +02:00
Erik Sundell
9d3f4f5983
Analytics: Instrument Azure Application Insights ( #38553 )
...
* add backend
* read config and pass to backend
* update config docs
* change var name
* use connection string instead of instrumentation key
* add config for endpoint url. update docs
* update default ini
* add spaces
* remove space
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update conf/defaults.ini
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update conf/defaults.ini
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-09-15 13:00:38 +02:00
Serge Zaitsev
6005e6572d
Chore: fix param names in ctx.ParamsInt64 ( #39223 )
2021-09-15 12:14:15 +02:00
Dimitris Sotirakis
fdc681788b
InfluxDB: Fix regex to identify /
as separator ( #39185 )
...
* Fix regex to identify / as separator
* Update regex
2021-09-15 09:37:33 +01:00
Erik Sundell
c621131fff
remove code that was duplicated by accident ( #39212 )
2021-09-15 10:32:01 +02:00
Jim McDonald
1aaa00a1e4
Value mappings: add regex value mapping. ( #38931 )
2021-09-14 17:15:14 -07:00
Alexander Emelin
15e278e9e1
Live: search for pipeline files in data folder ( #39198 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-09-14 22:27:51 +02:00
Alexander Emelin
548b4daa49
Live: up centrifuge to v0.18.4 ( #39139 )
2021-09-14 11:31:04 -07:00