Commit Graph

46162 Commits

Author SHA1 Message Date
Kristina
2c92e370dd
Explore: Fix broken interpolation for mixed datasources coming from dashboards (#76904)
* Fix broken interpolation for mixed datasources in explore

* Add interpolation tests

* Use Promise.all and be better about dealing with invalid empty ds in query scenario

* condense logic

* Remove type declarations

* Fix tests
2023-10-26 08:16:22 -05:00
dependabot[bot]
5ff550ae19
Bump google.golang.org/api from 0.126.0 to 0.148.0 (#77188)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.126.0 to 0.148.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.126.0...v0.148.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 08:53:57 -04:00
Joao Silva
f183e68b1c
GrafanaUI: Move Box out of unstable and into GrafanaUI (#77080) 2023-10-26 13:46:11 +01:00
Josh Hunt
db40c90eed
Icon: Restore default fa-spin to spinner in icon (#77205)
Restore default fa-spin to spinner in icon
2023-10-26 12:17:39 +00:00
Sonia Aguilar
61f056fe15
Alerting: Show receiver in groups view to avoid duplication in the list (#77109) 2023-10-26 13:04:26 +02:00
João Calisto
7869ca1932
Feature Management: UI improvements (#76866)
* Feature Management: UI improvements

* update UI logic

---------

Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2023-10-26 10:42:00 +01:00
Torkel Ödegaard
c4bf32fa2d
EmbeddedDashboard: Removes no longer used components (#77195) 2023-10-26 11:40:15 +02:00
Misi
75768cea19
Chore: Replace crewjam/saml with the latest grafana/saml lib (#77153)
Replace crewjam/saml with the latest grafana/saml
2023-10-26 09:44:15 +02:00
Dominik Prokop
877b61e31d
DashboardScene: Render share snapshot radio button translations (#77136)
DashboardScene: Render share snapshot tab translations
2023-10-26 00:37:16 -07:00
Jack Westbrook
69af9f9ad7
Chore: Update to node 20 (#76097)
* chore(node): update node version to 20

* chore(node): bump to 20.8.0, update drone variables

* chore(drone): update yaml config

* chore(yarn): bump yarn to latest to fix building binaries ERR_IMPORT_ASSERTION_TYPE_MISSING errors

* test(grafana-data): update whitespace in time formats for node 20 (18.13+)

* chore(node): move to LTS 20.8.1

* chore(node): bump to LTS 20.9.0
2023-10-26 09:34:50 +02:00
Andres Martinez Gotor
314bea935f
Bug: Fix DatasourceSrv getList with aliases (#77027) 2023-10-26 09:30:24 +02:00
Kyle Cunningham
c514bad472
Chore: Update CODEOWNERS to move transforms to BI squad (#77183)
Update codeowners
2023-10-26 08:18:55 +03:00
Adela Almasan
a0dbde5c60
Organize fields transformation: Fix re-ordering of fields using drag and drop (#77172)
drag handler as html element
2023-10-25 23:47:01 -05:00
Leon Sorokin
fd5ad38f38
Transformers: Avoid mutating field.values in Concatenate transformation (#77179) 2023-10-25 19:05:03 -05:00
Leon Sorokin
3aaeaf4203
Thresholds: Don't use series fill opacity for transparent steps (#77104) 2023-10-26 02:14:41 +03:00
Todd Treece
bf8af608a7
K8s: Add tracer provider to config (#77003) 2023-10-25 15:19:44 -04:00
Virginia Cepeda
8d7dfbc7b9
Alerting: changes on Insights section titles (#77163)
Minor changes on texts
2023-10-25 16:12:05 -03:00
Ryan McKinley
7e069f9d91
K8s: Move the namespace mapper to the same package that resolves them (#77101) 2023-10-25 14:13:46 -04:00
Isabel
89f63dcddb
Docs: fix broken link to moved content (#77147)
* Remove docs/reference shortcode for moved content

* Updated transformers content file

* Updated README.md to make Transformations section more prominent

* Updated index file to make super clear where you must update this content

* Added doc/ref back in with new format

* Removed bracket

* Added missing quotation marks

* Added reference style link and removed link from docs/ref shortcode

* Updated link

* Add warning to only use reference style links in content.ts

* ihm/251023-link-fix/ update scripts/docs/generate-transformations.ts with proposed changes, and build markdown

* ihm/251023-link-fix/ build docs

* Fix extraneous whitespace

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

* Add precheck for ONESHELL support

Otherwise the recipe doesn't work.

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

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-10-25 14:09:33 -04:00
Ieva
39a30b0c01
Bug fix: add library panel permissions to basic roles (#77144)
set library panel permissions to basic roles
2023-10-25 18:44:55 +01:00
Tomas R
421461ec3f
Chore: Update PromSettings tooltip grammar (#76627)
Trivial: Update PromSettings.tsx

Fix wording and add missing '.'
2023-10-25 18:57:21 +02:00
ismail simsek
51e49eaa20
InfluxDB: Fix handle multiple frames in metricFindQuery and runMetadataQuery (#77154)
Handle multiple frames in metricFindQuery and runMetadataQuery
2023-10-25 18:27:25 +02:00
Josh Hunt
333c858bc6
GrafanaUI: Prevent code editors from 'trapping' scroll (#77125)
* GrafanaUI: Prevent CodeEditor from 'trapping' scroll

* fix test

* fix lint for unused import
2023-10-25 19:21:54 +03:00
Misi
1e81ffccac
Auth: Handle when access token has already been refreshed in OAuth token sync (#77118)
* Use singleflight to prevent logging error if the token has already been refreshed

* Change order of error checks

* align tests, change error name

* Change sf key

* Update based on the review

* refactor
2023-10-25 18:15:41 +02:00
Ryan McKinley
d2732ae726
K8s: Add explicit table converter (#77098) 2023-10-25 09:00:20 -07:00
Ben Sully
eb62e02259
chore: use grafana/experimental for dashboard AI feature (#76948)
The 'llms' module of @grafana/experimental was vendored into the
GenAI components at some point in the past to speed up iteration, so
that dashboard feature development didn't have to wait for a new
release of the experimental package for every change. Now that we
think this has stabilized, we can remove the vendored module from
the Grafana codebase and use the version from @grafana/experimental
instead.

This requires a couple of minor changes, mostly around health check
results which are slightly different in @grafana/experimental now,
but otherwise the changes are mechanical.

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-25 16:38:55 +01:00
Santiago
f9fc2e4568
Alerting: Remove ConfigHash() from the Alertmanager interface (#77134) 2023-10-25 17:11:53 +02:00
Alexander Weaver
6ee52ac80c
Alerting: Allow more time before Alertmanager expire-resolves alerts (#77094)
* Sync endsAt factor with prometheus

* Fix state tests
2023-10-25 10:03:46 -05:00
Konrad Lalik
4fc0294aab
Add logging prometheus and ruler rules totals (#76812) 2023-10-25 16:47:32 +02:00
linoman
dff7403b29
auth: implement feature flag for service account proxy (#77129)
* add FlagExternalServiceAccounts to proxy service

* add FlagExternalServiceAccounts value to tests

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-10-25 16:44:05 +02:00
Ashley Harrison
5f2fd8935d
Spinner: Fix so that the size property is correctly applied (#77135)
* correctly apply spinner sizes, refactor to have standard sizes

* better prop definitions so constant values show in IDEs

* 12 is xs, not sm
2023-10-25 15:39:32 +01:00
Sven Grossmann
b88b206ee2
Table: fix cellProps.style.textAlign being readOnly in some cases (#77137)
`cellProps.style.textAlign` is readOnly in some cases
2023-10-25 09:38:17 -05:00
Andres Martinez Gotor
a080ede871
Chore: Shared webpack: Fix package.json version with commit (#77030) 2023-10-25 16:37:59 +02:00
Ryan McKinley
5d44240fca
K8s: Use grafana.app as the playlist+example group name domains (#77096) 2023-10-25 07:24:19 -07:00
Gilles De Mey
e12e40fc24
Alerting: Contact Points v2 part IV (#76063) 2023-10-25 15:57:53 +02:00
ismail simsek
283f279a17
InfluxDB: Fix adhoc filter calls by properly checking optional parameter in metricFindQuery (#77113)
* Handle optional options parameter

* unit tests
2023-10-25 15:56:10 +02:00
Isabel
ba9c22f51b
Add separate token handling for OAuth providers (#76461)
* Add separate token handling for OAuth providers

* Fixed version syntax

* Added release date

---------

Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com>
2023-10-25 09:51:31 -04:00
Ashley Harrison
85468d2a67
DockedMegaMenu: Adjust docked threshold (#77139)
* adjust docked threshold to be xl instead of md and make sure it's open by default on 1440 res

* don't show dock menu button
2023-10-25 14:41:07 +01:00
Isabel
2a43ee5d46
Docs: edit export alerting resources feature in Cloud what's new (#76997)
* Added Alerting features

* Apply suggestions from code review

* Moved feature into order by date

* Added updated Terraform description and removed provisioned resources feature
2023-10-25 09:35:23 -04:00
kay delaney
b215d2f0fb
Library Panels: Fix library panel creation with RBAC enabled (#76553) 2023-10-25 16:29:57 +03:00
Kuba Siemiatkowski
327ae398e6
Add SumoLogic plugin (#77025)
- add Sumo to plugins list
- remove duplicated sqlyze from the plugins list
2023-10-25 15:02:03 +02:00
Gabriel MABILLE
20fc0cbf35
Chore: Allow env overrides for the extended_jwt config (#77132)
Chore: Allow env overrides for the extended_jwt config
2023-10-25 14:28:12 +02:00
Marcus Efraimsson
9bf7eb5fbc
Plugins: Adds logging around loading of plugins for better tracking (#76896) 2023-10-25 14:01:30 +02:00
Santiago
322a9c0b15
Alerting: Replace FileStore() for CleanUp() in the Alertmanager interface (#77126)
Alerting: Remplace FileStore() for CleanUp() in the Alertmanager interface
2023-10-25 13:58:28 +02:00
Alexander Zobnin
aa7a6da985
Role picker: Fix flickering at service accounts page (#77049)
* Role picker: Fix flickering at service accounts page

* Set role picker fixed width

* Fix betterer

* Fix styles
2023-10-25 13:03:12 +02:00
linoman
1bc81b7bd1
auth: migrate api interface implementation (#77040)
* expand serviceaccount service interface

* implemet FakeServiceAccountService

* Replace SA service interface from api

* merge sa proxy tests with new fake service

* implement DeleteServiceAccountToken

* add test for DeleteServiceAccountToken
2023-10-25 12:40:30 +02:00
Gareth Dawson
c25ea17d10
SQL: Fix config page backwards compatibility (#76951)
fix
2023-10-25 11:38:16 +01:00
Karl Persson
b156267e39
ServiceAccount: Add pagination to service accout table (#77044)
* Add pagination to service account table
2023-10-25 12:21:01 +02:00
Sofia Papagiannaki
00c9981c51
Chore: Fix missing enterprise operation from swagger (#77122) 2023-10-25 13:20:36 +03:00
Santiago
01add144b8
Alerting: Send alerts to the remote Alertmanager (#77034)
* Alerting: Rename remote.ExternalAlertmanager to remote.Alertmanager

* Alerting: Send alerts to the remote Alertmanager

* add ticker to readiness check, add tests

* use options when creating a new sender.ExternaAlertmanager

* unexport defaultMaxQueueCapacity

* delete unused defaultConfig field

* add debug log line when sending alerts to the remote alertmanager

* move and refactor readiness check

* update tests to not include defaultConfig
2023-10-25 11:52:48 +02:00