446 Commits

Author SHA1 Message Date
f9edaa5d78 docs: update angular alternatives (#75184)
* docs: update angular alternatives

* Update docs/sources/developers/angular_deprecation/angular-plugins.md

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>

---------

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
2023-09-28 10:48:49 +01:00
96cbe70b14 User: Support sort query param for user and org user, search endpoints (#75229)
* User: Add sort option to user search

* Switch to an approach that uses the dashboard search options

* Cable user sort on the org endpoint

* Alias user table with u in org store

* Add test and cover orgs/:orgID/users/search endpoint

* Add test to userimpl store

* Simplify the store_test with sortopts.ParseSortQueryParam

* Account for PR feedback

* Positive check

* Update docs

* Update docs

* Switch to ErrOrFallback

Co-authored-by: Karl Persson <kalle.persson@grafana.com>

---------

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2023-09-28 10:16:18 +02:00
bbdd1fc3b1 Playlist: Remove unused/deprecated api and unused wrapper (#75503) 2023-09-27 15:28:16 +00:00
9dc0c8be11 TimeSeries: Rename axisShow -> axisBorderShow (#75127)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-09-19 23:43:15 +03:00
9a077d5993 update svg panel guidance (#75076) 2023-09-19 10:34:25 +01:00
946da57b6a Correlations: Allow creating correlations for provisioned data sources (#73737)
* Allow creating correlations for provisioned data sources

* Update docs

* Fix linting

* Add missing props

* Add missing props

* Fix linting

* Fix linting

* Clarify error name

* Removed error handling for a non-existing use case

* Create a list of deleted data datasources based on all configs

* Add org_id to correlations

* Add tests

* Allow org_id to be null in case org_id=0 is used

* Create organization to ensure stable id is generated

* Fix linting

* Ensure backwards compatibility

* Add deprecation information

* Update comments

* Override existing datasSource variable so the UID is retrieved correctly

* Migrate correlations indices

* Default org_id when migrating

* Remove redundant default

* Make PK non-nullable

* Post merge fixes

* Separate data sources / correlations provisioning

* Adjust comments

* Store new data sources in spy store so it can be used to test correlations as well

* Fix linting

* Update tests

* Ensure response is closed

* Avoid creating duplicates during provisioning

* Fix updating provisioned column and update tests

* Rename error message

* Fix linting errors

* Fix linting errors and rename variable

* Update test

* Update pkg/services/sqlstore/migrations/correlations_mig.go

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Remove unused error

* Fix lining

---------

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-09-13 15:10:09 +02:00
9ecbe8dd64 Docs: Improve levels of headings in logs plugin documentation (#74752)
Docs: Improve levels of headings
2023-09-12 10:56:04 -07:00
ab963a8558 Alerting docs: quick corrections to oncall integration (#74758)
* Alerting docs: quick corrections to oncall integration

* corrects spelling errors
2023-09-12 19:46:03 +02:00
376f9a75db Folders: Do not allow modifying the folder UID via the API (#74684)
* Folders: Do not allow changing the folder UID via the API

* Update Swagger/OpenAPI docs

* Update HTTP API docs
2023-09-12 14:28:33 +03:00
89127d5ec9 Canvas: Button API - Add support for GET requests (#74566) 2023-09-11 08:03:52 -05:00
a4c8f04565 PublicDashboards: Create initial API docs (#74424) 2023-09-08 16:10:44 -03:00
a7425f875e Browse Dashboards: Update docs to remove reference to General folder (#74528)
* update documentation to remove mention of General folder

* update swagger-tags
2023-09-08 03:57:16 +01:00
44e51ffe8b Dashlist: Use new nested folder picker (#74011)
* Add new folderUID property

* Add nested folder picker + migration to UID

* fix folderUID

* comment
2023-09-07 13:57:31 +03:00
b0715816d8 Documentation linting on library_element docs (#74407)
* vale lint documentation changes

* run prettier

---------

Co-authored-by: unknown <antonio.caleromerello@grafana.com>
2023-09-06 20:49:05 +03:00
9ceaeed489 toggleLabelsInLogsUI: enable by default (#74342)
* GA toggleable labels

* Logs integration: update readme with new features

* Build a logs data source: update docs with the new interface

* Plugin docs: update example function signatures and arguments

* Plugin docs: update modifyQuery function names

* Formatting

* Remove character

* Remove `expr` from docs

* Plugin docs: improve code

* Plugin docs: further code improvements
2023-09-06 15:32:48 +02:00
d82a3c9fc6 DashboardScene: Repeat panel by variable (#74294)
* Progress

* think this a bad approach

* Scene panel repeats looking good

* Update

* update

* Update

* Use key instead for inspect/view

* refactorings to improve tests

* Update

* More tests

* Update

* added support for key / value variables

* Update

* Fixes

* remove log

* Update

* Removed old gdev templating dashboard and added new and improved one

* Update

* Added repeating panels coded demo

* Update to latest scenes lib

* review feedback fixes

* update

* Sync schema
2023-09-05 13:51:46 +02:00
f4c127a1d8 DashboardScene: Support panel relative time overrides and timeshift (#62844)
* Things are working

* update

* Added unit tests

* More tests

* minor fix

* Update

* Support hideTimeOverride
2023-09-01 10:21:41 +02:00
f97e1c81e6 Axis: Add separate show axis option (#74117)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-08-30 18:57:44 -07:00
d8fd4c2cbe Docs: Include Cloud support with RBAC API (#73522)
Update access_control.md

Update to show that RBAC HTTP API can be used with a Cloud account also.
2023-08-29 12:18:07 -07:00
74d453f056 DashboardSchema: Remove old unused legacy props style and timepicker.enable (#73879)
* DashboardScheam: Remove old unused legacy props style and timepicker.enable

* Update

* fix test
2023-08-28 12:18:17 +02:00
cb040a72bd access control api: Correction of typo in list your permissions endpoint (#64399)
Correction of API endpoint

Correction of an API endpoint in 'List your permissions' section. Current endpoint results in 404 page
2023-08-25 16:40:09 +02:00
65df5a0d7e Gauge: Add overflow scrolling support for vertical and horizontal orientations (#71690)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-08-23 03:08:11 +03:00
56f4def666 docs: update cloudflare and plotly angular guide (#73554)
* docs: update cloudflare and plotly angular guide

* fix typo
2023-08-21 11:06:05 +01:00
bb3a2d31d7 Docs: Update dashboards api create/update (#73345) 2023-08-17 12:20:00 -05:00
ccbd31fe1f docs: update signature level guidance (#73368)
docs: update signature level guidances
2023-08-17 09:54:18 +01:00
77dc6d532e Docs: Add plugin dev documentation for logs to trace (#73225)
* Docs: Add documentation for logs to trace

* Update

* Remove space

* Update docs/sources/developers/plugins/create-a-grafana-plugin/develop-a-plugin/build-a-logs-data-source-plugin.md

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>

* Replace deprecated MutableDataFrame with createDataFrame

* Update docs/sources/developers/plugins/create-a-grafana-plugin/develop-a-plugin/build-a-logs-data-source-plugin.md

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/develop-a-plugin/build-a-logs-data-source-plugin.md

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/develop-a-plugin/build-a-logs-data-source-plugin.md

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>

---------

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
2023-08-15 19:43:49 +03:00
a47577c8e8 Logs: Improve plugins developer documentation for logs APIs (#72441)
* Logs: Add plugins developer documentation for logs APIs

* Update

* Update

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update based on feedback

* Update common labels content

* Remove redundant comment notes

* Adjust code snippets

* Move documentation into ow to build a logs data source plugin

* Propose edits for enhancements to logs datasource plugins tutorial (#73074)

* Initial commiit

* Additional edits

* Additional edits

* Update docs/sources/developers/plugins/create-a-grafana-plugin/develop-a-plugin/build-a-logs-data-source-plugin.md

* Update docs/sources/developers/plugins/create-a-grafana-plugin/develop-a-plugin/build-a-logs-data-source-plugin.md

* Add required field info into a table

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
2023-08-14 10:02:48 +02:00
63ffd95110 docs: remove Moogsoft from angular list, update version for helm (#73204) 2023-08-11 16:40:10 +01:00
a70d2d39f6 docs: remove strava from angular plugin list (#73192) 2023-08-11 12:27:11 +01:00
eb6e19c7af Docs: Fix broken links to create-plugin docs (#72965)
* Fix broken links to create-plugin docs

* Typo fix

* Fix additional broken link

* Fix additional links
2023-08-09 14:53:53 -05:00
5eef8291e2 Add a warning in the documentation (#72975)
A partner complained in the name of a customer. They have 6k datasources and it took them some time to figure out why they only had 5k coming back.

This commit add a warning for this edge case, content is pretty clear.
2023-08-08 14:15:45 -07:00
3c4d2edb61 Docs: Update screenshots for generating an access token for signing a plugin (#73031)
updated screenshots path and name
2023-08-08 11:26:39 +02:00
ba3cbbef7f sign-plugin-docs: information of usage of a new token has been added to the docs (#72912)
* Documentation for signing a plugin has been updated

* changes after review

* small review change
2023-08-07 07:10:29 -07:00
b1fd399c10 Docs/k8s install update (#72567)
* added before you begin section

* just syncing up

* added namespace and yaml mainfest sections

* started the managed k8s section

* added external-ip section

* added minikube instructions

* added deployment rollout section

* added rolling update section

* added rollback stratgety section

* added the logging section

* fixed many typos

* Update docs/sources/setup-grafana/installation/kubernetes/index.md

* Update docs/sources/setup-grafana/installation/kubernetes/index.md

* Update docs/sources/setup-grafana/installation/kubernetes/index.md

* Update docs/sources/setup-grafana/installation/kubernetes/index.md

* Update docs/sources/setup-grafana/installation/kubernetes/index.md

* adjust codeblock spacing

* adjusts steps

* copy edit throughout

* Apply suggestions from code review

* more copy edit, updates links

* fixed minor typos

* Apply suggestions from code review

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>

* Apply suggestions from code review

* Apply suggestions from code review

* explained the dry-run example

* Move .codespellignore out of Drone so that technical writers can modify it

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Fix spelling errors

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Add .codespellignore CODEOWNER

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Chris Moyer <chris.moyer@grafana.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-08-03 08:53:13 -05:00
b6c8ac6dd1 Alerting: added description to api resource (#70597)
* added description to api resource

* prettier now
2023-08-03 10:15:26 +02:00
956b865a2e Docs update: /docs/sources/developers/http_api/user.md (#72430)
updated endpoint authentication
2023-08-02 13:26:16 -07:00
01100f83ba docs: remove broken plugin from Angular guidance (#72614)
aceiot-svg-panel fails to load in G10 and is therefore (currently) an unviable alternative
2023-08-01 21:33:46 -07:00
91c7096eda Flamegraph: Diff profile support (#72383) 2023-08-01 16:08:46 +02:00
a13130f503 Update team_sync.md (#70423) 2023-07-31 16:33:03 +01:00
d250927850 docs: fix broken links (#72582)
* docs: fix broken link

To reflect changes on plugin-tools site

* fix more links
2023-07-31 11:04:37 +01:00
50bd27b665 API: fix docs of users API (#62365) (#62816)
* API: fix docs of users API (#62365)

Behaviour described in the issue is correct.
So with this we add comment explaining this behaviour.

Resolves: #62365

* fixing formating

* Update docs/sources/developers/http_api/user.md

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

---------

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
2023-07-28 07:03:56 -07:00
cfb1656968 Alerting: Add notification policy provisioning file export (#70009)
* Alerting: Add notification policy provisioning file export

- Add provisioning API endpoint for exporting notification policies.
- Add option in notification policy view ellipsis dropdown for exporting.
- Update various provisioning documentation.
2023-07-24 17:56:53 -04:00
10ea92fa09 Schemas: minor updates from the k8s branch (#71688)
Co-authored-by: sam boyer <sdboyer@grafana.com>
2023-07-21 19:17:11 +03:00
13121d3234 Alerting: Add contact point provisioning file export (#71692)
* Add contact point provisioning file export apis

* Regenerate api

* docs

* frontend

* add mock to tests

* Fix missing row-level export button on viewer role w/ prov. read

* Address review comments

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2023-07-20 14:35:56 -04:00
62c6e04d70 Docs: fix broken links (#71911)
* Fix different broken links and missing pages

* Pin version in docs link for release announcements

* fixing validator error

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-07-20 12:39:59 -04:00
ac445a25d5 Kindsys: update generated doc and add check in CI (#71871)
* clean up docs

* fix Windows path issue

* add verify-gen-cue to doc pipeline

* fix linting error
2023-07-20 11:48:12 +02:00
ccc38e760c Docs: Fix instructions for backend Datasource plugins (#70381)
* Change references to plugin.go -> datasource.go

* Add section on starting Grafana in development mode

* Update docs/sources/developers/plugins/create-a-grafana-plugin/develop-a-plugin/build-a-data-source-backend-plugin.md

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>

* Clarify starting Grafana in dev mode

---------

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
2023-07-19 12:17:28 +02:00
3a50d7ea84 Docs: Update HTTP API docs for nested folders (#67412)
* Docs: Update HTTP API docs for nested folders

* Apply suggestions from code review

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-07-19 12:20:21 +03:00
017ab9ddd8 docs: add flowcharting-canvas migration, update styling (#71671)
* docs: add canvas migration, update styling

* docs: make pretty

* docs: add windrose alternative

* Add H1 and description

* Update docs/sources/developers/angular_deprecation/angular-plugins.md

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>

* Update docs/sources/developers/angular_deprecation/angular-plugins.md

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>

* Update docs/sources/developers/angular_deprecation/angular-plugins.md

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>

---------

Co-authored-by: Joe Perez <joseph.perez@grafana.com>
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
2023-07-18 22:56:20 +03:00
09dd7ae980 chore(cue): run make gen-cue (#71819) 2023-07-18 11:03:16 +02:00