b0fc736e7a
Remove Annotations API version reference ( #57057 )
...
Remove minimum version reference in Annotations API docs, since docs are versioned and this feature has been released for years.
2022-11-21 10:07:59 +00:00
101ce57a94
RBAC: Allow listing user permissions with scope ( #57538 )
...
* RBAC: Allow listing user permissions with scope
* Add docs
* Document the api endpoint
* Update docs
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Split endpoint in two
* document reloadcache
* Update docs/sources/developers/http_api/access_control.md
* Fix test
* Ieva's nit.
* Simplify flag description
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
2022-11-02 10:48:11 +01:00
b9a0576638
docs: Refactors remaining enterprise topics, corrects relrefs ( #57707 )
...
* moves topics, correct relrefs
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/administration/data-source-management/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/setup-grafana/configure-security/audit-grafana.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/setup-grafana/configure-security/configure-request-security.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/setup-grafana/configure-security/configure-team-sync.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/administration/data-source-management/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/administration/recorded-queries/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* removes link that goes nowhere
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
2022-10-28 07:13:40 -05:00
998093a280
Docs: more refactoring for alerting ( #57741 )
...
* docs: more refactoring alerting
* performance limitations
* typo
* fix relrefs
2022-10-27 13:21:02 +01:00
2bed451990
Docs: Contextualize base64 encoding in Basic Authorization ( #57046 )
2022-10-17 08:53:17 -07:00
83aa006c98
Add Alerting API to list of HTTP APIs ( #56863 )
...
This link has been asked many times and is only viewable on old docs pages.
2022-10-13 15:09:49 +02:00
bc9a37ee8d
Glue: Add configuration support to PATCH ( #56117 )
...
* feat: add config to tests v0
* feat: add config to UpdateCorrelationCommand
* refactor: repair some tests
* refactor: repair another test
* refactor: repair last test
* refactor: remove possible test
* refactor: add comments
* refactor: add changes from code review
* refactor: implement more detailed patch
* feat: add tests for partial config update
* refactor: make error handling more detailed
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2022-10-10 15:36:14 +02:00
939caa67a2
Docs: adds alertmanager overview ( #56527 )
...
* Docs: adds alertmanager overview
* updating with georges feedback
* adds deprecation note to API docs
* update to provisioning instuctions
2022-10-07 10:26:51 +01:00
489b302c03
Glue: Correlations minor APIs behavior improvements ( #56078 )
...
* add correlation config type, CorrelationConfig validator & default values
* make config required when creating correlations
* make targetUID optional, add validation for createCommand & configType
* fix tests
* update remaining tests
* fix lint error
* Update pkg/services/correlations/models.go
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* update docs
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2022-10-04 09:39:55 +01:00
71578d0932
Docs: Document Reporting API ( #55434 )
...
* Docs: Document reporting api
* Update docs/sources/developers/http_api/reporting.md
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update docs/sources/developers/http_api/reporting.md
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update docs/sources/developers/http_api/reporting.md
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Document the rest of endpoints
* Document more endpoints
* Fix scopes and links
* Remove rendering endpoints
* Fix status codes
* Apply review feedback
* Typo
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2022-09-28 17:03:43 +02:00
96cb415497
Docs: Describe applying a license ( #55078 )
...
* Docs: Describe adding a license via API
* Add missing word
2022-09-23 11:57:51 +02:00
a98a33774b
Docs: Fix relrefs in access control API docs ( #51940 )
...
* Fix relrefs in access control API docs
* Apply Prettier changes to fix CI
2022-09-22 15:13:23 -04:00
e15c8cf535
Docs: moves reporting docs per customer request ( #54591 )
...
* moves reporting docs per customer request
* corrects relrefs
* adjusts link and menutitle
* corrects typo
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-09-08 08:55:57 -05:00
ca3296da34
Docs: refactors and copy edits share dashboard topics ( #53972 )
...
* refactors and copy edits share dashboard topics
* fixes typo
* incorporates feedback
* completes splitting out reporting and playlists
2022-08-25 08:19:28 -05:00
2fef8e6f2c
Alerting: add docs for file provisioning ( #53101 )
2022-08-17 18:53:36 +02:00
c1b30c56c9
Correlations: Add GetCorrelation(s) HTTP APIs ( #52517 )
...
* Correlations: Get Single correlations
* Correlations: Get all correlations for given source ds
* Correlations: Get all correlations
* add tests
* add DB indices
* fix lint errors
* remove skip from tests
* use DatasourceService in test
2022-08-11 16:58:11 +01:00
2107652c3f
Docs: Adding hint about healthcheck not being mandatory ( #53308 )
2022-08-04 18:51:52 +02:00
09c4dbdb9f
Correlations: Add UpdateCorrelation HTTP API ( #52444 )
...
* Correlations: add UpdateCorrelation HTTP API
* handle correlation not found
* add tests
* fix lint errors
* add bad request to API spec
* change casing
* fix casing in docs
* fix tests
* update spec
2022-08-03 14:18:51 +01:00
c56aae6f63
Docs: update annotations API docs to include required field ( #52644 )
...
* Update annotations.md
A minor change to include the required fields when creating a new annotation via the annotations API. The error message when fields are missing is not descriptive and there is no indication in the current documentation (that I can see anyway) that would indicate these fields are required.
* Update annotations.md
Update required json body fields to only include fields that are actually required.
* Add required field in Swagger
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2022-08-03 08:01:25 +00:00
d06ea6ea0e
fixes links ( #52899 )
2022-07-27 14:06:35 -05:00
9a06b00e92
Correlations: Add DeleteCorrelation HTTP API ( #51801 )
...
* Correlations: add DeleteCorrelation HTTP API
* fix error message copy
* add readonly check
* add source_uid in delete condition
* make path singular
* Revert "make path singular"
This reverts commit d15be89578e202e5cb64a3e964ee09521b72d87c.
* add tests
* fix lint errors
* fix lint errors
* change casing
* update spec
* Remove transaction
* change casing in param name in docs
2022-07-27 09:07:58 +01:00
4b2144fe40
Correlations: change casing of *UID properties ( #52836 )
...
* Correlations: change casing of *UID properties
* add link to correlations HTTP API
2022-07-27 07:01:46 +01:00
86283bb99e
Chore: Rename dashboardUID to dashboardUIDs in search endpoint and up… ( #52766 )
...
* Chore: Rename dashboardUID to dashboardUIDs in search endpoint and update doc
* make it backward compatible
2022-07-26 22:28:14 -04:00
7da0a6d3ce
Chore: Add dashboard UID as query parameter of Get annotation endpoint ( #52764 )
...
* Chore: Add dashboard uid as query parameter of Get annotation endpoint
* Update pkg/api/annotations.go
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
* update the dashboarUID
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2022-07-26 21:52:34 -04:00
e947910910
Service accounts: update docs ( #52734 )
...
* update the docs
* Update docs/sources/administration/service-accounts/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2022-07-26 09:44:12 +01:00
ac502e5013
Chore: add dashboarduid in the connection endpoint response ( #52761 )
...
* Chore: add dashboarduid in the connection endpoint response
* add uid of dashboard in the markdown
2022-07-25 18:55:28 -04:00
5ce4baf6f5
Correlations: Add CreateCorrelation HTTP API ( #51630 )
...
* Correlations: add migration
* Correlations: Add CreateCorrelation API
* Correlations: Make correlations work with provisioning
* Handle version changes
* Fix lining error
* lint fixes
* rebuild betterer results
* add a UID to each correlation
* Fix lint errors
* add docs
* better wording in API docs
* remove leftover comment
* handle ds updates
* Fix error message typo
* add bad data test
* make correlations a separate table
* skip readonly check when provisioning correlations
* delete stale correlations when datasources are deleted
* restore provisioned readonly ds
* publish deletion event with full data
* generate swagger and HTTP API docs
* apply source datasource permission to create correlation API
* Fix tests & lint errors
* ignore empty deletion events
* fix last lint errors
* fix more lint error
* Only publish deletion event if datasource was actually deleted
* delete DS provisioning deletes correlations, added & fixed tests
* Fix unmarshalling tests
* Fix linting errors
* Fix deltion event tests
* fix small linting error
* fix lint errors
* update betterer
* fix test
* make path singular
* Revert "make path singular"
This reverts commit 420c3d315e83ef9a7154766c812a24c7b02fc104.
* add integration tests
* remove unneeded id from correlations table
* update spec
* update leftover references to CorrelationDTO
* fix tests
* cleanup tests
* fix lint error
2022-07-25 15:19:07 +01:00
18867d6d78
Service account: Ensure that you can revert only service accounts which you can access ( #52626 )
...
* Service account: Ensure that you can revert only service accounts which you can access
* Remove prettier messup with docs
* Remove prettier messup with docs
* Prettier run
2022-07-22 10:35:01 +02:00
7251b8524f
Service accounts: Update docs to mention about reverting token to API key ( #52608 )
...
* Service accounts: Update docs to mention about reverting token to API key
* Update docs/sources/administration/api-keys/_index.md
2022-07-21 18:56:41 +02:00
60da9eaac5
Docs: Fix access-control links ( #52537 )
2022-07-20 18:01:05 +02:00
e6b9ded949
API: Add service account routes to the swagger ( #52398 )
...
* API: Add service account routes to the swagger
2022-07-19 12:52:51 +03:00
9abe9fa702
Encryption: Expose secrets migrations through HTTP API ( #51707 )
...
* Encryption: Move secrets migrations into secrets.Migrator
* Encryption: Refactor secrets.Service initialization
* Encryption: Add support to run secrets migrations even when EE is disabled
* Encryption: Expose secrets migrations through HTTP API
* Update docs
* Fix docs links
* Some adjustments to makes errors explicit through HTTP response
2022-07-18 08:57:58 +02:00
73f4d7ac05
Service accounts: Update documentation with new changes ( #52015 )
...
* Service accounts: Update documentation with new changes
* Apply suggestions from code review
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
* Add sections about migration, handle comments
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2022-07-11 21:32:07 +01:00
b808cd4432
Documentation: Show that admin/pause-all-alerts is only for legacy. ( #51862 )
...
Fixes #51728
2022-07-11 15:39:25 +08:00
1c6ee69c2d
Fix relrefs in devloper docs ( #51942 )
2022-07-08 12:21:29 -07:00
5eaba5b5b2
Service account: Update service accounts creation ( #51848 )
2022-07-07 17:32:56 +01:00
c6ab87008a
Dashboard: Remove super old prop that has not been used in years ( #50826 )
2022-06-17 14:55:35 +02:00
a33a023629
backend: add PlaylistUIDs to Playlist; remove playlist IDs from API ( #49609 )
...
* backend/api: refactor PlaylistId to PlaylistUid
* Add org_id to Get and Update playlist functions
Fix migration - no longer pad the uid; fix mysql syntax
The relevant tests are passing using postgres, mysql and the default sqllite backends, but there are a number of other failing tests when using postgres and myself so I'm not entirely confident with those results.
* fix bad query in GetPlaylistItem and add a test that would have caught the mistake in the first place. Reverted the playlist_uid column addition in playlist_item; it became unnecessary after this PR.
Added default value to the new UID column based on PR feedback.
* break this PRs migration into its own function
* Playlists: Update UI to use the updated API
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2022-06-14 15:32:52 -04:00
4cc3bc37a0
Use more relevant links to legacy alerting documentation ( #50607 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-06-13 16:14:32 +02:00
0ddb3b7521
Query history: Add swagger definitions ( #50498 )
...
* Query history: Add swagger definitions
* Update
* Remove changes in generated files
* Generate api files
* Add query history into api docs
* Add examples for commands
* Add missing parameters
* Generate api-spec and api-merged
* Fix linting
* Fix showing of example of queries
* Revert "Fix showing of example of queries"
This reverts commit b1eb073fbe26fd41351226dde7bdca33838c78f7.
* Update
* Update
2022-06-13 09:47:40 +02:00
862f51216b
Alerting: improve provisioning docs ( #50347 )
...
* Alerting: improve provisioning docs
* add new provisioning page
* add api docs
* fix formatting and add better descriptions
* fix typo
2022-06-10 16:25:15 +02:00
e0e76f0252
Fixes term Grafana Alerting ( #50404 )
2022-06-08 13:35:37 +02:00
a568d421f8
Docs: Setup refactor ( #49739 )
...
* builds out refactored setup topics
* Automatically fix some relrefs with mv-manager
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Use refs for tutorials content which is outside of this repository
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Manually fix complicated relrefs
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* consolidates team sync and db encryption topics
* Fix relrefs
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* updates setup index file
* Convert TOML to YAML
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Add current alias for new alerting content
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Add current aliases to new setup-grafana and configure-security pages
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* moves saml docs, updates order in TOC
* Manually fix relrefs
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* added usage insights topics, adjusted weights
* corrected relrefs
* Fix relrefs broken in rebase
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-06-02 11:57:22 -05:00
5dbea9996b
RBAC: Make RBAC action names more consistent ( #49730 )
...
* update action names
* correctly retrieve teams for signed in user
* remove test
* undo swagger changes
* undo swagger changes pt2
* add migration from old action names to the new ones
* rename from list to read
* linting
* also update alertign actions
* fix migration
2022-06-02 13:14:48 +01:00
abfc711c53
Plugins: Remove deprecated /api/tsdb/query metrics endpoint ( #49916 )
...
* remove /api/tsdb/query
* revert changes to alert rules
* regenerate spec based on 9.0.x
2022-06-01 13:05:15 +02:00
0a23299878
Fix typo in curl command ( #46729 )
...
* Fix typo in curl command
Co-authored-by: eleijonmarck <eric.leijonmarck@gmail.com>
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Fix typo in another curl command
Co-authored-by: eleijonmarck <eric.leijonmarck@gmail.com>
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: eleijonmarck <eric.leijonmarck@gmail.com>
2022-05-30 14:02:04 +02:00
8c84d62e3d
Docs: combines all SAML topics into one topic ( #49443 )
...
* combines all SAML topics
* resolves merge conflicts
* makes prettier
2022-05-27 07:42:51 -05:00
b84294dd27
Convert TOML front matter to YAML ( #49690 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-05-26 11:06:25 -04:00
060af782df
Docs: Add deprecation notices for datasource endpoints ( #49411 )
...
* Update markdown
* Update swagger
2022-05-23 16:11:47 +02:00
be0d043673
API: Add endpoint for updating a data source by its UID ( #49396 )
...
* API: Add endpoint for updating a data source by UID
* Update docs markdown
* Update swagger
* Apply suggestions from code review
Co-authored-by: Selene <selenepinillos@gmail.com>
2022-05-23 15:13:13 +02:00