InspectJsonTab: Force render the layout after change to reflect new gridPos (#115688)
force render the layout after inspect panel change to account for gridPos change
(cherry picked from commit 0a0f92e85e)
* eocs: Added a troubleshooting guide for MSSQL, plus some updates (#116088)
* added troubleshooting guide
* cleaned up the intro doc
* cleaned up the before you begin section in the configure doc
* changed a note to a tip
* changed to troubleshooting for cohesion
* final edits
* minor clean up item
* added note about Kerberos not being supported in Cloud
* punctuation fixes
(cherry picked from commit 880bc23c85)
* added missing ref URI
docs(alerting): new best practices guide (#115687)
* Split best practices section
* Write Examples and Guides docs
* Move recording rule recommendations
* docs(alerting): new best practices guide
* fix vale errors
* Detail meaning of alert `escalation`
* Include the recovery threshold option
* Include lower severity channels for infrastructure alerts
* Remove timing options
* minor intro edits
* Rename heading to avoid gerunds
(cherry picked from commit 0bfcc55411)
Docs: Created a troubleshooting guide for CloudWatch (#115603)
* created new troubleshooting doc
* fixed dropdown
* fixed another linter issue
* ran prettier
* updates based on feedback
(cherry picked from commit 1465b44d5a)
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
Alerting: Fix a race condition panic in ResetStateByRuleUID (#115662)
(cherry picked from commit 096208202e)
Co-authored-by: Alexander Akhmetov <me@alx.cx>
Alerting: Fix url rule form parsing (#113513)
Fix alertRuleFormSchema to properly handle query model objects
(cherry picked from commit 6746207c36)
Co-authored-by: Konrad Lalik <konradlalik@gmail.com>
update documentation to mention protected fields (#114809)
* update documentation to mention protected fields
* alerting docs: add protected field info for grafana cloud
add protected field info for grafana cloud
* prettier
* link fix
---------
(cherry picked from commit 0aeb4feef3)
Co-authored-by: Johnny Kartheiser <140559259+JohnnyK-Grafana@users.noreply.github.com>
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
CI: Remove the default alpine & ubuntu versions so that the ones in Dockerfile (#115544)
* Remove the default alpine & ubuntu versions so that the ones in Dockerfile are used
* set default to just 'alpine' or 'ubuntu'
* use defaults instead
(cherry picked from commit 39fa6559ee)
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com>
Created Troubleshooting guide for MySQL data source plugin (#114737)
* created troubleshooting guide for mysql data source plugin
* Apply suggestions from code review
thanks for the code review
* rename file from _index.md to index.md
* Update docs/sources/datasources/mysql/troubleshoot/index.md
---------
(cherry picked from commit bc88796e6e)
Signed-off-by: Usman Ahmad <usman.ahmad@grafana.com>
Co-authored-by: Usman Ahmad <syed_usman_ahmed@hotmail.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Alerting: Protect sensitive fields of contact points from unauthorized modification
- Introduce a new permission alert.notifications.receivers.protected:write. The permission is granted to contact point administrators.
- Introduce field Protected to NotifierOption
- Introduce DiffReport for models.Integrations with focus on Settings. The diff report is extended with methods that return all keys that are different between two settings.
- Add new annotation 'grafana.com/access/CanModifyProtected' to Receiver model
- Update receiver service to enforce the permission and return status 403 if unauthorized user modifies protected field
- Update receiver testing API to enforce permission and return status 403 if unauthorized user modifies protected field.
- Update UI to disable protected fields if user cannot modify them
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>
* Chore: Run annotation data migration in batches (#113589)
* run annotation data migration in batches
* how could i miss it
* run in the background, starting from newest annotations
* update tests
* optionally pass batch size via env
(cherry picked from commit 95e65e2588)
* update mysql query
---------
Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com>
DOCS: Overhaul Azure Monitor data source docs (#115121)
* continued edits
* authentication updates
* added more info to configure doc
* started work on query editor
* reviewed the configure doc, consolidated sections
* fixed issue with headings
* fixed errors
* updates to the template variables doc
* created initial troubleshooting doc
* removed gerunds and fixed heading issues
* new annotations doc added
* more updates to query editor
* fixed spelling
* fixed some linter issues
* fixed flow for the intro doc
* updates to the intro doc
* fixed transformation links
* added review date to front matter
* ran prettier
* added a new alerting doc
* linter updates
* some final edits
* ran prettier again
* Update docs/sources/datasources/azure-monitor/configure/index.md
* Update docs/sources/datasources/azure-monitor/configure/index.md
* Update docs/sources/datasources/azure-monitor/troubleshooting/index.md
* edits based on feedback
* removed all relative reference links
* ran prettier
---------
(cherry picked from commit 3459c67bfb)
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
Docs: Added troubleshooting guide for the InfluxDB data source (#115191)
* Docs: Add troubleshooting guide for InfluxDB data source
* linter fixes, updates based on feedback
(cherry picked from commit 37ccd8bc3d)
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
Add new glossary word (#115070)
* Docs: Add grafanactl term to glossary
* Edit to adapt to Glossary def length
* Fix
* Real fix
* Fix link
---------
(cherry picked from commit ada14df9fd)
Co-authored-by: Anna Urbiztondo <anna.urbiztondo@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Plugins: Add PluginContext to plugins when scenes is disabled (#114989)
Plugins: Add PluginContext to plugins when scenes is disabled
(cherry picked from commit d1761606fb)
Azure: Fix `dcount` aggregation (#114666)
* Add parameter type field
* Use parameterType to filter columns for aggregation funcs
* Support selecting column for dcount aggregation
(cherry picked from commit b719aea078)
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>