Commit Graph

41485 Commits

Author SHA1 Message Date
Artur Wierzbicki
b6f77bdfdb
Chore: provide authn.Service rather than *authnimpl.Service (#64792)
chore: provide `authn.Service` rather than `*authnimpl.Service` (#64792)
2023-03-15 03:04:11 -07:00
Ivana Huckova
96fc0b814e
Elasticsearch: Fix using of datetime format for time field (#64676)
* Elasticsearch: Fix using of datetime format for time field

* Use convertFieldType to convert time field for better performance
2023-03-15 10:47:48 +01:00
Lokeswaran Aruljothi
d2fa019d78
Auth: Show user sync external Authentication status (#62721)
* Fix #56189 add auth source for users synced via external authentication

* update change role display logic based on user authentication method

* fix display for licensed ac

---------

Co-authored-by: Lokeswaran Aruljothi <74011196+a-loke@users.noreply.github.com>
2023-03-15 10:31:15 +01:00
ying-jeanne
6974f4340b
NestedFolders: Fix nested folder deletion (#63572)
---------

Co-authored-by: suntala <arati.rana@grafana.com>
Co-authored-by: ying-jeanne <ying-jeanne@users.noreply.github.com>
Co-authored-by: jeanne0731 <jeanne0731@users.noreply.github.com>
2023-03-15 09:51:37 +01:00
Torkel Ödegaard
ec003d502b
Scenes: Update to 0.19 and update transformations scenario (#64789)
* Scene: Transformations update

* Update
2023-03-15 09:29:42 +01:00
Konrad Lalik
51974c54d7
Alerting: Fix UI toggles and search input synchronization (#64751)
* Fix UI toggles and search input synchronization

* Fix lint
2023-03-15 09:17:50 +01:00
Yuri Tseretyan
4583fe58f3
Chore: Update Grafana to use Alertmanager v0.25.1-0.20230308154952-78fedf89728b (#64778) 2023-03-14 18:59:25 -04:00
Yuri Tseretyan
85a954cd81
Alerting: Update scheduler to get updates only from database (#64635)
* stop using the scheduler's Update and Delete methods all communication must be via the database
* update scheduler's registry to calculate diff before re-setting the cache
* update fetcher to return the diff generated by registry
* update processTick to update rule eval routine if the rule was updated and it is not going to be evaluated at this tick.
* remove references to the scheduler from api package
* remove unused methods in the scheduler
2023-03-14 18:02:51 -04:00
Melori Arellano
10c809a00a
DOCS: Update to add transform steps for canvas data links (#64770)
* Update to add transform steps for data links

https://github.com/grafana/grafana/pull/64456 was merged and I have one more edit

* style fixes

* Update docs/sources/panels-visualizations/visualizations/canvas/index.md

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

* empty commit to force linting

* ran prettier

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2023-03-14 16:40:03 -05:00
Virginia Cepeda
6b95b3f8aa
Alerting: Display last & next rule eval date plus eval duration (#64767)
* Display last & next rule eval date plus eval duration

* Show next evaluation date in a humanized format

Full date still visible on hover

* Only show next evaluation column is group has an interval
2023-03-14 17:52:55 -03:00
Michael Mandrus
95aa9b374a
Docs: Fix example port shown in [caching.redis] configuration (#64769)
fix example port found in docs to match the actual redis default
2023-03-14 15:48:38 -05:00
Brendan O'Handley
2e4b134743
Prometheus: Feedback link for metric encyclopedia plus performance improvements (#64576)
* add filtered results

* add feedback link

* correctly debounce fuzzy search thank you leon

* reduce calls to filterMetrics()in letter search

* clean up the alphabet type

* bug fix, filter type should be subtractive

* each filter is don;t explicitly, subtracting from the results of each

* Revert "each filter is don;t explicitly, subtracting from the results of each"

This reverts commit 5648788451.

* each filter is filtered explicitly, one after the other, subtracting from the results of each
2023-03-14 16:36:24 -04:00
Kevin Minehart
dfee4249e8
Packaging: Dockerfile copy local folder (#64766)
Dockerfile copy local folder
2023-03-14 14:44:11 -05:00
Ryan McKinley
6751a93d49
FeatureToggles: remove open type declaration (#64645) 2023-03-14 19:47:32 +02:00
Ashley Harrison
85e5326040
Chore: Adjust unit tests so they work with react 18 (#64698)
tweak unit tests so they work with react 18
2023-03-14 17:24:04 +00:00
Connor Lindsey
c29b6c07dc
[Explore] Fix lint error by updating field overrides tests (#64754)
Fix type error in fieldOverrides.test.ts
2023-03-14 10:40:02 -06:00
Aaron Godin
4d789827e9
docs: grammar and readability for "Configure authentication" page (#64709)
docs: grammar and readability for configure-authentication/_index.md
2023-03-14 10:50:49 -05:00
Jack Baldry
dca5adeb98
Increase coverage of 'Grafana Cloud' labels (#64646)
* Add 'Grafana Cloud' label to content

All pages are applicable to both 'Open source' and 'Grafana Cloud'

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

* Add 'Grafana Cloud' label to administration content with some exceptions

- Enterprise licensing is 'Open source' and 'Enterprise'.
- 'Manage Organizations', 'Provision Grafana', and 'Stats and License' are 'Open source' only.

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

* Remove OSS from enterprise-licensing content

* Apply suggestions from code review

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-03-14 15:49:22 +00:00
Marcus Andersson
8127ec5bfd
Plugins: Fixed issue for plugin extensions in link validator (#64739)
fixed issue in validateLink.
2023-03-14 16:44:12 +01:00
Connor Lindsey
1e7c27e636
Explore: Add range option to internal data links (#64063)
* Add range option to internal data links

* Add test for internal link time range
2023-03-14 09:12:46 -06:00
Gareth Dawson
7562a8e472
Prometheus: add x icon to selected metrics (#64738)
fix: add `x` icon to selected metric
2023-03-14 15:09:06 +00:00
Jev Forsberg
de901560d7
Stat: Add ability to remove default single-color background gradient (#64353)
* baldm0mma/feature/solidOption/ update cue and ts types

* baldm0mma/feature/solidOption/ update data structures

* baldm0mma/feature/solidOption/ vizrepeater investigation

* baldm0mma/feature/solidOption/ add buildGradientBackground

* baldm0mma/feature/solidOption/ remove conlogs from fieldDisplay.ts

* baldm0mma/feature/solidOption/ rem destruct in fielddisplay.ts

* baldm0mma/feature/solidOption/ rem conlogs from bivaluelayout.tsx

* baldm0mma/feature/solidOption/ rem conlogs in visrepeater

* baldm0mma/feature/solidOption/ rem conlogs from statpanel.tsx

* baldm0mma/feature/solidOption/ add annotations in BigValue.tsx

* baldm0mma/feature/solidOption/ update cue

* baldm0mma/feature/solidOption/ remove unused anno

* baldm0mma/feature/solidOption/ update with toggle conditinal

* Update module.tsx

update anno

* baldm0mma/feature/solidOption/ update annos

* baldm0mma/feature/solidOption/ undo change

* baldm0mma/featurew/solidOption/ add anno for boolean toggle in stat module

* baldm0mma/featurew/solidOption/ update anno in BigValue.tsx for hasGradient

* baldm0mma/featurew/solidOption/ updart default logic in bigValueLayout.tsx
2023-03-14 08:59:54 -06:00
Andrej Ocenas
23e0f85ef9
Flamegraph: Fix rendering on contextMenu click and improve rendering perf (#64742) 2023-03-14 15:41:27 +01:00
Ryan McKinley
d710507bc5
Chore: Avoid explicit React.FC<Props> when possible (#64722) 2023-03-14 16:38:21 +02:00
Ivan Ortega Alba
cde1b5b162
PanelHeader: Add analytics for non-menu items (#64729) 2023-03-14 14:17:14 +01:00
juanicabanas
5e46ea17b4
PublicDashboards: Request view access page selectors (#64718) 2023-03-14 09:46:08 -03:00
Gareth Dawson
d72c39c587
Loki: Add descriptions to query builder operations (#64046)
* feat: add descriptions to query builder operations

* refactor: add suggestion from review

* fix: update width of label operator seelct
2023-03-14 12:14:32 +00:00
dependabot[bot]
165ca93ea5
Bump actions/cache from 3.0.11 to 3.3.1 (#64721)
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.11 to 3.3.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.11...v3.3.1)

---
updated-dependencies:
- dependency-name: actions/cache
  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-03-14 11:03:20 +01:00
Giordano Ricci
bda1a91e80
Chore: fix EmptyStateNoDatasource flaky test (#64520)
Chore: fix EmptyStateNoDatasourceflaky test
2023-03-14 10:03:04 +00:00
Ashley Harrison
53186c14a4
Chore: Improve some types (#64675)
* some type fixes

* few more

* more type fixes

* fix the majority of (window as any) calls

* don't make new variable for event

* few more

* MOAR
2023-03-14 09:51:44 +00:00
Jo
aade4b0bd2
AnonymousService: Test tagging service (#64708)
* add anonymous tagging tests

* lint
2023-03-14 10:47:34 +01:00
Sonia Aguilar
2f95171a45
Fix flacky test in RulelList.test.tsx (#64725) 2023-03-14 09:45:27 +01:00
Alexander Weaver
faef3a8258
Alerting: Log error but don't fail initialization if state history connection test fails (#64699)
Don't return init error if ping fails, add tests
2023-03-13 15:54:46 -05:00
Isabella Siu
74436d31de
CloudWatch Logs: Queries in an expression should run synchronously (#64443) 2023-03-13 13:31:46 -04:00
Ivan Ortega Alba
fc8a753892
PanelChrome: Do not show menu when panel is embedded (#64549) 2023-03-13 17:47:52 +01:00
Karl Persson
634955c3f2
OAuth: Add tls_skip_verify_insecure to defaults.ini (#64679)
OAuth: add tls_skip_verify_insecure to defaults.ini
2023-03-13 16:26:05 +01:00
Ryan McKinley
fa740a8bcf
Chore: Remove panel inspect Actions hack (#64643)
remove actions tab hook
2023-03-13 08:07:36 -07:00
Ryan McKinley
6720690615
FeatureToggles: generate a csv file for easy auditing (#64647)
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com>
2023-03-13 08:07:12 -07:00
Leon Sorokin
855de98133
TimeSeries: fix & optimize time string parsing (#64640) 2023-03-13 09:59:40 -05:00
Jo
8bb10f87e9
Auth: Update authentik devenv and add oauth (#64691)
update authentik devenv and add oauth
2023-03-13 15:13:16 +01:00
Marco Schaefer
d8a497ee6e
chore: upgrade faro-core and faro-web-sdk to 1.0.2 (#64407)
With v1.0.2 Faro explicitly closes fetch requests.
This fixes an issue were (headless) chrome browser
still considers those requests as open  which lead to timeouts.
2023-03-13 15:56:10 +02:00
Artur Wierzbicki
08f2791b22
Chore: assign owner for prometheusAzureOverrideAudience (#64620)
assign the last owner
2023-03-13 16:56:55 +04:00
Kristina
c363a81806
Dashboards: Filter out expressions when going to Explore (#64654)
* Filter out expressions when going from dashboard to explore

* Move expression UID constant to types
2023-03-13 07:53:19 -05:00
Ashley Harrison
caf98101e7
Navigation: Remove duplicate header on user invite page (#64677)
remove duplicated header in old navigation
2023-03-13 11:45:07 +00:00
Andrej Ocenas
6647217208
Phlare: Use enum config to send deduplicated func and filenames (#64435) 2023-03-13 11:06:04 +01:00
Torkel Ödegaard
5275a203aa
TopNav: Wrap TopSearchBar in memo to prevent unnecessary re-renders (#64667) 2023-03-13 10:57:55 +01:00
Matias Chomicki
5ffb28989e
Range splitting: remove hardcoded chunk limit (#64625)
* Range splitting: allow splits larger than 30 days while keeping the fail safe

* Remove limit

* Fix test

* Remove unnecessary try/catch

* Remove unused export
2023-03-13 05:33:01 -04:00
Ashley Harrison
3a1862f37f
TimeSeries: fix time comparer not comparing date strings properly (#64622)
* fix time comparer not comparing times properly

* move isDateTime last as it's probably the most expensive check
2023-03-13 09:31:27 +00:00
Ivana Huckova
d6eea0c7b5
Elasticsearch: Fix histogram fields to be filterale when processed trough backend (#64514)
* Elasticsearch: Fix histogram fields to be filterale when processed trough backend

* Simplify test and reuse logic
2023-03-13 10:11:18 +01:00
Torkel Ödegaard
abbae80b5e
TablePanel: Default cell height should be small (#64611)
* TablePanel: Default cell height should be small

* Component default
2023-03-13 08:12:46 +01:00