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>
Azure: Improved column handling in logs query builder (#114667)
* Add parameter type field
* Use parameterType to filter columns for aggregation funcs
* Add tests for aggregate components
(cherry picked from commit ff4228bd58)
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
Azure: Include aggregate columns in logs builder (#114684)
* Include groupBy and aggregate columns
* Order by tests
(cherry picked from commit 94b7d6f7b8)
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
Chore: Bump express and js-yaml (#114696)
* Bump express version
* Bump js-yaml version
* Force resolution of js-yaml 4.1.0 to 4.1.1
(cherry picked from commit 09883ab4ee)
Dashboard Controls: Display dashboard links on the right side of the toolbar (#114378)
* have dashboard links on the right side
* Lets try a compromise (#114389)
Try to compromise on white space. Having a lot of links will create unessecary empty space under the time controls, but it is necessary if we want to be able to have the links on the right
---------
(cherry picked from commit 8227ecb499)
Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com>
Dashboards: Wrap links and data layer controls in divs to make them behave like variables (#113927)
Wrap links and data layer controls in divs to make them float together with variables
(cherry picked from commit a59c4e2fcc)
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
Dynamic dashboards: Fix empty space under time controls when dashboard has many variables (#113765)
* fix space under time controls by using floats instead of flex
* remove commented out styles
* adjust spacing: use marginBottom and reduce bottom padding
* make Add variable button float inline with variables
(cherry picked from commit ae8a8cf16e)
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
PanelChrome: Wrapping div needs height: 100% as well (#114655)
wrapping div needs height: 100% as well
(cherry picked from commit 7f1ac6188a)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>