Commit Graph

5563 Commits

Author SHA1 Message Date
Hugo Kiyodi Oshiro
43add83d1a
Plugins: Add feat toggle to install managed plugins (#75973) 2023-10-18 15:17:03 +02:00
Adam Bannach
de1ed216f4
Feat: Add cloud plugin cost management to admin section (#76547)
* feat: add cost management to admin and put adaptive metrics and log volume under it

* test: fix applinks test

* chore: fix lint error

* remove "new" from feature toggle description

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-10-17 17:15:51 +01:00
Sarah Zinger
3bf9f97a89
Cloudwatch: Revert feature toggle related to a new regions endpoint refactor (#76620)
Cloudwatch: revert feature toggle
2023-10-17 10:15:05 -04:00
Eric Leijonmarck
91c18e93b9
Docs: Update docs for whatsnew for no basic role (#76681)
* update docs for whatsnew for no basic role

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

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

* linting

* added feature release date

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-17 16:48:29 +03:00
ismail simsek
d271c19536
InfluxDB: Enable InfluxDB backend mode by default (#76641)
Enable influxdb backend mode by default
2023-10-17 13:50:15 +02:00
Eric Leijonmarck
be5ba68132
Team LBAC: Add teamHeaders for datasource proxy requests (#76339)
* Add teamHeaders for datasource proxy requests

* adds validation for the teamHeaders

* added tests for applying teamHeaders

* remove previous implementation

* validation for header values being set to authproxy

* removed unnecessary checks

* newline

* Add middleware for injecting headers on the data source backend

* renamed feature toggle

* Get user teams from context

* Fix feature toggle name

* added test for validation of the auth headers and fixed evaluation to cover headers

* renaming of teamHeaders to teamHTTPHeaders

* use of header set for non-existing header and add for existing headers

* moves types into datasources

* fixed unchecked errors

* Refactor

* Add tests for data model

* Update pkg/api/datasources.go

Co-authored-by: Victor Cinaglia <victor@grafana.com>

* Update pkg/api/datasources.go

Co-authored-by: Victor Cinaglia <victor@grafana.com>

---------

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
Co-authored-by: Victor Cinaglia <victor@grafana.com>
2023-10-17 11:23:54 +01:00
Polina Boneva
e1838f92cf
Docs: Templating: Replace __value.raw with __data.fields (#76408)
* adds information about __data.fields[0] which has replaced previously used __value.raw for getting both name and value of data

* my prettier ain't working correctly

* Update docs/sources/panels-visualizations/configure-data-links/index.md

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* lint

* Update docs/sources/panels-visualizations/configure-data-links/index.md

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

* Update docs/sources/panels-visualizations/configure-data-links/index.md

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

* Update docs/sources/panels-visualizations/configure-data-links/index.md

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

* note: tooltip mode affects __value.raw

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-17 11:59:00 +03:00
Giuseppe Guerra
f5076d1868
Plugins: Add status_source label to plugin request metrics (#76236)
* Plugins: Chore: Renamed instrumentation middleware to metrics middleware

* Removed repeated logger attributes in middleware and contextual logger

* renamed loggerParams to logParams

* PR review suggestion

* Add pluginsInstrumentationStatusSource feature toggle

* Plugin error source prometheus metrics

* Add error_source to logs

* re-generate feature toggles

* fix compilation issues

* remove unwanted changes

* Removed logger middleware changes, implement error source using context

* Renamed pluginmeta to pluginrequestmeta, changed some method names

* Fix comment

* pluginrequestmeta.go -> plugin_request_meta.go

* Replaced plugin request meta with status source

* Add tests for pluginrequestmeta status source

* Fix potential nil pointer dereference in instrmentation middleware

* Add metrics middleware tests

* Sort imports in clienttest.go

* Add StatusSourceFromContext test

* Add error_source label to plugin_request_duration_seconds

* Re-generate feature flags

* lint

* Use StatusSourcePlugin by default

* re-generate feature flags
2023-10-17 10:27:45 +02:00
Josh Hunt
8c456ec24b
Docs: Update new Browse Dashboards (#76567)
* Docs: Update new Browse Dashboards

* Apply suggestions from code review

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

* add date

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-16 15:24:22 +00:00
Kyle Brandt
5a2a3ab596
docs/whatsnew: (10.2) Add recorded queries multiple metrics (#76554)
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-16 17:54:23 +03:00
Isabel
1bc3bb4a60
Docs: add alerting insights entry (#76549)
* Added alerting insights entry

* Added placeholder date field

* Added date
2023-10-16 10:40:30 -04:00
Isabel
c095ffa240
Docs: add correlations content to What's new in Cloud (#76558)
* Added correlations content

* Added dates

* Fixed linting errors
2023-10-16 10:33:26 -04:00
Daniel Li
67656ebd06
Documentation: Clean up Docker installation docs (#76164)
* docs: fix minor inaccuracies

- give content on the type of data that needs persistence
- Use more precise terminology
  - persistent storage != Docker volumes
  - filesystem changes remains in a stopped container
      and only discard when container removed
  - 'directory' is more accurate than 'folder'
- fix typo: `grafana_data` should be `grafana-storage`

* docs: fix grammar and use 'directory' consistently

* docs: replace 'sqlite3' with 'SQLite version 3'
2023-10-16 09:24:47 -05:00
Joey
7680576c6a
Docs: Whats new for multiple spansets (#76447)
* Whats new for multiple spansets

* Added date

* Updated link format

* Updated version syntax

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-16 09:53:54 -04:00
Jennifer Villa
8156457867
Add Aggregate by to what's new (#76550)
* Add Aggregate by to what's new

* Update index.md

* Update index.md

* Update index.md

* Update index.md

* Add demo image

* Apply suggestions from code review

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

---------

Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-16 08:57:27 -04:00
Isabel
862fd83f2d
Docs: add cloud feature release dates (#76585)
Added release dates
2023-10-13 18:04:13 -04:00
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
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
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
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
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
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
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
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
Piotr Jamróz
23fe8fcf5a
Correlations: Add documentation around variable exceptions (#71511) (#76510) 2023-10-13 15:32:38 +02: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
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
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
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
Natalia Bernarte Oses
f3a997acde
Add RBAC note to library panels (#76480)
* Add RBAC note to library panels

* Update docs/sources/dashboards/build-dashboards/manage-library-panels/index.md

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

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-12 19:21:26 +02:00
Konrad Lalik
42f4244026
Alerting: Add rules export on a folder level (#76016) 2023-10-12 20:17:32 +03:00
Michael Mandrus
94ce87571d
Caching: Add feature toggle for memory efficient cache payload serialization (#76145)
* add feature toggle for smart cache serialization

* re-add toggle after merge conflict

* switch feature toggle stage to experimental

* incorporate PR feedback
2023-10-12 19:56:49 +03:00
Isabel
5a79e70d20
Add date parameter (#76479) 2023-10-12 12:51:19 -04:00
Ryan McKinley
29cf60988b
Playlist: Use a different go struct for sql service vs k8s (#76393) 2023-10-12 08:29:06 -07:00
Leanna Shippy
7562607319
[Docs] Annotate visualizations update (#76395)
There is a sentence in the [Built-in query](https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/#built-in-query) section of the page that could use a "the" (emphasis added by me 😄) :
> When you copy a dashboard using the Save As feature it will get a new dashboard id, **so annotations created on source dashboard** will no longer be visible on the copy. You can still show them if you add a new Annotation Query and filter by tags. However, this only works if the annotations on the source dashboard had tags to filter by.

This PR adds "the" so the phrase reads "so annotations created on the source dashboard"
2023-10-12 14:57:06 +00:00
Jack Baldry
f6d2c11be9
Fix typo in link label (#76443) 2023-10-12 13:37:26 +01:00
Virginia Cepeda
afa64fc218
Alerting: Enable Insights landing page (#76381)
* Enable alerting insights

* Change alertingInsights feature toggle stage

* Commit autogenerated files after enabling feature flag
2023-10-12 13:31:18 +01:00
Eric Leijonmarck
f10b4bc1da
Auth: None basic role update docs (#75955)
* docs: update basic role

* update docs

* Update docs/sources/administration/user-management/manage-org-users/index.md

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

* Update docs/sources/administration/roles-and-permissions/access-control/plan-rbac-rollout-strategy/index.md

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-10-12 14:52:07 +03:00
Eric Leijonmarck
38cdce526a
Auth: Enable None role for 10.2 (#76343)
* remove the feature toggle for noBasicRole

* linting

* remove unused
2023-10-12 13:00:26 +02:00