Virginia Cepeda
e796063a1e
Alerting: Reorder new alert and export buttons ( #68418 )
...
* Add component for rule creation and dropdown
* Make each route type have a different path
* Remove unneeded import
* Fix tests
* Rename CreateRuleButton to MoreActionRuleButtons
* Remove Recording Rule option from new rule form
* Use alerting and recording for path params on new rules
* Fix tests
* Only show new button if permissions are granted
* Fix tests
2023-05-31 10:56:54 -03:00
Kristina
c2a9d48dd6
Correlations: Show labels fields that have links ( #69120 )
...
* Show labels fields that have links
* Fix test
* Do not safestringify strings and numbers
2023-05-31 08:46:33 -05:00
Isabel
d4ef06451c
docs: What's New & Upgrade Guide 10.0 ( #64927 )
...
* updated what's new index and added v10.0 what's new and upgrade guide
* Update _index.md
* Added nested folders
* Nested folders screenshot
* Add draft of Correlations what's new content
* Correlations minor edit
* add dashboards whats new
* What's new: Query multiple data sources in Explore
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* AuthNZ: What's new in Grafana 10.0 (#66362 )
* AuthNZ: What's new in Grafana 10.0
* Add upgrade guides
* Apply suggestions from code review
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
* Apply suggestions from code review
Co-authored-by: Jo <joao.guerreiro@grafana.com>
* Apply suggestions from code review
Co-authored-by: Jo <joao.guerreiro@grafana.com>
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Jo <joao.guerreiro@grafana.com>
* Added span filters section
* add info about dashboard previews removal
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
* add datagrid and drag and drop
* combine new ds picker and panel onboarding content
* Logs: Add LogContext to What's New v10 (#66575 )
* add log context description
* change `eyeball button` to `eye icon`
* Adds Alerting entries for 10
* Add Azure Monitor entry for v10
* add public dashboards features
* small tweaks to public dashboards content
* Add Security: Trusted types section
* Add DataViz: initial placeholder sections with some content
* Adds alerting entry for templates
* Adds an and
* update headings
* fix link format and update wording
* nesting topics under dashboards and visualizations, updated headers
* Adds oncall contact point entry
* Copyedits for oncall alerting entry
* add incremental querying blurb to whats-new
* Renaming nested folders to subfolders
* Update what's new to indicate availability of features and improve messaging (#66755 )
* Added image for time regions
* update wording for feature release stage
* Add section about Phlare data source rename
* restructuring and styling fixes
* add datasource picker recording
* Log Context: Improved "Whats New" text (#67285 )
* improve "Log context" whats new
* change screenshot
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: Matias Chomicki <matyax@gmail.com>
* fix spelling
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* change image
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com>
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* wording and style edits
* Update how to use Trusted Types
* Adding opentracing deprecation notes
* Adding opentracing deprecation notes
* added breaking changes with raw markdown
* updated page weight
* state location of public dashboards list more explicitly
* added email sharing user admin info
* clarified what was fixed
* Deletes oncall entry
* added heading markdown
* replaced absolute links with relrefs
* fixed relrefs
* Update canvas GA section to include connection properties
* canvas: slight grammar update
* updated template and name of contributor field for each item
* adding contributor name
* added contributor names to what's new
* added contributor names to what's new and upgrade guide
* fixed typo
* Docs: What is new 10 - add Data plane (#68125 )
* Remove drag & drop to dashboard
* Add PDC to 10.0 what's new
* reorder sections, edit copy
* update order, format and copy
* grammar fix
add "and"
* add intro text to breaking changes pages
* fix Explore mixed DS what's new doc (#68303 )
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Remove datagrid from what's new, drag and drop to experimental
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
* updates to data source picker availability
* Update what's new for canvas / trend panel (finalized)
* Update ds picker recording
* Add deprecation notice for changing folder UID
* docs: update with angular plugin list
* Update with documentations links for annotation filtering and time regions
* Update annotation filtering section in docs/sources/whatsnew/whats-new-in-v10-0.md
* add datagrid as experimental
* modify datagrid doc accordingly
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* adds alerting screenshot
* deletes sentence
* adds state history pic
* resolving outstanding suggestions
Co-authored-by: David Harris <david.harris@grafana.com>
Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* changed order of sections
* updated text about breaking changes in whats new and upgrade guide
* fixed links
* copy edits
* general copy edits
* removed TO DOs from whats new, copy edited upgrade guide, some copy edits of breaking changes
* fix doc validator errors
* added availability information, updated preview notes, replaced screenshot
* copy edit, added links, added breaking changes content
* general copy edit of breaking changes; small update to common tasks
* replaced notes with admonitions
* link fixes
* reverted blog links to full addresses
* fixed heading inconsisency
* fix doc validator error
* added availability note
* added missing availability notes
* replaced screenshot and fixed wording
* replaced screenshot and fixed wording
* Updated subfolders description
To call out missing features and stress that it can only be used in dev/test environments
* added availability note
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Zsofia <zsofia.komaromi@gmail.com>
Co-authored-by: Josiah (Jay) Goodson <josiah.goodson@gmail.com>
Co-authored-by: natellium <natalia.bernarte@grafana.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Natalia Bernarte Oses <74534993+natellium@users.noreply.github.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Vardan Torosyan <vardants@gmail.com>
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Jo <joao.guerreiro@grafana.com>
Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com>
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com>
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
Co-authored-by: Galen <galen.kistler@grafana.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
Co-authored-by: Matias Chomicki <matyax@gmail.com>
Co-authored-by: J Stickler <julie.stickler@grafana.com>
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
Co-authored-by: Kyle Brandt <kyle@grafana.com>
Co-authored-by: Mitchel Seaman <mitchel.seaman@gmail.com>
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com>
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
Co-authored-by: David Harris <david.harris@grafana.com>
Co-authored-by: Victor Marin <victor.marin@grafana.com>
Co-authored-by: Joey <90795735+joey-grafana@users.noreply.github.com>
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
2023-05-31 09:00:05 -04:00
Gilles De Mey
b10daa12b3
Docs: Add separate fundamentals topic on notification policies ( #69174 )
...
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2023-05-31 15:19:33 +03:00
ismail simsek
f610e37aec
InfluxDB: Interpolate retention policies ( #69202 )
...
Interpolate retention policies
2023-05-31 12:04:12 +02:00
Gilles De Mey
deb13ef611
Alerting: Add more context to delete modals ( #69244 )
2023-05-31 12:47:17 +03:00
Gilles De Mey
7e924e0d74
Alerting: Smaller fixes for long namespace / group names ( #69095 )
2023-05-31 11:43:06 +02:00
Ieva
d8b66d5c4b
RBAC: remove some IsDisabled
checks ( #69272 )
...
* remove some access contorl IsDisabled() checks
* cleaning up tests
* update tests
* linting
2023-05-31 09:58:57 +01:00
Khushi Jain
0645106184
Forms: Remove some gf-form appearances in Grafana ( #66735 )
...
* Forms: Remove gf-form appearances in Grafana
* Remove gf-form appearance
* Forms: Remove gf-form appearances in Grafana
* remove gf-form
* remove gf-form
* Remove gf-form appearance
* Remove gf-form appearance
* Remove gf-form appearance
* Update UserListAdminPage.tsx
* Update UserListAdminPage.tsx
* Update UserListAdminPage
2023-05-31 09:50:53 +02:00
Levente Balogh
a91033c025
Plugins: Add a new UI Extension type ( #68600 )
...
* feat: add a new UI extension type: component
* tests: add tests for checking if it is a react component
* fix: remove reference to not existing type
* chore: update betterer results
* review: remove unnecessary override function for components
* review: use a single type notation in import
* review: stop exporting `PluginExtensionBase`
* refactor: make extension config types more explicit
By using some repetition now these types are much easier to oversee.
2023-05-31 09:26:37 +02:00
Juan Cabanas
82c770115e
PublicDashboards: Audit table trashcan icon ( #69287 )
2023-05-30 23:59:02 +03:00
Nathan Marrs
0bdf52e3f4
Canvas: Allow all element types by default ( #69279 )
2023-05-30 13:58:51 -07:00
lwandz13
4a84633773
Fix opentsdb table format ( #69281 )
...
* fixed table formatting
* changed opentsdb to OpenTSDB
* cleaned up wording
2023-05-30 13:38:52 -07:00
Kat Yang
3d91ce4c17
Chore: Add modowners to codeowners ( #69260 )
2023-05-30 21:19:56 +03:00
Timur Olzhabayev
990eef1bbd
Docs: Bumping up min spec for Grafana Installations ( #69250 )
...
Bumping up min spec
2023-05-30 19:13:37 +02:00
Artur Wierzbicki
15f06a93b2
Storage: increase size of the contents
column ( #69152 )
...
* fix size of contents column
* temporarily re-enable integration tests
* lint
* revert: temporarily re-enable integration tests
2023-05-30 21:11:04 +04:00
Alexander Weaver
0ed5d3bdf2
Revert "Alerting: Refactor the ImageStore/Provider to provide image URL/bytes" ( #69265 )
...
Revert "Alerting: Refactor the ImageStore/Provider to provide image URL/bytes (#67693 )"
This reverts commit 72a187b0be
.
2023-05-30 11:33:33 -05:00
Brendan O'Handley
27c18b8c0c
Prometheus: Bug fix to check default expr is empty string to set legend format as auto ( #69255 )
...
* check default query.expr is empty string to set default legend format
* fix tests with default base query
* fix tests
2023-05-30 12:25:53 -04:00
arukiidou
345b7fadc9
Auth: Update docs on use PKCE by default ( #68638 )
...
* Auth: Update docs on use PKCE by default. (#68073 )
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
* Fix: docs review - from introduces to provides https://github.com/grafana/grafana/pull/68638/files#r1200506006
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
* Fix docs - Remove note about a version https://github.com/grafana/grafana/pull/68638/files#r1200508038
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
* Update docs/sources/setup-grafana/configure-security/configure-authentication/azuread/index.md
---------
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-05-30 11:17:45 -05:00
Ryan McKinley
a61d828998
FeatureFlags: Support hiding from docs ( #69261 )
2023-05-30 09:04:01 -07:00
Kat Yang
f3f3b1494d
Feat: Add command line app to validate go.mod ( #67796 )
...
* chore: start modowners
* read go.mod, parse modfile, iterate through requires; add dummy go.mod
* make BEP owners of all grafana dependencies 😱
* push attempt at logging the require comments
* shrink dummy modfile
* revert changes in go.mod
* access comments suffix
* add Module struct; attempt to separate ParseGoMod functionality into its own func; add owner (third) for loop when interating modfile
* feat: print all owners in modfile
* add additional question in comment
* feat: add subcommands: check, owners, modules; chunk out some functions
* chunk out subcommand functions
* add flags
* start tests for common element
* refactor: test for common element
* attempt #1 to refactor modules to accept multiple args
* refactor: refactor modfule func to take 1+ owner arguments (0 arguments not working atm)
* chore: remove debug logging
* refine existing comments
* comment out indirect flag stuff, add example cli command for modules
* unsuccessful attempt #2 to refactor modules to accept -o and -i flags
* refactor funcs to take filesystem and logger
* test: add test for check when all modules have owners
* fail attempt 1 to get TestModules to work
* assert expected log result in TestModules; unsure if properly reading logs
* test: add TestModules to test modules func without any flags returns direct dependencies
* test: add TestInvalidCheck for scenario when some dependencies are missing an owner
* attempt 1 at refactoring TestCheck into a table
* chore: clean TestCheck
* chore: clean up comments for func check
* move files under scripts/modowners
* revert go.mod and go.sum
2023-05-30 18:18:05 +03:00
Dimitris Sotirakis
778f054419
CI: Don't run RGM pipeline on docs changes ( #69243 )
...
Don't run RGM pipeline on docs changes
2023-05-30 18:17:53 +03:00
Ivana Huckova
3e46720a96
Loki: Fix creating correct context query when preserved labels used ( #69252 )
2023-05-30 17:12:40 +02:00
Dimitris Sotirakis
7ce16053f9
G10: Update GitHub actions for to replace preview
with beta
( #69231 )
...
* s/beta/preview in bump-version.yml
(cherry picked from commit e735cced7af3e0aaf4ca656bdc55d5b2375d1fed)
(cherry picked from commit fb3f497f6e
)
* Fix regexp
(cherry picked from commit 7175c3a42e
)
* Update milestone / update-changelog actions
2023-05-30 18:10:09 +03:00
Alexander Weaver
0f88b117dc
Alerting: Skip flaky test TestRouteGetRuleStatuses ( #69258 )
...
Skip TestRouteGetRuleStatuses
2023-05-30 09:48:02 -05:00
Santiago
72a187b0be
Alerting: Refactor the ImageStore/Provider to provide image URL/bytes ( #67693 )
...
* (WIP) Refactor the ImageStore interface to work with our latest alerting repository
* update alerting package
* refactor, new URLExists method in ImageProvider
* tests for the new methods
* fix linter warnings
* use alertingImages as an alias for grafana/alerting/images
* logs about image uris and not found images
* nerf image not found logs
* extract duplicated code to getImageFromURI() method
* refactor getImageFromURI()
* add index on url
* add comment about migration log
* sync generated files
2023-05-30 11:25:55 -03:00
Virginia Cepeda
ce0c1f0b0b
Alerting: Prevent assigning duplicated query/expression names ( #68664 )
...
Prevent assigning duplicate query/expression names
2023-05-30 10:52:21 -03:00
Ieva
d98813796c
RBAC: Remove legacy AC from HasAccess permission check ( #68995 )
...
* remove unused HasAdmin and HasEdit permission methods
* remove legacy AC from HasAccess method
* remove unused function
* update alerting tests to work with RBAC
2023-05-30 14:39:09 +01:00
Jack Westbrook
82f353c696
Grafana UI: Fix plugin unit test errors ( #69210 )
...
* fix(grafana-ui): import from package to prevent import errors occurring in plugin tests
* style(grafana-ui): add e2e-selectors path to restricted imports rule
2023-05-30 15:34:13 +02:00
Konrad Lalik
2f0728ac67
Alerting: Matching instances preview for notification policies ( #68882 )
...
* Basic implementation in web worker
* Move instances discovery to the worker
* Remove filtering from the worker
* Use normalized routes, use rtk query for alert groups fetching
* Reorganize matchers utilities to be available for web workers
* Move object matchers to the machers util file, rename worker
* Move worker code to a separate hook, add perf logging
* Add a mock for the web worker code, fix tests
* Fix tests warnings
* Remove notification policy feature flag
* Add normalizeRoute tests, change the regex match to test for label matching
* Move worker init to the file scope
* Simplify useAsyncFn hook
* Use CorsWorker as a workaround for web workers loading from CDN
* Use a feature flag to enable/disable worker-based preview, add worker error handling
* Add POC for react-enable working with grafana feature toggles
* Code cleanup
* Remove console error, add useRouteGroupsMatcher tests
* Fix tests mock
2023-05-30 15:15:22 +02:00
Ivana Huckova
0d54a8858b
Flux: Improve styling of sample query button and use sentence case ( #69222 )
2023-05-30 15:04:31 +02:00
sam boyer
09895c26b6
Chore: Hacky first pass on generating composable kinds within grafana/schema ( #64723 )
...
* Super hacky first pass on gen types
* First sketchy pass at generated compo kinds in TS, grok-style
* Merge fix
* Create jenny for MajorsOrX for plugins
* Re-generate files with imports
* Delete invalid generated file
* Fix cue
* Update go.mod
* Update schemas
* Fix go-imports
* Regenerate cue files
---------
Co-authored-by: spinillos <selenepinillos@gmail.com>
2023-05-30 05:56:18 -07:00
Will Browne
12dc56ad0c
Plugins: Refactor plugin repository API ( #69063 )
...
* support grafana wildcard version
* undo go.mod changes
* tidy
* flesh out tests
* refactor
* add tests
* tidy naming
* undo some changes
* split interfaces
* separation
* update new signature
* simplify
* update var namings
* unexport types
* introduce opts pattern
* reorder test
* fix compat checks
* middle ground
* unexport client
* move back
* fix tests
* inline logger
* make client usable
* use fake logger
* tidy errors
* remove unused types
* fix test
* review fixes
* rework compatibility
* adjust installer
* fix tests
* opts => cfg
* remove unused var
* fix var name
2023-05-30 11:48:52 +02:00
MichaelKo
e7e70dbac6
Chore: Adding "allowed_groups" Configuration Parameter to Generic OAuth Method ( #69025 )
...
* feat: add allowed_groups for Generic OAuth
* docs: add allowed_groups more docs for Generic OAuth
2023-05-30 11:07:04 +02:00
Tom Wilkie
b5d4f307fc
Document our support policy for Elastic ( #67495 )
...
* Document our support policy for Elastic
* Update docs/sources/datasources/elasticsearch/_index.md
* Fix lint
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com>
2023-05-30 11:05:50 +02:00
Levente Balogh
dce01441fc
EchoSrv: Capture early events ( #67977 )
...
* feat: catch any events that were reported before the EchoSrv got initialised
* fix: add events to the new echo service
* chore: update comment
* refactor: use `instanceof` to check if it is a FakeEchoSrv
2023-05-30 10:15:47 +02:00
Jason Field
1ff5170c83
fix: Chef cookbook has moved to sous-chefs ( #68425 )
...
* fix: Chef cookbook has moved to sous-chefs
Updates the github link for the chef configuration option.
* Update docs/sources/administration/provisioning/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-05-30 08:16:21 +01:00
Jack Baldry
bf91d5d777
Add Larissa to CODEOWNERS for data sources documentation ( #68887 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-05-30 08:13:52 +01:00
Zoltán Bedi
ae8efdda37
Backend: Fix trailing space in feature toggle ( #68876 )
2023-05-30 08:28:16 +02:00
Juan Cabanas
38fa41f51f
PublicDashboards: Revoke public URL from audit table fix ( #69032 )
2023-05-29 13:08:27 -03:00
Juan Cabanas
9890ff7c92
PublicDashboards: Audit table redesign ( #68137 )
2023-05-29 12:59:29 -03:00
Sofia Papagiannaki
74e87ccbbd
SQLStore: Align SQLite IsUniqueConstraintViolation() with other backend implementations ( #69224 )
...
* Add integration test for primary key and unique constrain violation
* Align SQLite IsUniqueConstraintViolation implementation with other backends
2023-05-29 14:45:08 +00:00
Victor Marin
32a67a4ad5
Datagrid docs ( #68357 )
...
* WIP Datagrid docs
* Finish datagrid docs
* Add experimental note
* Fix typo
* PR modifications for datagrid docs
* docs modifications
* PR modifications
* PR modifications
* PR mods
* missed wording edits; added max size to screenshots; changed heading level
* fix typo
* style fix and change heading level
---------
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-05-29 17:05:09 +03:00
Isabel
4d0c1a4b8e
docs: add pricing info for email sharing ( #69206 )
...
added pricing info
2023-05-29 09:42:18 -04:00
Gábor Farkas
feb2e8d773
datasource: do not send raw-range to server ( #68601 )
2023-05-29 15:34:09 +02:00
Ivan Ortega Alba
cb83861630
Improve Dashboards schema docs ( #68904 )
...
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com>
2023-05-29 15:15:28 +03:00
chenbt
89088d6aa2
Docs: Updates Grafana [smtp]( #63311 ) ( #63332 )
...
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2023-05-29 14:07:43 +02:00
Todd Treece
fc858d982c
Kinds: Add pluralName override for Preferences ( #69122 )
2023-05-26 13:08:43 -07:00
Ricky Whitaker
68fe1e1cb0
fix verify_release_pipeline script execution ( #69191 )
...
* fix verify_release_pipeline script execution
* forgot to run make drone
2023-05-26 14:54:57 -05:00
Jev Forsberg
731efdf7f4
Docs: update Legacy alerting deprecation to pass doc-validator ( #69192 )
...
* baldm0mma/doc-val/ update paths
* baldm0mma/doc-val/ update path
* baldm0mma/doc-val/ update trailing comma
* baldm0mma/doc-val
2023-05-26 13:46:14 -06:00