Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-12991 Grafana 10.4.0 #720

Merged
merged 1,781 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1781 commits
Select commit Hold shift + click to select a range
83270b3
I18n: Download translations from Crowdin (#82119)
github-actions[bot] Feb 8, 2024
3756234
Navigation: bump the bottom padding of the megamenu slightly (#82171)
ashharrison90 Feb 8, 2024
312f8f0
datatrails: debounce search and prefix filter (#81842)
darrenjaneczek Feb 8, 2024
71497c9
datatrails: style: improve panel display (#82017)
darrenjaneczek Feb 8, 2024
732f9ca
ReturnToPrevious: Add interaction reporting (#81948)
joshhunt Feb 8, 2024
36a1f28
Update dependency i18next-parser to v8 (#82085)
renovate[bot] Feb 8, 2024
4a7dde5
Chore: Remove unnecessary usage of DynamicSection from SocialService …
mgyongyosi Feb 8, 2024
0e15b4a
Navigation: Add config for `grafana-slo-app` and `grafana-aws-app` (#…
ashharrison90 Feb 8, 2024
37eb2e3
Update dependency @grafana/scenes to v2.6.6
renovate[bot] Feb 8, 2024
fb86ed7
Stats: Remove ACL references (#82112)
Jguer Feb 8, 2024
e612b9b
Update dependency @types/react-dom to v18.2.19
renovate[bot] Feb 8, 2024
b8f7230
Update dependency @types/gtag.js to ^0.0.19 (#82178)
renovate[bot] Feb 8, 2024
a439ee4
datatrails: fix: propagate unit to breakdown graphs (#82176)
darrenjaneczek Feb 8, 2024
ac5a387
Peakq: move templates into query service (#82193)
ryantxu Feb 8, 2024
903e54e
Update dependency postcss to v8.4.35
renovate[bot] Feb 8, 2024
633e354
Transformations: Fix converting time fields to number in reduceFields…
gtk-grafana Feb 8, 2024
ce57166
Alerting: GA alertingPreviewUpgrade and enable by default (#82038)
JacobsonMT Feb 8, 2024
8296727
Deprecation: Create explicit feature toggle to auto-migrate from grap…
nmarrs Feb 8, 2024
930c8c5
EventBus: Add ability to tag events with arbitrary classification met…
leeoniya Feb 8, 2024
cc33f0b
Prometheus: Azure scopes from Grafana Azure SDK (#82023)
Feb 8, 2024
8afab6a
Icons: Add support for docker icon (#81884)
erj826 Feb 9, 2024
e9dab61
Update `make docs` procedure (#82223)
github-actions[bot] Feb 9, 2024
765a1f8
Chore: fix some bad uses of `userEvent` (#82191)
ashharrison90 Feb 9, 2024
00fd023
Update dependency lerna to v8 (#82196)
renovate[bot] Feb 9, 2024
e03a96d
Docs: Update default value of rbac.permission_validation_enabled (#82…
mgyongyosi Feb 9, 2024
3d73cd5
Docs: Team LBAC create concept and tasks (#82020)
eleijonmarck Feb 9, 2024
b0dfeb1
Chore: Clean up intervalv2 functions (#82074)
itsmylife Feb 9, 2024
fc498f5
Update RBAC role name: fixed:datasources.id:reader (#82186)
marybelvargas Feb 9, 2024
ed9e261
Update dependency @types/node to v20.11.17
renovate[bot] Feb 9, 2024
3e93a09
Alerting: Use new readonly permission endpoints for getting contact p…
soniaAguilarPeiron Feb 9, 2024
beca6a0
Alerting: defaults for simplified routing (#82050)
soniaAguilarPeiron Feb 9, 2024
8beff98
Update Prettier checks to parse also JSON files (#82046)
fabrizio-grafana Feb 9, 2024
e0bff62
Chore: ignore `loader-utils` update (#82236)
ashharrison90 Feb 9, 2024
5a5520b
Dashboards: add delete variable flow to `VariableEditorForm` (#82149)
Sergej-Vlasov Feb 9, 2024
b1dc505
Auth: Validate admin assignment in SSO Settings (#82233)
mgyongyosi Feb 9, 2024
48b4ca8
Elasticsearch: Decouple frontend dependencies from core (#82179)
ivanahuckova Feb 9, 2024
bc83d82
Card: Add `isCompact` prop and `Overline` sub-component (#82077)
JoaoSilvaGrafana Feb 9, 2024
02d6185
Annotations: Fix axis markers rendering in wrong (stale) positions (#…
leeoniya Feb 9, 2024
fc5f228
Revert "Update dependency lerna to v8 (#82196)" (#82254)
ashharrison90 Feb 9, 2024
984d2da
LibraryPanels: Fix issue with repeated library panels (#82255)
kaydelaney Feb 9, 2024
de4acb2
Table: Add initial row index (#82200)
gtk-grafana Feb 9, 2024
790e1fe
Chore: Update test database initialization (#81673)
DanCech Feb 9, 2024
fbdd27c
Alerting: Add support for UTF-8 characters in notification policies a…
konrad147 Feb 9, 2024
32a1f39
Canvas: Keep tooltip open until dismissed (#82213)
adela-almasan Feb 9, 2024
6f62d97
JWT Authentication: Add support for specifying groups in auth.jwt for…
Jguer Feb 9, 2024
9bc3517
Snapshots: Fix issue where off-screen panels are not included in snap…
mtanda Feb 9, 2024
54a77fa
K8s: StackIDs can be single digits (#82267)
stephaniehingtgen Feb 9, 2024
1f208cd
Icons: Update observability icon (#82266)
Clarity-89 Feb 9, 2024
f60b5ec
Chore: Avoid NPE with annotations query (#82216)
ryantxu Feb 9, 2024
42d6e17
Feature Toggle Management: allow editing PublicPreview toggles (#81562)
jcalisto Feb 9, 2024
7f109c8
CloudWatch: Fix code editor not resizing on mount when content height…
kevinwcyu Feb 9, 2024
77111a0
Cloud Monitoring: Fix naming and warnings (#82271)
alyssabull Feb 9, 2024
c959353
Loki query builder: force click in e2e test (#82051)
matyax Feb 9, 2024
87c3d0f
K8s: Update stack id validation (#82275)
stephaniehingtgen Feb 9, 2024
b5d14d0
Scenes: Upgrade to 2.6.5 and Add query controller DashboardScene (#8…
torkelo Feb 9, 2024
5bbe9c6
Alerting: Enable group-level rule evaluation jittering by default, re…
alexweav Feb 9, 2024
14869cc
Docs: Update developer dependencies (#82034)
toddtreece Feb 9, 2024
ce910a7
FeatureFlags: manage creation/modification times automatically (#82131)
ryantxu Feb 9, 2024
f0bbfc8
Chore: Move BI feature flags to Dataviz (#82224)
codeincarnate Feb 10, 2024
02c0f59
prometheus: fix: use shallow clone of scopedVars (#82280)
darrenjaneczek Feb 10, 2024
fe6d146
DashboardScene: Adds solo page that uses dasboarde scene to render si…
torkelo Feb 11, 2024
fcf2543
updated grafana-plugin-sdk-go dependency (#82136)
gabor Feb 12, 2024
815e612
[DOC] Update Pyroscope data source (#82130)
knylander-grafana Feb 12, 2024
9c92329
Alerting docs: `Provision alerting resources` updates (#82221)
ppcano Feb 12, 2024
00e96e4
Auth: SSO Settings UI frontend improvements (#82264)
mgyongyosi Feb 12, 2024
14ec1a7
Table Panel: Update column alignment labels in panel config (#82069)
codeincarnate Feb 12, 2024
e2ea20b
DashboardScene: Fixes compatability wrapper to make annotation list p…
torkelo Feb 12, 2024
18ee8f7
I18n: Download translations from Crowdin (#82181)
github-actions[bot] Feb 12, 2024
7f7f1b1
DashboardScene: Panel edit progress (#82288)
torkelo Feb 12, 2024
d91803c
Keybindings: Change 'h' to 'mod+h' to open help modal (#82253)
tskarhed Feb 12, 2024
70fc603
Alerting: Improve 404 and other HTTP request error handling (#82249)
gillesdemey Feb 12, 2024
a3f3429
Variable: Inform users of the error details when Grafana is unable to…
lingyufei Feb 12, 2024
67f006a
sql: remove setting-import from sqleng (#82088)
gabor Feb 12, 2024
d65d2ce
sql: add explanation comment (#82304)
gabor Feb 12, 2024
730e1d2
Alerting: Fix folder and rule name in groupBy for simplified routing …
soniaAguilarPeiron Feb 12, 2024
788b9af
Plugins: Make it possible to support multiple plugin versions (#82116)
wbrowne Feb 12, 2024
71e7d65
Card: Revert adding overline component (#82308)
JoaoSilvaGrafana Feb 12, 2024
685e84b
Chore: Remove `react-popper` from `DataLinkInput` and `SuggestionsInp…
ashharrison90 Feb 12, 2024
1315c67
Team/User: UID migrations (#82298)
kalleep Feb 12, 2024
1fe3247
Scenes: Annotations functionality in settings (#81361)
mdvictor Feb 12, 2024
cd09c36
datatrails: fix: improve performance of related metrics sort (#82285)
darrenjaneczek Feb 12, 2024
8f36f90
SceneSolo: Minor fixes (#82289)
torkelo Feb 12, 2024
c4b8697
Logs Panel: Table UI - better default column spacing (#82205)
gtk-grafana Feb 12, 2024
29be9b1
Logs: Table UI - Enable feature flag by default (GA) (#81185)
gtk-grafana Feb 12, 2024
fea2386
Chore: remove `react-popper` from AnnotationEditor and AnnotationMark…
ashharrison90 Feb 12, 2024
2210d52
Fix frontend-observability icon fill colour (#82326)
joshhunt Feb 12, 2024
6d5211e
K8s: Fix windows filepath issue in file storage (#81919)
toddtreece Feb 12, 2024
d6e6298
K8s: Add Aggregation to Backend Service (#81591)
toddtreece Feb 12, 2024
d1e5e4e
FeatureToggles: keep older history (#82336)
ryantxu Feb 12, 2024
0c6e409
Chore: Update arrow and prometheus dependencies (#82215)
ryantxu Feb 13, 2024
3909b4c
Alerting docs: update `<GRAFANA VERSION>` to `<GRAFANA_VERSION>` (#82…
ppcano Feb 13, 2024
8a90c0f
Update `make docs` procedure (#82342)
github-actions[bot] Feb 13, 2024
f7a425d
DashboardScene: Panel edit visualization suggestions (#82296)
torkelo Feb 13, 2024
86b8a0a
Tempo: Improve Betterer results (#81338)
fabrizio-grafana Feb 13, 2024
d07aa25
go: updated grafana-plugin-sdk-go version (#82346)
gabor Feb 13, 2024
55d17c7
Chore: Remove Form usage from alerting config components (#81681)
Clarity-89 Feb 13, 2024
4054590
Tempo: Use grafana/ui divider (#82141)
joey-grafana Feb 13, 2024
d33a087
Tempo: Remove unused code (#82151)
joey-grafana Feb 13, 2024
34fddfc
Chore: Use jsoniter in cloud-monitoring from grafana-plugin-sdk-go (#…
itsmylife Feb 13, 2024
6c42bd3
Teams: Remove Form component usage (#82367)
Clarity-89 Feb 13, 2024
1abe4a0
Table: Update page index on data update (#81574)
Develer Feb 13, 2024
baa46e6
DasbhoardScene: Fixes panel menu new alert rule action (#82366)
torkelo Feb 13, 2024
082f020
Elasticsearch: Fix resource calls for paths that include `:` (#82327)
ivanahuckova Feb 13, 2024
763dab7
DashboardScene: Panel edit toolbar actions (#82302)
torkelo Feb 13, 2024
556d531
Alerting: Update grafana/alerting to 92f64f0 (#82373)
grobinson-grafana Feb 13, 2024
99fa064
Alerting: Emit warning when creating or updating unusually large grou…
alexweav Feb 13, 2024
65a0a8c
Loki: Update `@grafana/lezer-logql` to `0.2.3` containing fix for ip …
ivanahuckova Feb 13, 2024
dcbc3aa
Chore: Update `grabpl` to `v3.0.50` (#82379)
aangelisc Feb 13, 2024
3f940f4
Chore: Use jsoniter in influxdb from grafana-plugin-sdk-go (#82360)
itsmylife Feb 13, 2024
ccb4533
Alerting: Remove unused AlertRuleVersionWithPauseStatus (#82383)
alexweav Feb 13, 2024
dbde08b
Scenes: Refactor original snapshot button in a new component (#82199)
evictorero Feb 13, 2024
e6e9d6a
Changelog: Updated changelog for 9.5.16 (#82386)
grafana-delivery-bot[bot] Feb 13, 2024
28de94f
Folders: Modify folder service Get() to optionally return fullpath (#…
papagian Feb 13, 2024
f2ac24f
Documentation: Incorrect API example for Public Dashboard (#82335)
lucychen-grafana Feb 13, 2024
558dc74
Changelog: Updated changelog for 10.0.11 (#82392)
grafana-delivery-bot[bot] Feb 13, 2024
63670b7
Chore: Use jsoniter in prometheus from grafana-plugin-sdk-go (#82359)
itsmylife Feb 13, 2024
3d86d10
Dashboards: Use `auto` and only use `AdHocFiltersVariable` to manage …
ivanortegaalba Feb 13, 2024
ff5b0f7
Logs panel: Table UI - remove beta badge (#82395)
gtk-grafana Feb 13, 2024
b3663ea
Changelog: Updated changelog for 10.3.3 (#82399)
grafana-delivery-bot[bot] Feb 13, 2024
cb47177
Changelog: Updated changelog for 10.1.7 (#82401)
grafana-delivery-bot[bot] Feb 13, 2024
a1ff439
Fix query inspector in explore to scroll to bottom (#82369)
mdvictor Feb 14, 2024
37c860d
Changelog: Updated changelog for 10.2.4 (#82411)
grafana-delivery-bot[bot] Feb 14, 2024
92eb2c9
Alerting: Use VirtualizedSelect for ContactPointSelector (#82345)
soniaAguilarPeiron Feb 14, 2024
f6ea39f
Alerting: Prevent state badge from wrapping (#82330)
gillesdemey Feb 14, 2024
7694e7b
Tempo: Support TraceQL metrics queries (#81886)
adrapereira Feb 14, 2024
fe79541
Grafana/UI: Add new Splitter component (#82357)
torkelo Feb 14, 2024
7c44dd7
IP range AC: Add X-Real-IP header (#82390)
IevaVasiljeva Feb 14, 2024
4c22196
postgres: socks proxy: use plugin-sdk (#82376)
gabor Feb 14, 2024
2938f89
mysql: socks proxy: use plugin-sdk (#82375)
gabor Feb 14, 2024
70aa8fe
Alerting: Fix slack double pound and email summary (#82333)
gillesdemey Feb 14, 2024
526916e
DashboardScene: Panel edit use new splitter and new conditional data …
torkelo Feb 14, 2024
705ab46
Devenv: Add groups to jwt_proxy (#82424)
mgyongyosi Feb 14, 2024
4dcc592
Logs panel: Table UI - Guess string field types (#82397)
gtk-grafana Feb 14, 2024
cf65d91
Chore: upgrade to msw v2 (#82270)
ashharrison90 Feb 14, 2024
9dcb780
Plugins: Add fuzzy search to plugins catalogue (#81001)
Ukochka Feb 14, 2024
8dc1cd6
Alerting: Fix reading props from undefined in settings (#82418)
soniaAguilarPeiron Feb 14, 2024
4cbc7df
Add PagerDuty to the plugins list (#82419)
cletter7 Feb 14, 2024
6ce2862
Betterer: Expose results as JSON (#81352)
tskarhed Feb 14, 2024
44ecb26
Alerting: Clarify provisioning export types (#82420)
konrad147 Feb 14, 2024
04005d7
Revert: Scenes/PanelEditor: Fix panel options search crash 82003 (#82…
axelavargas Feb 14, 2024
7efa8c2
Docs: Add copy dashboard instructions (#82155)
VarshaSBhat Feb 14, 2024
88481fe
Table Panel: Fix display of ad-hoc filter actions (#82442)
codeincarnate Feb 14, 2024
d956282
Scenes: Upgade to 3.5.0 (#82441)
torkelo Feb 14, 2024
8a7828d
Update dependency marked to v12 (#82245)
renovate[bot] Feb 14, 2024
12b1170
Auth: Validation fixes for SSO Settings (#82252)
mgyongyosi Feb 14, 2024
7d21eb0
Update React Aria (#82447)
renovate[bot] Feb 14, 2024
06b5875
Table Panel: Filter column values with operators or expressions (#79853)
ahuarte47 Feb 14, 2024
9c29e1a
Alerting: Fix data races and improve testing (#81994)
diegommm Feb 14, 2024
c8ba216
Update dependency @grafana/lezer-logql to v0.2.3 (#82450)
renovate[bot] Feb 14, 2024
ce750e0
Deprecation: Create explicit feature toggles for remaining panels (#8…
nmarrs Feb 14, 2024
062fa2d
Loki Log Context: Always show label filters with at least one parsed …
svennergr Feb 14, 2024
e422309
Loki: Enable `lokiStructuredMetadata` feature flag by default (#82325)
svennergr Feb 14, 2024
26b25da
Tooltips: Hide dimension configuration when tooltip mode is hidden (#…
codeincarnate Feb 14, 2024
63cf8c8
Update dependency @swc/core to v1.4.1
renovate[bot] Feb 14, 2024
2d4307d
Chore: Update Inter font files (#82446)
joshhunt Feb 14, 2024
269fa40
Update dependency @types/semver to v7.5.7
renovate[bot] Feb 14, 2024
f016f95
GroupBy variable core integration (#82185)
dprokop Feb 14, 2024
62efe6e
Panel Query Options: Support query caching options (#82448)
dprokop Feb 14, 2024
c490b70
Update dependency core-js to v3.36.0 (#82464)
renovate[bot] Feb 14, 2024
ff08c0a
Chore: improve test readability in ngalert/schedule (#82453)
diegommm Feb 14, 2024
d4ae10e
Alerting: Small refactor, move unrelated functions out of fetcher (#8…
alexweav Feb 14, 2024
3482c8e
Chore: Add omit wrapper for xorm (#82476)
ryantxu Feb 14, 2024
8832971
Perf: Lazy initialization of charsetmaps in go-mssqldb (#79729)
toddtreece Feb 14, 2024
b7b83de
DashboardScene: Panel edit search crash fix (#82449)
torkelo Feb 15, 2024
6a47c8d
Drone: Do not upload artifacts if e2e tests have not run (#82451)
papagian Feb 15, 2024
a6bc262
Chore: Remove `grafana-delivery` references (#82505)
dsotirakis Feb 15, 2024
808be09
Rollback `ansicolor` package to `1.1.100` to fix ansi styled logs (#8…
svennergr Feb 15, 2024
2ef17ef
Tempo: Reset tag value when key changed in Search tab (#82365)
joey-grafana Feb 15, 2024
a922ce8
Pyroscope: Add Pyroscope to build and release step (#82363)
joey-grafana Feb 15, 2024
b81c3ab
Tempo: Improve UX of the query editors status select (#82167)
joey-grafana Feb 15, 2024
5105be4
Update dependency diff to v5.2.0 (#82465)
renovate[bot] Feb 15, 2024
c0b5b32
Chore: replace `react-popper` with `floating-ui` in `InlineToast` (#8…
ashharrison90 Feb 15, 2024
db7fcd1
Update dependency browserslist to v4.23.0 (#82516)
renovate[bot] Feb 15, 2024
1bab82a
mssql: socks proxy: use plugin-sdk (#82407)
gabor Feb 15, 2024
749a317
Update dependency @types/node to v20.11.18
renovate[bot] Feb 15, 2024
c6d91e9
sql: remove unused code (#82527)
gabor Feb 15, 2024
7ab203c
Update dependency eslint-plugin-jest to v27.8.0 (#82529)
renovate[bot] Feb 15, 2024
951399a
Update dependency eslint-plugin-jsdoc to v48.1.0 (#82531)
renovate[bot] Feb 15, 2024
45c7393
Loki: Fix fetching of values for label if no previous equality operat…
ivanahuckova Feb 15, 2024
916a7bb
Prometheus: Move converter in prometheus package (#82269)
itsmylife Feb 15, 2024
4aabfb7
Area Build/Packaging: release process - remove image check for armhf …
briangann Feb 15, 2024
ff916d9
Docs: Update docs for creating nested folders (#82310)
suntala Feb 15, 2024
1eebd2a
Alerting: Support for simplified notification settings in rule API (#…
yuri-tceretian Feb 15, 2024
7ec97f4
Loki: Fix fetching of label names if no previous equality operator (#…
svennergr Feb 15, 2024
0f47a6f
Docs: add RBAC for library panels (#82495)
imatwawana Feb 15, 2024
d071f41
Logs Panel: Add CSV to download options (#82480)
gtk-grafana Feb 15, 2024
d019335
Update dependency @grafana/faro-core to v1.3.8
renovate[bot] Feb 15, 2024
4d53385
RBAC: allow listing permissions on the root folder (#82184)
IevaVasiljeva Feb 15, 2024
f4d81a8
Update dependency @grafana/faro-web-sdk to v1.3.8
renovate[bot] Feb 15, 2024
16f5220
DashboardScene: Empty dashboard state (#82338)
harisrozajac Feb 15, 2024
b7bbc50
Alerting: Don't validate rules on group update if they've only been r…
rwwiv Feb 15, 2024
644d721
Update dependency @grafana/faro-web-sdk to v1.3.8
renovate[bot] Feb 15, 2024
f593161
K8s: Set X-Remote- headers for SignedInUser (#82543)
toddtreece Feb 15, 2024
23a3fdd
Update dependency @types/node to v20.11.19
renovate[bot] Feb 15, 2024
b894d26
SQLStore: New store without side-effects (#82657)
marefr Feb 15, 2024
8e7c9f6
Adding Grafana for Beginners video to doc (#82710)
LisaHJung Feb 15, 2024
7b37e22
ReturnToPrevious: Modify `zIndex` to avoid overlapping with the nav, …
eledobleefe Feb 15, 2024
3427321
Update dependency webpack to v5.90.2
renovate[bot] Feb 15, 2024
80f324f
Adding "Exploring logs, metrics, and traces with Grafana" video to do…
LisaHJung Feb 15, 2024
4b67ac1
VizTooltips: Fix sorting (#82278)
leeoniya Feb 15, 2024
ba63e62
Alerting: Return provenance of notification templates (#82274)
julienduchesne Feb 15, 2024
c879588
APIServer: Use options pattern in standalone mode (#82760)
ryantxu Feb 15, 2024
c540fd4
Prometheus: Fix expanding that contains multiple metrics (#82354)
itsmylife Feb 15, 2024
8de9c4c
Timeseries: Add hover proximity option (#81421)
adela-almasan Feb 15, 2024
118e4a5
Alerting: Remove start page of legacy upgrade preview (#82010)
JacobsonMT Feb 15, 2024
5985876
Alerting: make feature flag alertingSimplifiedRouting public (#82808)
yuri-tceretian Feb 15, 2024
cdd3e1c
chore: Promote panel monitoring feature toggle to GA (#82472)
nmarrs Feb 16, 2024
c5d1b29
Plugins: Allow plugin page access granting via permissions (#82508)
Jguer Feb 16, 2024
901e1b1
TeamSync: Fix auth proxy docs on teamsync (#82457)
Jguer Feb 16, 2024
69f604f
Chore: Fix benchmarks (#82714)
papagian Feb 16, 2024
86c618a
Alerting: Escape namespace and group path parameters (#80504)
SvenKirschbaum Feb 16, 2024
94f544c
InfluxDB: Fix tag interpolation when varable used within a regex patt…
itsmylife Feb 16, 2024
691115d
Chore: replace `react-popper` with `@floating-ui/react` in `DataSourc…
ashharrison90 Feb 16, 2024
fe0fc08
Chore: Update ssoSettingsApi feature toggle state to Public Preview (…
mgyongyosi Feb 16, 2024
846eadf
RBAC Search: Replace `userLogin` filter by `namespacedID` filter (#81…
gamab Feb 16, 2024
ac84069
Password policy (#82268)
linoman Feb 16, 2024
bb9d579
Auth: Load `oauth_allow_insecure_email_lookup` using the SettingsProv…
mgyongyosi Feb 16, 2024
df8250f
Card: Remove mdx file and render docs from the story (#82565)
Clarity-89 Feb 16, 2024
1744487
Tempo: Upgrade @grafana/lezer-traceql patch version to use trace metr…
joey-grafana Feb 16, 2024
7343102
RBAC: Migration to remove the scope from permissions where action is …
IevaVasiljeva Feb 16, 2024
592b830
DashboardScene: Panel edit ux tweaks (#82500)
torkelo Feb 16, 2024
6ce0efe
Plugins: Enable feature toggle angularDeprecationUI by default (#82880)
xnyo Feb 16, 2024
248031d
Alerting: Show legacy provisioned alert rules warning (#81902)
gillesdemey Feb 16, 2024
9e04fd0
AuthToken: Remove client token rotation feature toggle (#82886)
kalleep Feb 16, 2024
7b4dd4f
Explore: Only update pane's instance of Inspector (#80106)
gelicia Feb 16, 2024
7b415cf
Alerting: Skip fetching receivers status in the alert rule form (#82892)
soniaAguilarPeiron Feb 16, 2024
82e3e2e
LibraryPanels/RBAC: Fix issue where folder scopes weren't being corre…
kaydelaney Feb 16, 2024
ffb9a4d
Chore: some test type fixes (#82889)
ashharrison90 Feb 16, 2024
8f0431b
K8s: Pass ID token in X-Extra-id-token header (#82893)
toddtreece Feb 16, 2024
7f7ab32
Elasticsearch: Add error source to logs (#82901)
svennergr Feb 16, 2024
e7c6e9c
Alerting: Fix migration edge-case race condition for silences (#81206)
JacobsonMT Feb 16, 2024
7422a90
ReturnToPrevious: modify stage of the feature toggle (#82912)
eledobleefe Feb 16, 2024
5de1743
Alerting: Add pagination and improved search for notification policie…
soniaAguilarPeiron Feb 16, 2024
f71f54c
Alerting: Updates to recording rules (#82329)
gillesdemey Feb 16, 2024
bc8952b
Docs: Setup OAuth providers using the SSO Settings UI (#81589)
mgyongyosi Feb 16, 2024
dfaf6d1
Alerting: Dry-run legacy upgrade on startup (#82835)
JacobsonMT Feb 16, 2024
3a63311
Scenes/LibraryPanels: Fix issue where library panels plugin type was …
kaydelaney Feb 16, 2024
fabaff9
Alerting: Create metric for rules using simple notifications (#82904)
rwwiv Feb 16, 2024
46c26bb
Auth: Fix email verification bypass when using basic authentication (…
volcanonoodle Feb 16, 2024
538617b
docs: angular plugins list rewrite (#82456)
sympatheticmoose Feb 16, 2024
0a9389c
Add video to variables _index.md (#82926)
srperf Feb 16, 2024
c6f8462
Prometheus: Library fixes for using in external vendor DS (#82115)
bohandley Feb 16, 2024
38e8c62
Folders: Switch order of the columns in folder table indexes so that …
papagian Feb 16, 2024
69e121a
Alerting: Protect possible undefined (#83128)
soniaAguilarPeiron Feb 20, 2024
c385d05
CI: Bump `alpine` image version (#83716)
aangelisc Feb 29, 2024
1ad2a75
Chore: Bump what's new
aangelisc Mar 4, 2024
03f502a
[v10.4.x] chore: bump Go to 1.21.8 (#83937)
hairyhenderson Mar 5, 2024
a1697dc
Merge branch 'release-10.4.0' into v3
matejkubinec Mar 7, 2024
3cf01c4
PMM-12991 Fix navigation menu & other small fixes
matejkubinec Mar 11, 2024
cece73c
PMM-12991 Fix CI & prettify
matejkubinec Mar 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2,813 changes: 1,630 additions & 1,183 deletions .betterer.results

Large diffs are not rendered by default.

8,260 changes: 8,260 additions & 0 deletions .betterer.results.json

Large diffs are not rendered by default.

42 changes: 39 additions & 3 deletions .betterer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,43 @@ import path from 'path';
import { glob } from 'glob';

// Why are we ignoring these?
// They're all deprecated/being removed soon so doesn't make sense to fix types
// They're all deprecated/being removed so doesn't make sense to fix types
const eslintPathsToIgnore = [
'packages/grafana-e2e', // deprecated.
'public/app/angular', // will be removed in Grafana 11
'public/app/plugins/panel/graph', // will be removed alongside angular
'public/app/plugins/panel/table-old', // will be removed alongside angular
];

// Avoid using functions that report the position of the issues, as this causes a lot of merge conflicts
export default {
'better eslint': () =>
countEslintErrors()
.include('**/*.{ts,tsx}')
.exclude(new RegExp(eslintPathsToIgnore.join('|'))),
'no undocumented stories': () => countUndocumentedStories().include('**/!(*.internal).story.tsx'),
'no gf-form usage': () =>
regexp(
/gf-form/gm,
'gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.'
).include('**/*.{ts,tsx,html}'),
};

function countUndocumentedStories() {
return new BettererFileTest(async (filePaths, fileTestResult) => {
await Promise.all(
filePaths.map(async (filePath) => {
// look for .mdx import in the story file
const regex = new RegExp("^import.*.mdx';$", 'gm');
const mdxImportRegex = new RegExp("^import.*\\.mdx';$", 'gm');
// Looks for the "autodocs" string in the file
const autodocsStringRegex = /autodocs/;

const fileText = await fs.readFile(filePath, 'utf8');
if (!regex.test(fileText)) {

const hasMdxImport = mdxImportRegex.test(fileText);
const hasAutodocsString = autodocsStringRegex.test(fileText);
// If both .mdx import and autodocs string are missing, add an issue
if (!hasMdxImport && !hasAutodocsString) {
// In this case the file contents don't matter:
const file = fileTestResult.addFile(filePath, '');
// Add the issue to the first character of the file:
Expand All @@ -38,6 +52,28 @@ function countUndocumentedStories() {
});
}

/**
* Generic regexp pattern matcher, similar to @betterer/regexp.
* The only difference is that the positions of the errors are not reported, as this may cause a lot of merge conflicts.
*/
function regexp(pattern: RegExp, issueMessage: string) {
return new BettererFileTest(async (filePaths, fileTestResult) => {
await Promise.all(
filePaths.map(async (filePath) => {
const fileText = await fs.readFile(filePath, 'utf8');
const matches = fileText.match(pattern);
if (matches) {
// File contents doesn't matter, since we're not reporting the position
const file = fileTestResult.addFile(filePath, '');
matches.forEach(() => {
file.addIssue(0, 0, issueMessage);
});
}
})
);
});
}

function countEslintErrors() {
return new BettererFileTest(async (filePaths, fileTestResult, resolver) => {
const { baseDirectory } = resolver;
Expand Down
2 changes: 1 addition & 1 deletion .bingo/wire.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT

go 1.16

require github.com/google/wire v0.5.0 // cmd/wire
require github.com/google/wire v0.6.0 // cmd/wire
66 changes: 66 additions & 0 deletions .bingo/wire.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
github.com/google/subcommands v1.0.1 h1:/eqq+otEXm5vhfBrbREPCSVQbvofip6kIz+mX5TUH7k=
github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk=
github.com/google/subcommands v1.2.0 h1:vWQspBTo2nEqTUFita5/KeEWlUL8kQObDFbub/EN9oE=
github.com/google/subcommands v1.2.0/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk=
github.com/google/wire v0.5.0 h1:I7ELFeVBr3yfPIcc8+MWvrjk+3VjbcSzoXm3JVa+jD8=
github.com/google/wire v0.5.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU=
github.com/google/wire v0.6.0 h1:HBkoIh4BdSxoyo9PveV8giw7ZsaBOvzWKfcg/6MrVwI=
github.com/google/wire v0.6.0/go.mod h1:F4QhpQ9EDIdJ1Mbop/NZBRB+5yrR6qg3BnctaoUk6NA=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0=
golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk=
golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU=
golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190422233926-fe54fb35175b h1:NVD8gBK33xpdqCaZVVtd6OFJp+3dxkXuz7+U7KaVN6s=
golang.org/x/tools v0.0.0-20190422233926-fe54fb35175b/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=
golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc=
golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
2 changes: 2 additions & 0 deletions .bra.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[run]
init_cmds = [
["GO_BUILD_DEV=1", "make", "gen-go"],
["GO_BUILD_DEV=1", "make", "build-go"],
["make", "gen-jsonnet"],
["./bin/grafana", "server", "-packaging=dev", "cfg:app_mode=development"]
Expand All @@ -16,6 +17,7 @@ watch_exts = [".go", ".ini", ".toml", ".template.html"]
ignore_files = [".*_gen.go"]
build_delay = 1500
cmds = [
["GO_BUILD_DEV=1", "make", "gen-go"],
["GO_BUILD_DEV=1", "make", "build-go"],
["make", "gen-jsonnet"],
["./bin/grafana", "server", "-packaging=dev", "cfg:app_mode=development"]
Expand Down
2 changes: 0 additions & 2 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ load(
)
load(
"scripts/drone/pipelines/ci_images.star",
"publish_ci_build_container_image_pipeline",
"publish_ci_windows_test_image_pipeline",
)
load(
Expand Down Expand Up @@ -51,7 +50,6 @@ def main(_ctx):
}, "oss", "testing")] +
integration_test_pipelines() +
publish_ci_windows_test_image_pipeline() +
publish_ci_build_container_image_pipeline() +
cronjobs() +
secrets()
)
Loading
Loading