Commit Graph

46016 Commits

Author SHA1 Message Date
Isabel
f906bc152d
Docs: add no basic role to Cloud what's new (#76577)
Added no basic role content
2023-10-13 17:23:06 -04:00
Isabel
ae6f478c4e
Docs: add content outline to Cloud what's new (#76579)
* Added content outline to what's new

* Fixed formatting

* add docs link

* Added version syntax

* Added page anchor and removed text reference to page section

---------

Co-authored-by: harisrozajac <haris.rozajac12@gmail.com>
2023-10-13 17:18:24 -04:00
Beverly
3622120664
Docs k8smon whats new content (#76153)
* test commit

* Content additions

* Additional edits

* Added cloud metadata

* Remove "now" language

* Reordered and reformatted, added release numbers

* Addl edits

* Addl edits

* Added images

* Correct hyperlink

* Fix link to png

* Change heading for readability

* Fix doc link

* Fix doc link

* Remove doc link

* Update docs/sources/whatsnew/whats-new-next/index.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Update docs/sources/whatsnew/whats-new-next/index.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Updates to formatting, added dates

* Added shortcodes for images

* Resize images, reformat

* Updated date format

* Fixed linting errors

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2023-10-13 15:45:47 -04:00
Sol
889576ac1d
Transforms: Add 'Format String' Transform (#73624)
* Format String Implementation

* Prettier

* Unify Every/Pascal/Camel cases

* Reformat + add new cases

* Add Trim and Substring to the transform options

* Trim/Substring tests+formatting

* refactor

* docs + feature toggle

* add category

* docs. add svg. change description

* revert weird add from merge

* readd config. change description

* docs change

* Adding experimental shortcode

* Add code formatting

* change shortcode

---------

Co-authored-by: Victor Marin <victor.marin@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-13 21:17:12 +03:00
Jo
48ef88aed7
Access: Fetch fresh permissions for target GlobalOrgID in AuthorizeInOrgMiddleware (#76569)
fetch fresh permissions for global in AuthorizeInOrgMiddleware

Update pkg/services/accesscontrol/authorize_in_org_test.go

do not load viewer permissions in global ID
2023-10-13 21:01:47 +03:00
Tobias Skarhed
335b73d9ae
Chore: remove gf-forms and LegacyForms from Graphite ConfigEditor (#76038)
* Chore: remove gf-forms and LegacyForms from Graphite ConfigEditor

* Use Field instead of InlineField

* Remove unused imports
2023-10-13 19:58:03 +02:00
Daniel Benjamin
7f89251dc9
chore: Remove gh-form and LegacyForms from InfluxFluxConfig (#76495)
* chore: replace SecretFormField with SecretInput

* chore: Remove gh-form and LegacyForms from InfluxFluxConfig
2023-10-13 19:55:37 +02:00
Isabel
5ba32e0f11
Add public dashboards GA content (#76496)
* Added public dashboards content

* Updated Loom link

* Added back old Loom embed to help troubleshoot new embed

* Add video

* Added video embed shortcode

* Fixed embed code
2023-10-13 13:37:25 -04:00
Stefan Mitic
4d8560d9a9
i18n: Markup Explore's Query Inspector for translations (#76157) 2023-10-13 18:36:43 +01:00
Piotr Jamróz
1e3254bb43
Correlations: Docs update (#76508)
* First draft

* Update docs

* Update docs

* Fix a typo

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

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

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

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

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

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

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

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

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

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

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

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

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

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

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

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

* Fix linting

* Fix a typo

* Update how correlations works in logs panel

* Add more context to results field

---------

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-10-13 19:16:23 +02:00
Haris Rozajac
97f5c1c6ba
Explore: Content outline add documentation (#76482)
* Add documentation
2023-10-13 11:01:08 -06:00
Serge Zaitsev
1d19dcd009
Chore: Update data migration to update rows that have changes (#76545)
* update data migration to update rows that have changes

* fix migration for sqlite

* remove id; fix postgres

* Fix for MySQL

* delete old items from folder table

* change integer to boolean

---------

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-10-13 18:58:36 +02:00
Haris Rozajac
4ec54bc2c3
Explore: Content Outline (#74536)
* Add images

* Basic button functionality; TODO placeholders for dispatching contentOutlineToggle and rendering content outline component

* Basic content outline container

* Content outline toggles

* Remove icon files from explore

* Scroll into view v1

* outline that reflect's explore's order of vizs

* Update icon name

* Add scrollId to PanelChrome; scrolling enabled for Table

* Add queries icon

* Improve scroll behavior in split view

* Add wrapper so the sticky navigation doesn't scroll when on the bottom of the window

* Fix the issue with logs gap; center icons

* Memoize register and unregister functions; adjust content height

* Make displayOrderId optional

* Use Node API for finding position of panels in content outline;  add tooltip

* Dock content outline in expanded mode; at tooltip to toggle button

* Handle content outline visibility from Explore and not redux; pass outlineItems as a prop

* Fix ContentOutline test

* Add interaction tracking

* Add padding to fix test

* Replace string literals with objects for styles

* Update event reporting payloads

* Custom content outline button; content outline container improvements

* Add aria-expanded to content outline button in ExploreToolbar

* Fix vertical and horizontal scrolling

* Add aria-controls

* Remove unneccessary css since ExploreToolbar is sticky

* Update feature toggles; Fix typos

* Make content outline button more prominent in split mode; add padding to content outline items;

* Diego's UX updates

* WIP: some scroll fixes

* Fix test and type error

* Add id to ContentOutline to differentiate in split mode

* No default exports

---------

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-10-13 10:57:13 -06:00
Dan Cech
91cf4f0c1c
Revert "Plugins: Update PDC pattern from latest plugin SDK changes" (#76565)
Revert "Plugins: Update PDC pattern from latest plugin SDK changes (#76036)"

This reverts commit 151f6d6216.
2023-10-13 12:35:16 -04:00
Kyle Cunningham
5e9dac6695
Transformations: De-emphasize non-applicable transformations (#76373)
* Stub types

* Update applicator

* Type and functionality updates

* Format time applicator

* Group by applicator

* Groupy to matrix applicator

* Use applicability levels

* Add  organize fields applicator

* Add applicator to heatmap

* Add disabled icons

* Update presentation

* Prettier

* Why run prettier once when you can do it twice?

* Update presentation

* Prettier

* Update presentation

* Prefer object syntax

* Betterer and Prettier
2023-10-13 11:21:43 -05:00
Juan Cabanas
cdca1518d2
PublicDashboards: Title logo and footer redesign (#74769)
---------

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
2023-10-13 13:18:05 -03:00
NikolayTsvetkov
e0f32f4363
Elasticsearch: Clean up query print leftover (#76543)
Clean query print left over
2023-10-13 19:17:09 +03:00
David Harris
5a62a97056
Update angular-plugins.md (#76556)
remove cognite
2023-10-13 16:59:43 +01:00
Alexander Weaver
0592fe7edb
Alerting: Add support for msteams contact point in external Alertmanagers (#76392)
* Add support for msteams contact point in external AMs

* Update docs
2023-10-13 10:43:42 -05:00
Josh Hunt
520497738e
Docs: Revisit Manage Dashboard docs for new UI (#75840)
* Docs: Start to iterate on new Browse Dashboard docs

* more

* more changes

* Apply suggestions from code review

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* prettier

* Update docs/sources/dashboards/manage-dashboards/index.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* disclaimer about folders with slashes in them

* Apply suggestions from code review

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-13 18:39:35 +03:00
Misi
3dbda43d44
Docs: Update whats-new-next with RBAC permission validation (#76470)
* Update whats-new-next with RBAC permission validation

* run prettier

* Fixed version syntax

* Update docs/sources/whatsnew/whats-new-next/index.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* update docs

* update

* fix merge

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-13 17:27:16 +02:00
Galen Kistler
f2ad66620f
Loki: Autocomplete returning labels already in use when cursor is before or between other labels (#75925)
* Fix issue getting current labels that would only grab values to the left of the cursor

* Loki: Fix Autocomplete in stream selector overwriting existing label names, or inserting autocomplete result within label value (#76485)

* Better autocomplete functionality in loki, changing the word pattern to include label value separator (=), include valid sting chars (-), and value wrapper ("), adding some more logic in the range calculation to prevent autocomplete results from partially overwriting adjacent label names or portions of the current label value
2023-10-13 10:26:32 -05:00
Torkel Ödegaard
c4b02d7063
BarChart: Improve data links UX in tooltip (#76514) 2023-10-13 17:25:51 +02:00
Santiago
20e624dafd
Alerting: Add Mimir Backend image to devenv (blocks) (#76416) 2023-10-13 16:15:05 +01:00
ismail simsek
2877723648
InfluxDB: Use apache/arrow v13 (#76548)
* Use apache/arrow v13

* remove apache/thrift

* go mod tidy with go1.21.1

* add metrics team as owner

---------

Co-authored-by: Kyle Brandt <kyle@grafana.com>
2023-10-13 17:06:10 +02:00
Eric Leijonmarck
7794697660
Doc: Add docs for direct mapping of None role for SAML (#76551)
* add: direct mapping of None role for SAML

* Fix docs formatting

* fix spelling

---------

Co-authored-by: Vardan Torosyan <vardants@gmail.com>
2023-10-13 16:01:55 +01:00
Ashley Harrison
ed4c9bb487
Navigation: Correctly set active nested plugin pages (#76526)
* correctly set active nested plugin pages

* add recursion depth limit
2023-10-13 16:01:22 +01:00
Alex Khomenko
8bf0143908
Grafana/ui: Wrap Box in forwardRef (#76555)
* Grafana/ui: Wrap Box in forwardRef

* Destructure props
2023-10-13 17:40:25 +03:00
Juan Cabanas
40b79de0cd
PublicDashboards: Enable feature by default for GA and remove public preview text (#76484)
* public dashboard for GA

* files modified

* public preview removed
2023-10-13 16:32:49 +02:00
Torkel Ödegaard
a42040a59a
DashboardScene: Backward compatability with getDashboardSrv.getCurrent and DashboardModel props and functions (#76371)
* DashboardSrv.getCurrent backward compatibility

* fixes
2023-10-13 16:24:04 +02:00
Torkel Ödegaard
b01cbc7aef
Dashboard: Fixes save drawer always comparing changes against first loaded version (#76506)
* Dashboard: Fixes save changes diff after first save

* Lots of type issues

* better fix

* Update some more places to use new function

* Fix

* Update

* Update

* remove console.log

* Update
2023-10-13 16:23:23 +02:00
Torkel Ödegaard
0d55dad075
DashboardScene: Fixes full page reload of fullscreen view of a repeated panel (#76326)
* Progress on view panel for repeats

* Good enough

* Update
2023-10-13 16:03:38 +02:00
Piotr Jamróz
23fe8fcf5a
Correlations: Add documentation around variable exceptions (#71511) (#76510) 2023-10-13 15:32:38 +02:00
Andre Pereira
69b84fec8f
Tempo: Fix empty values in TraceQL filters (#76544)
Fix empty values in TraceQL filters
2023-10-13 14:19:01 +01:00
Isabel
939b311b8e
Add support for dashboard variables in transformations to cloud what's new (#76477)
* Add support for dashboard variables in transformations

* Fixed version syntax

* added whitespace

* Added release date

* Fixed linting errors
2023-10-13 09:08:49 -04:00
Marcus Andersson
d18766e88b
PluginExtensions: Make sure to pass default timeZone in context (#76513)
* Fixed so we will return default timeZone to extensions if empty is provided.

* Update public/app/features/dashboard/utils/getPanelMenu.test.ts

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-10-13 14:43:45 +02:00
Will Browne
151f6d6216
Plugins: Update PDC pattern from latest plugin SDK changes (#76036)
* update with sdk

* do sql

* fix core plugins

* fix proxy settings

* bump SDK version

* tidy

* enable pdc for test

* add codeowners
2023-10-13 14:42:15 +02:00
Karl Persson
e2ba399e30
IDForwarding: Use single flight for SignIdentity (#76530)
* IDForwarding: Use single flight for SignIdentity

* Update cache inside single flight call
2023-10-13 14:32:53 +02:00
Andre Pereira
30cb720da5
Chore: Add tracing to tempo, parca and pyroscope datasource backends (#76368)
* Added spans to trace.go

* Added spans to search_stream.go

* Added spans to parca datasource

* Added spans for pyroscope

* Fix tests

* Fix another test

* Lint

* Revert "Fix another test"

This reverts commit a1639049e3.

* Use grafana-sdk-go tracing
2023-10-13 13:13:51 +01:00
Jack Westbrook
d282b7a6f8
Grafana UI: Make it possible to bundle package with plugins (#76191)
* moved themecontext to data

* chore(grafana-ui): re-export ThemeContext from grafana/data for backwards compatibility

* Moved icon bundling to core.

* feat(plugins): share react-inlinesvg with plugins for grafana/ui bundling

* chore(codeowners): add generate-icon-bundle.js to file

* chore(storybook): update path to iconBundle file for theme

* feat(plugins): share i18n dependency via systemjs

* Make sure that icon bundle is initialized for tests.

* Removed comment.

* added tests for icon root.

* Removing the need of having an init variable.

* feat(grafana-ui): add icon svgs to bundle for projects that don't rely on grafana

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2023-10-13 14:11:41 +02:00
Arati R
bf2f2540da
Search: Add feature toggle for panel title search (#76525)
Add feature toggle for panel title search
2023-10-13 15:04:24 +03:00
Isabel
f251f1d532
Add role mapping support for Google OIDC (#76459)
* Add role mapping support for Google OIDC

* Added note about entry already being in on-prem

* Add line

* Fixed version syntax

* Fixed typo

* Removed index.md from link

* Added release date
2023-10-13 14:01:41 +02:00
Natalia Bernarte Oses
28c2555e7f
Revert "add library panels rbac" (#76532)
Revert "add library panels rbac (#76483)"

This reverts commit 549d8d4968.
2023-10-13 13:37:18 +02:00
Natalia Bernarte Oses
d6920a80cf
Revert "Add RBAC note to library panels" (#76531)
Revert "Add RBAC note to library panels (#76480)"

This reverts commit f3a997acde.
2023-10-13 13:36:47 +02:00
João Calisto
9fc0e1566e
Feature Management: Update admin page UI after a successful update (#76380)
* Feature Management: Update admin page UI after a successful update

* lint

* lint

* refactor
2023-10-13 11:54:34 +01:00
Leon Sorokin
2857870bfb
TimeSeries: Fix showing datalinks when clicking on a point (#76492) 2023-10-13 05:48:29 -05:00
Leonard Gram
1573f253bf
dependency ownership: as-code -> alerting for testing package (#76455)
dependcy ownership: as-code -> alerting
2023-10-13 12:42:48 +02:00
Torkel Ödegaard
de8ab7efe7
DashboardScene: Support for dashboard PanelContext actions via state hook (#76192)
* DashboardScene: Support for dashboard PanelContext actions via state hook

* Update

* Progress

* Update

* Update

* update
2023-10-13 11:42:42 +02:00
Ashley Harrison
b6fb1e52f2
Navigation: Limit SectionNav to rendering items up to 3 levels (#76478)
* only render section nav items up to 3 levels

* extract level depth into constant, apply in DockedMegaMenu as well
2023-10-13 10:38:35 +01:00
George Robinson
09a4fcd0fe
Alerting: Add docs for Repeat interval (#76303) 2023-10-13 10:30:13 +01:00