Commit Graph

45851 Commits

Author SHA1 Message Date
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
Natalia Bernarte Oses
549d8d4968
add library panels rbac (#76483)
* add library panels rbac

* 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>

* Added date

* Fixed version syntax

* run prettier

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-13 10:19:52 +02:00
Domas
239bda207e
SparklineCell: Display absolute value (#76125) 2023-10-13 11:00:42 +03:00
renovate[bot]
d72ec22ec2
Update babel monorepo to v7.23.2 (#76500)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 09:24:26 +02:00
Gábor Farkas
03bb6d6f74
devenv: postgres: make it work (#76323) 2023-10-13 08:53:38 +02:00
Kyle Cunningham
1a34cf6b0e
Transformations: Add support for setting timezone in Format time and Convert field type transformations (#76316)
* Better TZ support.

* Clean things up

* Update convertFieldType

* Update tooltips

* Remove unecessary code

* Prettier

* Add internal TZs

* Prettier

* Fix tests

* Make sure tests expect time with timezone

* Use true lol

* Centralize logic for options
2023-10-13 09:20:00 +03:00
Adela Almasan
d5945bc26e
Canvas: Button API Editor visual feedback on response (#76499) 2023-10-13 08:11:08 +03:00
Nathan Marrs
18128c2666
chore: geomap cleanup betterer styles object notation edition (#76400) 2023-10-12 18:41:27 -07:00
Matthew Jacobson
a6d928e50e
Alerting: Prevent cleanup of non-empty folders on migration revert (#76439)
Prevent cleanup of non-empty folders on revert
2023-10-12 18:40:51 -04:00
Matthew Jacobson
5f48619c9a
Alerting: Handle custom dashboard permissions in migration service (#74504)
* Fix migration of custom dashboard permissions

Dashboard alert permissions were determined by both its dashboard and
folder scoped permissions, while UA alert rules only have folder
scoped permissions.

This means, when migrating an alert, we'll need to decide if the parent folder
is a correct location for the newly created alert rule so that users, teams,
and org roles have the same access to it as they did in legacy.

To do this, we translate both the folder and dashboard resource
permissions to two sets of SetResourcePermissionCommands. Each of these
encapsulates a mapping of all:

OrgRoles -> Viewer/Editor/Admin
Teams -> Viewer/Editor/Admin
Users -> Viewer/Editor/Admin

When the dashboard permissions (including those inherited from the parent
folder) differ from the parent folder permissions alone, we need to create a
new folder to represent the access-level of the legacy dashboard.

Compromises:

When determining the SetResourcePermissionCommands we only take into account
managed and basic roles. Fixed and custom roles introduce significant complexity
and synchronicity hurdles. Instead, we log a warning they had the potential to
override the newly created folder permissions.

Also, we don't attempt to reconcile datasource permissions that were
not necessary in legacy alerting. Users without access to the necessary
datasources to edit an alert rule will need to obtain said access separate from
the migration.
2023-10-12 18:12:40 -04:00
Yuri Tseretyan
372082d254
Alerting: Export of contact points to HCL (#75849)
* add compat layer to convert from Export model to "new" API models
2023-10-12 22:33:57 +01:00
Alyssa Bull
0a6d78f35e
AzureMonitor: Azure Monitor Cheat sheet (#75931) 2023-10-12 14:42:01 -06:00
ismail simsek
efec1d976a
Chore: Remove redundant code and update types (#76489)
Remove redundant code and update types
2023-10-12 15:04:16 -04:00
Ryan McKinley
2a527aa33b
K8s: Namespace parsing updates (default + stack-id) (#76310)
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
2023-10-12 21:34:50 +03:00
ismail simsek
be7fe761a3
Fix Influxdb language order in config page (#76488)
Fix wrong language display
2023-10-12 21:16:31 +03:00
Shabeeb Khalid
2442532f57
chore(76107): Remove legacy form from InfluxConfigEditor (#76382)
Remove legacy form from InfluxConfigEditor

With this commit, legacy form components are remvoed from influxdb
config eidtor page. Form is now using FieldSet instead.
2023-10-12 20:03:21 +02:00