Commit Graph

48633 Commits

Author SHA1 Message Date
Ivana Huckova
fe1ed307c0
Loki: Use fixed components from @grafana/experimental 1.7.9 (#81636)
* Loki: Use fixed components from experimental

* Update

* Remove downloads.html
2024-02-01 13:22:18 +01:00
Ivana Huckova
1671b77546
Loki: Fix processing of all lines labels in getParserAndLabelKeys (#81483)
* Loki: Fix processing of all lines labels in getParserAndLabelKeys

* Refactor

* Update comment
2024-02-01 13:22:03 +01:00
Josh Hunt
85a745ca9d
I18n: Trigger crowdin upload (#81704) 2024-02-01 12:15:32 +00:00
Laura Benz
967a650d2d
I18n: Refactor crowdin workflow (#81571)
* refactor: crowdin config

* feat: add GH actions

* refactor: remove old GH action

* refactor: fix formatting issue

* refactor: adjust docs

* refactor: add changes after code review

* refactor: add changes after code review

* refactor: update CODEOWNERS file
2024-02-01 11:44:18 +00:00
brendamuir
bac4c7fb32
Alerting docs: corrects save text (#81700)
* Alerting docs: corrects save text

* updates numbering
2024-02-01 12:43:11 +01:00
Gabriel MABILLE
3df0611f81
RBAC: Fix authorize in org (#81552)
* RBAC: Fix authorize in org

* Implement option 2

* Fix typo

* Fix alerting test

* Add test to cover the not member case
2024-02-01 12:37:01 +01:00
Joao Silva
0f1ba3a9fe
Chore: Change codeowners of annotations folder (#81551) 2024-02-01 10:59:47 +00:00
ismail simsek
536153c336
InfluxDB: Run queries in parallel behind influxdbRunQueriesInParallel feature toggle (#81209)
* create the feature flag

* bring the concurrency in to the play

* Update feature flag

* Use concurrency number from settings

* update influxdb dependency

* use ConcurrentQueryCount from plugin-sdk-go

* use helper method for concurrent query count

* log the error

* add value guard

* add unit tests

* handle concurrency error
2024-02-01 11:58:24 +01:00
Mihai Doarna
c43a170009
SSO Auth: fix typos on field description (#81685)
fix typos on field description
2024-02-01 11:27:39 +01:00
ismail simsek
4561863fca
Chore: Remove unused header params in prometheus request (#81684)
Remove unused header params
2024-02-01 11:17:38 +01:00
Joey
fd54d25496
Tempo: Fix issue with button click area being too large (#81500)
Fix issue with button click area being too large
2024-02-01 09:48:18 +00:00
Joey
1606095a5c
Tempo: Remove unused code (#81568)
* Remove unused code

* Remove unused code from tests
2024-02-01 09:48:04 +00:00
idafurjes
1a51240dc7
Remove some folderIDs from database test (#81643)
* Remove some folderIDs from database test

* Add folderUID to insertTestDashboardForPlugin
2024-02-01 10:13:15 +01:00
Alex Khomenko
a416bd761d
Chore: Remove Form usage from admin components (#81618)
* Chore: Remove Form usage from AdminEditOrgPage

* Chore: Remove Form usage from UserCreatePage.tsx

* Chore: Transform LdapPage to FC

* Chore: Remove Form usage from LdapPage.tsx
2024-02-01 07:58:50 +02:00
ismail simsek
177fa1b947
InfluxDB: Fix template variable interpolation (#80971)
* use regex as templateSrv replace format

* use regex as templateSrv replace format for raw queries

* import path fix

* don't use regex formatter

* tag value escape

* tag value escape with wrappers

* polished interpolation logic

* update unit tests

* comments and more place to update

* unit test update

* fix escaping

* handle the string and array of string type separately

* update variable type
2024-02-01 00:30:21 +01:00
ajwerner
c9bdf69a46
Stat: Fix data links that refer to fields (#80693) 2024-02-01 01:08:40 +02:00
Dai Nguyen
11997a6d35
Docs: Grafana.com skip_org_role_sync update (#80770)
* Update Grafana.com org sync index.md

Included additional information regarding logging in with Grafana.com credentials that it will override what is defined within the Grafana instance.

* Update docs/sources/setup-grafana/configure-security/configure-authentication/grafana-com/index.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

---------

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-02-01 00:03:08 +01:00
Matthew Jacobson
0ce1ccd6f9
Alerting: Fix inconsistent AM raw config when applied via sync vs API (#81655)
AM config applied via API would use the PostableUserConfig as the AM raw
config and also the hash used to decide when the AM config has changed.
However, when applied via the periodic sync the PostableApiAlertingConfig would
be used instead.

This leads to two issues:
- Inconsistent hash comparisons when modifying the AM causing redundant applies.
- GetStatus assumed the raw config was PostableUserConfig causing the endpoint
to return correctly after a new config is applied via API and then nothing once
 the periodic sync runs.

Note: Technically, the upstream GrafanaAlertamanger GetStatus shouldn't be
returning PostableUserConfig or PostableApiAlertingConfig, but instead
GettableStatus. However, this issue required changes elsewhere and is out of
scope.
2024-01-31 21:05:30 +02:00
Ryan McKinley
e013cd427c
K8s: Add basic query service (#80325) 2024-01-31 20:36:51 +02:00
Galen Kistler
d1b938ba15
Logs: Table UI - Allow users to resize field selection section (#81201)
* allow user resize of fields section in table ui

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2024-01-31 19:58:02 +02:00
Alex Khomenko
1749ec9d5e
Chore: Remove Form usage from SharedPreferences.tsx (#81468)
* Chore: Remove Form usage from SharedPreferences.tsx

* Update betterer

* Update betterer
2024-01-31 19:33:17 +02:00
Ieva
c310a20966
AuthZ: add headers for IP range AC checks for cloud data sources (#80208)
* add feature toggle

* add a middleware that appens headers for IP range AC

* sort imports

* sign IP range header and only append it if the request is going to allow listed data sources

* sign a random generated string instead of IP, also change the name of the middleware to make it more generic

* remove the DS IP range AC options from the config file; remove unwanted change

* add test

* sanitize the URLs when comparing

* cleanup and fixes

* check if X-Real-Ip is present, and set the internal request header if it is not present

* use split string function from the util package
2024-01-31 18:09:24 +01:00
Ivana Huckova
e00aba0ce5
Prometheus: Fix OperationEditor and mounting of components (#81656)
* Prometheus: Fix OperationEditor

* Remove redundant import
2024-01-31 18:57:16 +02:00
Andrej Ocenas
cb945aa5df
NodeGraph: Use layered layout instead of force based layout (#78957) 2024-01-31 17:26:12 +01:00
Mihai Doarna
395a06ab86
Auth: fix swagger responses for the SSO settings API (#81639)
fix swagger responses for the sso settings API
2024-01-31 18:06:22 +02:00
Laura Fernández
91b2909c39
ReturnToPrevious: add shadow to be consistent (#81652) 2024-01-31 17:04:34 +01:00
Alexander Zobnin
1bcd597bc0
Nested folders: Improve performance of shared with me dashboards listing (#81590)
* Nested folders: Improve performance of shared with me dashboards listing

* Fix tests

* Clean up guardian
2024-01-31 16:25:11 +01:00
Alexander Zobnin
b4d363e8fe
Chore: Fix broken anonymous devices test (#81649) 2024-01-31 17:09:32 +02:00
Darren Janeczek
7319a75110
feat: datatrails: include metric prefix filter (#81316)
* feat: datatrails: include metric prefix filter

* fix: remove current metric from related metrics list

* fix: Cascader issues

- handle empty items list when generating searchable options
- correct state management to ensure cascade shows cascade
  path of selection from search

* fix: remove custom value creation
2024-01-31 09:33:27 -05:00
Darren Janeczek
c8f47e0c54
datatrails: UI improvements (#81427)
* fix: datatrails: limit width of metric description

* fix: datatrails: use vertical radio list for long label list

* fix: datatrails: reduce spacing between header items

* fix: datatrails: reduce gap in lower toolbar

* fix: change to use Select component for longer lists
2024-01-31 09:27:44 -05:00
renovate[bot]
a7f2249878
Update dependency react-zoom-pan-pinch to v3.4.0 (#81642)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 14:25:50 +00:00
Gábor Farkas
607ec6c96a
CODEOWNERS: better root-file selection (#81633) 2024-01-31 15:02:29 +01:00
renovate[bot]
0633f5501c
Update dependency dompurify to v3 (#81638)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 13:32:18 +00:00
renovate[bot]
5c258b7a4b Update dependency @grafana/scenes to v2.2.2 2024-01-31 14:49:08 +02:00
Ivana Huckova
c9bc937919
Loki: Limit running of samples based on query and time range (#81585)
* Loki: Limit running of samples based on query and time range

* Update
2024-01-31 13:39:07 +01:00
Ivan Ortega Alba
a9f17a3f24
QueryVariable: Be able to edit the variable using scenes (#80847) 2024-01-31 13:31:08 +01:00
renovate[bot]
0851c18b55 Update dependency @grafana/experimental to v1.7.9 2024-01-31 12:29:23 +00:00
renovate[bot]
42fe0fdf70
Update dependency date-fns to v3 (#81625)
* Update dependency date-fns to v3

* update imports

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-31 12:05:38 +00:00
Matias Chomicki
e0054c06fe
DashNav: add missing key (#81626)
* DashNav: add missing key

* DashNav: use more specific key
2024-01-31 13:51:15 +02:00
Fabrizio
564a1d32b7
Add Python as dependency (#80979) 2024-01-31 12:44:22 +01:00
Dominik Prokop
f20053e4b6
DashboardScene: Allow editing panel links (#81560)
* Panel links supplier for VizPanel

* Update panel links behavior

* Allow editing panel links

* Update so that single link is rendered without a dropdown

* Serialise links in scene -> save model transformation

* Betterer fix

* Fix inspect json tab test
2024-01-31 13:30:27 +02:00
Konrad Lalik
ab891d92fb
Alerting: Fix missing pagination param in the oncall request (#81620)
Add skip_pagination param to the oncall request
2024-01-31 12:09:11 +01:00
Torkel Ödegaard
3b2352f066
DashboardScene: Initial work to support "new" dashboard route and creation logic (#81549)
* DashboardScene: Initial work to get new route to work

* Update

* remove caching of new dashboard

* remove old new dashboard func

* Update

* Update public/app/features/dashboard-scene/scene/DashboardScene.tsx

Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>

* Fixing test

* dam messy tests

---------

Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
2024-01-31 11:33:46 +01:00
Ashley Harrison
39057552dc
QueryField: Handle autocomplete better (#81484)
* extract out function + add unit tests

* add feature toggle and default it to on
2024-01-31 10:01:20 +00:00
renovate[bot]
f896072cd7
Update dependency css-minimizer-webpack-plugin to v6 (#81623)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 09:47:30 +00:00
renovate[bot]
612bcada41
Update dependency copy-webpack-plugin to v12 (#81613)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 09:28:06 +00:00
Joey
3517f0075b
Tempo: Add webpack to package.json (#81577)
Add webpack to package.json
2024-01-31 09:08:32 +00:00
Joey
b9f5042044
Tempo: Add query ref in the query editor (#81343)
* Add query ref

* Fix lint

* Add comment

* Update public/app/plugins/datasource/tempo/traceql/QueryEditor.tsx

Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com>

---------

Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com>
2024-01-31 09:08:06 +00:00
Joey
0d9886a654
Tempo: Add span, trace vars to trace to metrics interpolation (#81046)
* Add scoped vars to query

* Update import

* Remove ternary
2024-01-31 09:07:35 +00:00
Gábor Farkas
8a4f060f75
sql: add linting rule for decoupling postgres & mysql (#81378) 2024-01-31 10:00:59 +01:00