Ivana Huckova
06003c98c8
Loki: Add predefined operations functionality behind feature flag ( #69379 )
...
* Add feature toggle for lokiPredefinedOperations
* Add config editor for predefined operations
* Add predefined patterns to editor
* Update content in tooltip
* Update public/app/plugins/datasource/loki/configuration/QuerySettings.tsx
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
* Update public/app/plugins/datasource/loki/components/LokiQueryEditor.tsx
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
* Add experimental badge
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2023-06-02 12:52:36 +02:00
Matias Chomicki
ee0ee70aa1
Loki: Exclude queries using DISTINCT from query splitting ( #69377 )
...
* Query utils: add function to identify distinct queries
* Chore: return false when the expected node is found
* Query splitting: exclude distinct queries from splitting
* Group queries excluded from splitting
2023-06-02 12:50:23 +02:00
Sven Grossmann
b11c264df3
Loki: Fix e2e flakiness ( #69441 )
...
fix loki e2e test flakiness by waiting for requests to finish
2023-06-02 12:35:11 +02:00
Levente Balogh
7b2bd48677
Plugin Extensions: Custom limits for extensions-per-plugin ( #69430 )
...
* feat(plugins): remove global limit on extensions per placement
* feat: add a way to limit extension per plugin at the getter
* test(plugins): fix failing getPluginExtensions test
* refactor(panelmenu): put back limit of 2 extensions per plugin
* tests: add a test for checking all extensions are returned by default
---------
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2023-06-02 11:09:25 +02:00
Levente Balogh
d25cea90b0
Datasources: Make the datasources config extendable by plugins ( #68064 )
...
* feat: add a new UI extension type: component
* fix: remove reference to not existing type
* chore: update betterer results
* 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.
* feat: add a new extension point to the datasources config
* fix: export tcontext type from grafana-data
* chore: update betterer results
* chore: fix tests
* feat: extend the context shared with extensions
* feat: stop omitting jsonData props & update context type
* tests: update tests
2023-06-02 11:01:36 +02:00
renovate[bot]
31ecbf7062
Update babel monorepo ( #69358 )
...
* Update babel monorepo
* clean up lockfile
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-06-02 12:00:12 +03:00
Ashley Harrison
5a98348faf
Chore: remove i18n toggle ( #69389 )
...
* remove i18n toggle
* remove beta badge on language picker
* remove toggle from go code
* Revert "remove beta badge on language picker"
This reverts commit 3b76300aa7
.
2023-06-02 09:24:40 +01:00
dependabot[bot]
914d1a94ba
Bump slackapi/slack-github-action from 1.23.0 to 1.24.0 ( #69425 )
...
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action ) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases )
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.23.0...v1.24.0 )
---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 04:58:34 +00:00
Stephanie Hingtgen
29a4e3d7da
Secure socks proxy: allow for UI to be disabled ( #69408 )
2023-06-01 12:58:51 -06:00
Sven Grossmann
cb4ad588b9
Log Context: Fix split view button using the wrong query ( #69369 )
...
* fix wrong query used in split button
* refactor into one function
* don't act?
2023-06-01 20:39:13 +02:00
lwandz13
5ac56bcb28
update prometheus template variables doc ( #69335 )
...
* edits for clarity
* added 2 new sections on query variable options
* Update docs/sources/datasources/prometheus/template-variables/index.md
Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com>
---------
Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com>
2023-06-01 11:33:48 -07:00
Taewoo K
4ab863d122
add datasource type ( #69407 )
2023-06-01 13:35:43 -04:00
Vardan Torosyan
8235f774aa
Docs: Rename External Group Sync references to Team Sync ( #69395 )
2023-06-01 10:48:32 -05:00
Jo
e43c3ef87e
Devenv: Update auth devenv versions ( #69370 )
...
update auth devenv versions
2023-06-01 17:28:55 +02:00
Gábor Farkas
4cbe20ca5a
logs: context: removed unused code ( #69392 )
2023-06-01 15:23:30 +00:00
Misi
28bb960e42
AuthN: Make clientTokenRotation work when Grafana is accessible on a sub url ( #69385 )
...
Fix clientTokenRotation for auth-proxy
2023-06-01 17:06:00 +02:00
Tobias Skarhed
56c27a1f0d
i18n: Sync extraction with main ( #69381 )
...
Run extract on main
2023-06-01 16:53:22 +02:00
Joey
0e90dfcc9c
Tracing: Upgrade tracing data source configuration editors ( #68764 )
...
* Add tracing config sub sections
* Export common sections and update divider in additional settings section
* Max width and margin bottom
* Add feature name to config link
* Update SpanBarSettings
* remove import
2023-06-01 15:52:40 +01:00
Gábor Farkas
e5ec8535ec
logs: context: removed unused code ( #69383 )
2023-06-01 16:38:31 +02:00
Ryan McKinley
51107e9cab
Schema: Remove ServiceAccount kind ( #69194 )
...
remove service account kind
2023-06-01 07:02:17 -07:00
Ashley Harrison
778963849e
News: Expose config option to disable News feed ( #69365 )
...
* customize news feed
* remove url customisation
2023-06-01 13:35:05 +01:00
17billion
6d9db92a07
Dashboards: Improve delete dashboard performance due to slow annotations query ( #68544 )
...
* Add index on dashboard_id column in annotation table
* Added org_id condition to the delete query for dashboard deletion.
2023-06-01 15:31:03 +03:00
Ludovic Viaud
b59533e526
Fix plugin metric ( #69368 )
2023-06-01 14:24:39 +02:00
Andrej Ocenas
fb904852af
Pyroscope: Fix wrong defaults when importing query from different datasource ( #69307 )
2023-06-01 12:14:19 +02:00
Josh Hunt
19153bcbc1
Chore: Update codeowners for api-keys frontend ( #69363 )
...
make authnz own api-keys frontend
2023-06-01 11:12:58 +01:00
Domas
aa6f16878f
TempoQueryEDitor: Respect onRunQuery updates ( #69362 )
...
make tempo query editor respect onRunQuery changes
2023-06-01 13:10:00 +03:00
Ashley Harrison
9968a7324d
Nested folders: add skeleton scaffolding ( #69310 )
...
add skeleton scaffolding
2023-06-01 11:06:28 +01:00
Domas
c8e20bff8b
NodeGraph: Add "key" prop to context menu items ( #69360 )
...
add key to context menu items
2023-06-01 13:01:48 +03:00
Renato Monteiro
63c26e91ee
Metrics: Update Help to mention active viewers ( #63384 )
2023-06-01 11:56:43 +02:00
linoman
676e5de3d2
Reword JWT config claim ( #69356 )
...
Co-authored-by: ptz-xyt <104002657+ptz-xyt@users.noreply.github.com>
2023-06-01 11:15:27 +02:00
dependabot[bot]
96d8b0c659
Bump actions/stale from 6 to 8 ( #65309 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 6 to 8.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v6...v8 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 09:31:20 +01:00
renovate[bot]
1fbff3c807
Update dependency esbuild to v0.17.19 ( #61522 )
...
* Update dependency esbuild to v0.17.18
* chore(npm): update all esbuild dependencies to use esbuild@0.17.18
* build(esbuild): update configs so esbuild-loader matches loader from file extension
* build(webpack): fix failed monaco editor loading due to require not existing
* chore(esbuild): bump to 0.17.19
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2023-06-01 10:23:09 +02:00
Nathan Marrs
186cd96447
Canvas: Fix exit panel edit mode issue ( #69315 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-06-01 01:31:10 +03:00
Kat Yang
293993ac09
CI: Add validate-modfile step in drone ( #69232 )
...
* chore: test drone step
* revert changes to lint_backend_step()
* try to add validate_modifle_step
* try to run check func
* remove CGO and wire-install
* update filepath to scripts/modowners
* make drone again
* correct the filepath
* try to ignore validate-modfile step if fail
* chore: remove log that says i am a programmer
* fix: spell modfile correctly
* chore: remove unecessary comment
* fix: check go.mod instead of go.txd
2023-05-31 16:57:45 -04:00
Virginia Cepeda
fb7993d021
Alerting: Fix matching labels with spaces in their values ( #68909 )
...
Fix matching labels with spaces in their values
2023-05-31 17:10:00 -03:00
Brendan O'Handley
0c85327bed
Prometheus: Make config header tags consistent ( #69275 )
...
change config header tags to h3
2023-05-31 13:57:57 -04:00
Ashley Harrison
10adebd7b3
Page: Add inline rename functionality ( #68828 )
...
* initial attempt at inline rename
* handle version correctly
* refactor
* minor tweaks
* add unit tests
* prettier...
* add to other tabs, remove settings tab when feature toggle is enabled
* fix truncation
* allow title to span full width of page
* fix h1 styling when no renderTitle/onEditTitle is present
* better layout
* use input from grafana/ui, fix imports
* fix unit test
* better error handling
* don't use autosavefield
* undo changes to AutoSaveField
* remove timeout
* remove maxWidth now we're not using AutoSaveField
* rename isEditInProgress to isLoading
* sync localValue with value
* better responsive css
2023-05-31 17:03:54 +01:00
Jack Baldry
f29b058927
Update cascading front matter to use sequence form ( #67094 )
...
* Update cascading front matter to use sequence form
The map form does not override the sequence form that is used in the website repository to specify the default labels.
For more information, refer to https://github.com/grafana/writers-toolkit/pull/234 .
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Remove useless alias
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Update labels for pages noted in code review
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Move all product labeling to the project index file
All changes can be made in a single place.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Move all individual page product labels to project index file
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Shorten YAML
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Add newlines to aid readability
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Document front matter ordering
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Rewrite labels for breaking-changes pages
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* updated labels for whats new and breaking changes
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-05-31 16:52:03 +01:00
Ashley Harrison
fd7f2d4a5e
ConfirmModal: Ignore case for confirmation text ( #69000 )
...
* ignore case for confirmation text, add a couple of unit tests
* just have 1 test
* fix related unit tests
2023-05-31 16:20:36 +01:00
Ryan McKinley
3647392b40
JoinDataFrames: Keep field name if possible ( #69289 )
2023-05-31 09:46:39 -05:00
Grot (@grafanabot)
ced71ba26b
Changelog: Updated changelog for 10.0.0-preview ( #69311 )
...
* Changelog: Updated changelog for 10.0.0-preview
* Linting changelog
---------
Co-authored-by: Horst Gutmann <horst.gutmann@grafana.com>
2023-05-31 14:18:23 +00:00
Dimitris Sotirakis
78aa8c80ab
Chore: update latest.json to 10.0.0-preview ( #69312 )
2023-05-31 17:02:23 +03:00
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