Commit Graph

45530 Commits

Author SHA1 Message Date
Ashley Harrison
158e7b9977
DockedMegaMenu: Show correct breadcrumbs on dashboard settings (#75808)
need this logic when using dockedMegaMenu
2023-10-02 13:58:27 +01:00
Josh Hunt
8006dacf15
I18n: Run psuedo when extracting phrases (#75811) 2023-10-02 11:58:43 +00:00
ismail simsek
dcaad5b3fd
Chore: Update react-awesome-query-builder package (#75766)
* Upgrade react-awesome-query-builder to v6.4.1

* Update package

* Update package and fix types

* Remove unnecessary package
2023-10-02 13:29:39 +02:00
jcolladokuri
1f266a051d
Azure Monitor: change variable definitions in OOB dashboards to avoid dependency on sub level permission (#75765)
change variable definitions to avoid dependency on sub level permission
2023-10-02 12:22:18 +01:00
Marcus Efraimsson
69ce0486a2
Testdata: Add some tracing to testdata query data handling (#75762) 2023-10-02 13:03:17 +02:00
Gareth Dawson
8331523679
Postgres: Make securejson password optional (#75801)
make securejson password optional
2023-10-02 11:36:51 +01:00
Santiago
73be9449d1
Alerting: Manage remote Alertmanager silences (#75452)
* Alerting: Manage remote Alertmanager silences

* fix typo

* check errors when encoding json in fake external AM

* take path from configured URL, check for nil responses
2023-10-02 07:36:11 -03:00
Jack Baldry
ec774c901a
Replace use of relref shortcode with docs/reference so links work in Grafana Cloud (#75433)
* Replace use of `relref` shortcode with `docs/reference` so links work in Grafana Cloud

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Link to Grafana Cloud content

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-10-02 10:46:44 +01:00
Jack Baldry
1f2d5354a6
Add canonical for testing new canonical behavior in Grafana Cloud (#75745)
Details in https://github.com/grafana/website/pull/15518.

This canonical should never be used.
This page is the only consistent page that exists in Grafana Cloud documentation but not in "latest" Grafana open source documentation.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-10-02 10:26:54 +01:00
ismail simsek
11a9faabb1
InfluxDB SQL: Remove default limitation in the query (#75749)
* Remove limitation in the query

* Revert "Remove limitation in the query"

This reverts commit 8a347bc487.

* simpler approach
2023-10-02 11:22:53 +02:00
Jack Baldry
ad1989cf4d
Publish documentation from the HEAD of the matching version branch on tag events (#73809)
* Publish documentation from the HEAD of the matching version branch on tag events

Tags aren't necessarily made to the HEAD of the version branch.
The documentation that should be published is always on the HEAD of the version branch.

This is another mismatch between the code and documentation but is desirable as the "What's new" documentation is typically added much later than commit the tag targets.

Technically it would be more correct for the "What's new" documentation to be in place before the commit that is tagged.
However, the significant lag between the start of a release and the actual publishing of the tag would be challenging to codify in this action's logic.
It would also require a side channel for non-code related documentation updates to be made to the docs released by the tag.
This would likely require a long lived branch to be created at the tag commit and I'm not sure that the additional work is justified.

In practice, I think we can get away with publishing more recent documentation than the code given the assumption that no significant feature is going to be absent from the initial major/minor release.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Switch to detached remote branch reference

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-10-02 09:14:20 +01:00
Karl Persson
684d68365e
IDforwarding: forward signed id to plugins (#75651)
* Plugins: Add client middlware that forwards the signed grafana id token if present

* DsProxy: Set grafana id header if id token exists

* Add util function to apply id token to header

* Only add id forwarding middleware if feature toggle is enabled

* Add feature toggles to ds proxy and check if id forwarding is enabled

* Clean up test setup

* Change to use backend.ForwardHTTPHeaders interface

* PluginProxy: Forward signed identity when feature toggle is enabled

* PluginProxy: forrward signed id header
2023-10-02 09:14:10 +02:00
mikkancso
5892353bbd
Navtree: Rename page title from "Infrastructure" to "Integrations" (#75721)
rename Infrastructure to Integrations
2023-10-02 08:25:46 +02:00
grafana-delivery-bot[bot]
bc4f2a35d3
Changelog: Updated changelog for 9.5.12 (#75776)
Co-authored-by: grafanabot <bot@grafana.com>
2023-09-29 23:23:10 +03:00
Kevin Minehart
a94dcc40ff
Chore: update latest.json to 10.1.4 (#75773) 2023-09-29 23:19:16 +03:00
grafana-delivery-bot[bot]
02f08d87b4
Changelog: Updated changelog for 10.1.4 (#75769)
Co-authored-by: grafanabot <bot@grafana.com>
2023-09-29 23:01:32 +03:00
grafana-delivery-bot[bot]
b298934ee4
Changelog: Updated changelog for 10.0.8 (#75768)
Co-authored-by: grafanabot <bot@grafana.com>
2023-09-29 14:54:19 -05:00
Andre Pereira
1ce603b9e9
Tempo: TraceQL results as a spans list (#75660)
* Format tempo search results as spans

* Thank you test
2023-09-29 20:34:39 +03:00
Dimitris Sotirakis
c08606d2c5
Bug: Exclude 32-bit arm builds (#75448)
* Exclude 32 bit arm builds

# Conflicts:
#	pkg/build/config/versions.go

* Bump grabpl - remove arm/v7 from build.star

# Conflicts:
#	.drone.yml
2023-09-29 12:33:01 -05:00
Oscar Kilhed
c72c4382ba
Transformations: Fix inconsistent wording of transformation descriptions (#75746)
* Fix inconsistent descriptions of transformations

* update group by wording
2023-09-29 10:59:21 -05:00
otilor
55620066e6
i18n: dashboard import page (#75664)
* add translation for filezone primary and secondary text

* add translation for Grafana.com field label

* update translation keys

* add translation for load button

* update required translation

* Format utils for invalid-dashboard

* add extracted translations

* add pseudo translations

* add translation for json validation

* json field label translation

* add translation for required json field

* add translation for cancel key

* add extracted translations

* Add pseudo locale translation

* Update public/app/features/manage-dashboards/utils/validation.ts

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/utils/validation.ts

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/utils/validation.ts

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/utils/validation.ts

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* update translations

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* update link component

* add new translations

---------

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
2023-09-29 18:38:45 +03:00
Armand Grillet
efa6a6c624
Fix issue-labeled GitHub Action (#75753) 2023-09-29 17:36:52 +02:00
Ryan McKinley
1aaaa133fb
Schema: link table panel to the schema definitions (#75671) 2023-09-29 08:21:20 -07:00
Ryan McKinley
010b2461b9
Plugins: Move alias support to plugin json (but still hardcoded) (#75129) 2023-09-29 08:20:37 -07:00
Esteban Beltran
e45867c635
Sandbox: allow access to window.grafanaBootData for plugins (#75522)
* Sandbox: allow access to window.grafanaBootData for plugins

* Do not overlog access to bootdata

* Fix wrong string
2023-09-29 17:15:04 +02:00
Zoltán Bedi
75beeeed27
E2E: Move mysql test to various suite (#75221)
* E2E: Move mysql test to various suite

* Decide command key based on platform
2023-09-29 17:14:00 +02:00
Oscar Kilhed
f39ed59662
Table: Make sparkline cell respect no value option. (#75750)
Make sparkline respect no value option
2023-09-29 09:54:16 -05:00
Joao Silva
59f0f9a93e
Subpath: Add check for url being same as subpath on stripBaseFromUrl (#75670)
* Subpath: Add check for url being same as subpath

* Better comment
2023-09-29 15:47:23 +01:00
Krishna Dhakal
5ba37068c2
i18n: Mark up SnapshotListTable for translations (#75621)
* markup snapshot list table

* final revision changes
2023-09-29 15:39:55 +01:00
Khushi Jain
b75c7b4c49
i18n: Markup CorrelationsPage for translations (#74892)
* i18n: Translations under features/correlations

* more changes

* add links

* add changes

* changes

* changes
2023-09-29 15:59:30 +02:00
Armand Grillet
43d0193ea6
Mention that we only list firing alert instances (#75615) 2023-09-29 15:23:51 +02:00
David Harris
fd1032eeaa
docs: update storybook links (#75741) 2023-09-29 14:03:42 +01:00
Carl Bergquist
a39d2ae8ea
instrumentation: change slogroup for alerting handlers to high-slow (#75460)
instrumentation: change slogroup for alerting handlers to high-fast

Signed-off-by: bergquist <carl.bergquist@gmail.com>
2023-09-29 14:56:48 +02:00
Dominik Prokop
fccd262417
TimeSrv: Add Scenes compatibility patch (#75728)
* TimeSrv: Add scenes compatibility patch

* Get that lint out of my way
2023-09-29 05:56:31 -07:00
Andrej Ocenas
bc9dd475b8
Flamegraph: Fix bug where package colors would be altered after focusin on a node (#75695) 2023-09-29 14:47:53 +02:00
Isabel
61b856c7dc
Docs: Remove duplicate "Legend values" heading (#75692)
* Replaced legends shared content with text

* Copy and structuring edits

* Removed redundant link

* Prettier

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-09-29 08:14:19 -04:00
Gábor Farkas
8dafc28988
sql: remove grafana-core import (#75558)
* sql: remove initialCustomVariableModelState

* added fix for mysql too

* linter fixes
2023-09-29 13:43:28 +02:00
Romain Tartière
1c57217f66
Dashboard: Field Config - Add CFP franc currency (XPF) (#70036) 2023-09-29 13:36:34 +02:00
kay delaney
dc4091bd34
Angular: Fix issue where panels in collapsed rows were not auto-migrated (#75735) 2023-09-29 12:27:37 +01:00
Polina Boneva
d55c12c48e
Dashboard: Smaller padding on Save dashboards sidebar when smaller screen (#75354)
* content not scrollable

* not able to scroll the whole drawer

* reduce space inbetween drawer's title, subtitle, and tabs
2023-09-29 14:21:31 +03:00
Torkel Ödegaard
f842b47d78
DashoardScene: Add dashboardUID and panelId to requests (#75719) 2023-09-29 13:19:03 +02:00
Eric Leijonmarck
f895798fdb
Docs: Added the feature parity table to our iam strategy docs (#72979)
* added the feature parity table to our iam strategy

* wip

* updated the table with current features

* added better formatting for explanations

* change emoji to words

* sample of new table approach

* changing the name from unsupported to N/A

* add describtion of N/A and remove warning

---------

Co-authored-by: Chris Moyer <chris.moyer@grafana.com>
2023-09-29 11:33:12 +01:00
siddhikhapare
501347d86c
Mark up translation for ChangePasswordForm (#75668)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-09-29 11:28:10 +01:00
Alex Khomenko
4a692fc82e
Admin: Use backend sort (#75228)
* Admin: Use InteractiveTable

* Admin: Fix pagination

* Admin: Use CellWrapper

* Admin: Split components

* Admin: Separate OrgUsersTable

* Admin: Remove UsersTable

* Admin: Use the new table for TeamList

* Admin: Cleanup TeamList page

* Admin: Add edit team action

* Admin: Use explicit edit action instead of a link wrapper

* Admin: Fix responsive styles

* Cleanup

* Remove redundant sort

* Add item key

* Fix icon styles

* Set loading by default

* Use separate pagination component

* Use default sorting functionality

* Fix merge conflicts

* Update betterer

* Add controlled sort

* Revert pagination changes

* Move pagination inside OrgUsersTable.tsx

* Add missing prop

* Sort users table

* Fix tests

* Remove loader

* Add sort to Teams

* Cleanup

* Update loadTeams action

* Remove sort condition
2023-09-29 12:48:36 +03:00
Andreas Christou
5796836662
Azure: Add support for Workload Identity authentication (#75681)
* Update Azure Monitor

* Update Prometheus

* Update README

* Update docs/sources/datasources/azure-monitor/_index.md

Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>

* Update docs/sources/datasources/azure-monitor/_index.md

Co-authored-by: Beverly <131809838+BeverlyJaneJ@users.noreply.github.com>

* Update docs/sources/datasources/azure-monitor/_index.md

Co-authored-by: Beverly <131809838+BeverlyJaneJ@users.noreply.github.com>

* Update docs/sources/datasources/azure-monitor/_index.md

Co-authored-by: Beverly <131809838+BeverlyJaneJ@users.noreply.github.com>

* README updates

* Fix prettier

* memoize options

---------

Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
Co-authored-by: Beverly <131809838+BeverlyJaneJ@users.noreply.github.com>
2023-09-29 12:35:11 +03:00
ismail simsek
9d44fefe82
Chore: InfluxDB unit test overhaul (#75436)
* Rename the mock function

* Move tests

* Refactor existing tests

* add influxql_metadata_query tests

* move to root

* remove unnecessary file

* adhoc test

* Remove unused parameter

* tests for future

* fix mocks

* betterer

* changes after review
2023-09-29 11:28:52 +02:00
Oscar Kilhed
a2ee9833dc
Transformations: Add naming mode to partition by value. (#75650)
* Add naming mode to partition by value

* Apply suggestions from code review

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

* Fix spelling

* Fix prettier issue

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-29 11:12:05 +02:00
Joao Silva
79c0087466
GeneralSettings: Use Box instead of gf-form classes (#75678)
DashboardSettings: Use Box instead of gf-form classes
2023-09-29 09:35:33 +01:00
Sam Jewell
bbadbeb2be
Build: removing .linguirc to the copied files in the Dockerfile (#75703)
Local Dockerfile fails with:

```
 => ERROR [js-builder  8/12] COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json .linguirc ./                                0.0s
 => [go-builder  3/20] WORKDIR /tmp/grafana                                                                                                                          0.0s
 => [go-builder  4/20] COPY go.* ./                                                                                                                                  0.3s
 => [go-builder  5/20] COPY .bingo .bingo                                                                                                                            0.0s
 => CANCELED [go-builder  6/20] RUN go mod download                                                                                                                  2.2s
------
 > [js-builder  8/12] COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json .linguirc ./:
------
Dockerfile:24
--------------------
  22 |     RUN yarn install --immutable
  23 |
  24 | >>> COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json .linguirc ./
  25 |     COPY public public
  26 |     COPY scripts scripts
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref cc72e2cc-395a-46c9-b6ce-98fa942823cd::dy0j4lc6k08aluey90uugfvr4: "/.linguirc": not found
make: *** [build-docker-full] Error 1
```

That file has not existed on `main` since PR #75658 got merged.
2023-09-29 08:27:00 +00:00
Dominik Prokop
933d920121
Dashboard scene: Share modal export (#75640)
* Dashboard scene: Share modal export

* i18n
2023-09-29 00:34:22 -07:00