Commit Graph

995 Commits

Author SHA1 Message Date
Todd Treece
d1ffcc22d9
Playlists: Migrate to App SDK codegen (#93246) 2024-09-13 16:27:40 -04:00
Matthew Jacobson
0aa87fd1d4
Alerting: Fix DashboardUID typo in json provisioning api (#65143)
* Alerting: Fix dasboardUid typo in json provisioning api

The json tag for DashboardUID was incorrectly set to dasboardUid in the provisioning api. This change fixes the typo while keeping backwards compatibility for the typo.

* Add alerting-squad as CODEOWNER for services/provisioning/alerting
2024-09-12 20:44:03 +03:00
Tom Ratcliffe
03c48844dd
Chore: Remove MSW worker from source control and rely on installation instead (#93268) 2024-09-12 16:03:50 +03:00
Esteban Beltran
1c84e76d32
Triager: Add area/query-library to commands.json (#92963) 2024-09-12 14:46:45 +02:00
Esteban Beltran
7b69d5b44f
Add missing permissions for auto-triage bot (#93230) 2024-09-11 16:51:15 +03:00
Esteban Beltran
05023d9d31
Enable auto-triager to automatically add labels to community issues (#93206)
* Chore: Enable auto-triager to set labels

* pass the correct token to add labels
2024-09-11 12:53:16 +02:00
Esteban Beltran
462560d544
Chore: Only auto-triage issues for authors non associated to the repository (#93174)
Only triage issues for authors non associated to the repository
2024-09-10 16:29:58 +02:00
Esteban Beltran
0fb2eacba1
Chore: Move auto-triager workflow to issue-opened workflow file (#93101)
* move auto-triager to issue-opened workflow

* remove autotriager from codeowners
2024-09-09 16:44:01 +02:00
Adela Almasan
af48d3db1e
Canvas: Add actions support (#90677)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-09-09 09:11:55 -05:00
Alex Khomenko
2585c58dd4
OptionsUI: Change owners to dashboard squad (#92592)
* OptionsUI: Change owners to dashboard squad

* Update .github/CODEOWNERS

Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com>

---------

Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com>
2024-09-09 16:21:05 +03:00
Gábor Farkas
7afe6d7023
CODEOWNERS: improve ownership of query apis (#93087) 2024-09-09 14:31:05 +03:00
Ashley Harrison
86844142a9
Translations: Crowdin action now works on subsequent pushes (#92939)
* try using the generated token in the checkout action

* comment out github_user_name

* try adding with: token

* try env var

* try removing github_user_name

* restore user_name etc

* update action

* try persist-credentials: false;

* remove persist-creds false

* test

* restore github actions name
2024-09-04 16:20:00 +01:00
antonio
1d5dffc51d
update commmands.json (#92930) 2024-09-04 17:02:32 +03:00
Hugo Kiyodi Oshiro
668d87b19f
Plugins: Add message on levitate workflow failure (#92906) 2024-09-04 13:52:42 +02:00
Andreas Christou
8daa6f1f30
CI: Ensure changelogs are prettified prior to commit (#92580)
* Ensure changelogs are prettified prior to commit

* Remove cache property

* Include .yarn directory

* Include packages directory

* Try just using npx

* Update workflows
2024-09-04 11:03:17 +01:00
Tom Ratcliffe
aec73f3501
Alerting/Chore: Mock API (MSW) in browser (#89223)
Co-authored-by: joshhunt <josh@trtr.co>
2024-09-04 10:22:03 +01:00
Jack Westbrook
e7d7ed5406
Chore: Remove side-effect import from app (#92650)
* chore(frontend): remove stray side-effect features import that brings the whole jungle

* chore(app): delete features/all.ts and its friends

* chore(codeowners): remove public/app/features/all.ts from file
2024-09-03 13:43:13 +03:00
Timur Olzhabayev
564d09c9be
Chore: fixing triage link (#92828)
fixing triage link
2024-09-02 18:24:04 +03:00
Esteban Beltran
045c57af23
Chore: Update auto triager github action to use private repository (#92819)
* Update auto triager to use private repository

* Check for other secrets too
2024-09-02 16:39:22 +02:00
Esteban Beltran
a3e7e3dbfa
Chore: Add auto-triager github action (#92807)
* Chore: Add auto-triager github action

* Add codeowners

* Add link

* Update .github/workflows/auto-triager.yml

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>

---------

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
2024-09-02 15:23:04 +02:00
Esteban Beltran
51e27b8f3b
Chore: Update commands.json to expand labels and their related projects (#92734)
* Chore: Update commands.json to expand labels and their related projects

* Fix trailing slashes
2024-09-02 11:27:22 +02:00
Charandas
4f024d94d8
Authn: resolve issues with setting up a nil identity (#92620) 2024-08-29 00:49:41 +03:00
Eve Meelan
7057bd7caf
replace myself with Irene in CODEOWNERS (#92589)
Update CODEOWNERS
2024-08-28 10:57:24 -04:00
Piotr Jamróz
573e16fa3b
CI: Null check for author (#92516)
Null check for author
2024-08-27 18:32:01 +02:00
Andreas Christou
d00abe0972
CI: Update inputs to allow specifying previous version (#92506)
* Update inputs to allow specifying previous version

* Add one more input
2024-08-27 16:49:23 +01:00
Carl Bergquist
61074e7e5e
Devenv: Adds docker for prometheus with high cardinality labels. (#91035)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2024-08-26 19:12:59 +02:00
Erik Sundell
1373b37166
Plugin Extensions: E2E test addLink and legacy APIs (#92394)
* cleanup tests

* more cleanup

* added links

* test legacy hooks

* test legacy hooks

* update codeowners

* revert package changes

* add project specfic example script

* remove console log

* Update .github/CODEOWNERS

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>

* Update CODEOWNERS

* use correct file names

* cleanup tests

---------

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
2024-08-26 16:01:32 +02:00
Hugo Kiyodi Oshiro
fa95eb8c02
Plugins: Fix big query credentials and improve detailed report errors (#92373) 2024-08-26 13:46:24 +02:00
Todd Treece
e4953b6ffd
Chore: Add Dockerfile CI check for new modules (#92239) 2024-08-21 16:25:25 -04:00
Dave Henderson
df3d8915ba
Chore: Bump Go to 1.23.0 (#92105)
* chore: Bump Go to 1.23.0

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* update swagger files

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* chore: update .bingo/README.md formatting to satisfy prettier

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* chore(lint): Fix new lint errors found by golangci-lint 1.60.1 and Go 1.23

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* keep golden file

* update openapi

* add name to expected output

* chore(lint): rearrange imports to a sensible order

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

---------

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2024-08-21 11:40:42 -04:00
Todd Treece
da6b02a2b0
K8s: Add k8s codegen PR check (#91903) 2024-08-14 11:06:37 -04:00
Ryan McKinley
427dad26a2
Swagger: Add a custom swagger/api page (#91785)
Co-authored-by: Kristian Bremberg <kristian.bremberg@grafana.com>
2024-08-14 09:03:00 +03:00
Todd Treece
1b0e6b5c09
K8s: Data Plane Aggregator (#91228) 2024-08-13 22:28:17 +03:00
Yulia Shanyrova
8044cb50f1
Plugins: Plugin details right panel is added. All the details were moved from thee top to the right panel (#90325)
* PluginDetailsRight panel is added. All the details were moved from the top to the right panel

* Add feature toggle pluginsDetailsRightPanel,Fix build, fix review comments

* Fix the typo

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>

* hasAccessToExplore

* changes after review, add translations

* fix betterer

* fix betterer

* fix css error

* fix betterer

* fix translation labels, fix position of the right panel

* fix the build

* add condition to show updatedAt for plugin details

* add test to check 2 new fields at plugin details right panel;

* change the gap and remove report abuse button from core plugins

* add more tests

---------

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
2024-08-13 11:55:30 +02:00
David Harris
bac68069e0
chore: update issue template codeowners (#90925)
Adds myself as an additional codeowner for issue templates given the current reliance on ordering for links to request a new plugin from Grafana. 

This may be a temporary solution prior to being able to raise the requests natively within Grafana.
2024-08-13 09:57:51 +01:00
Bogdan Matei
3303900c09
Scopes: Lift scopes at global level (#90136) 2024-08-12 14:11:50 +03:00
Todd Treece
27545e3da4
Chore: Use golanglint-ci-includes script in Makefile (#91742) 2024-08-09 10:05:02 -04:00
Alexander Akhmetov
f4d2e064f4
Fix links to the What's new page in the PR template (#91672) 2024-08-08 23:32:37 +02:00
Todd Treece
7f155b2b6f
Chore: Add go workspace scripts (#91707) 2024-08-08 16:51:17 -04:00
Todd Treece
9a2c9647ee
Chore: Add storage submodule to lint & test config (#91529) 2024-08-05 17:30:14 +03:00
Yuri Tseretyan
96f7f0f486
Alerting: Use Unstructured type for settings of K8s model Integration + code owners (#91430)
* remove nonnamespaced paths
* use common.Unstructed for Intergration.Settings
* update codeowners to include alerting
* fix json name of secure fields to start with lower case
2024-08-02 20:02:58 +03:00
Todd Treece
5376a2eb93
Chore: Add semconv package (#91408) 2024-08-02 08:35:18 -04:00
Josh Hunt
024e839aae
Chore: Fix Crowdin Download action failing consistently (#91394) 2024-08-01 14:25:33 +01:00
Kevin Minehart
4e84234424
CI: set dry-run if release/dry-run label is set on release-comms.yml and set latest on github release if latest is set (#91089)
set dry-run and set latest on github release
2024-07-27 02:14:36 +03:00
Ryan McKinley
be7b1ce2df
Chore: Replace appcontext.User(ctx) with identity.GetRequester(ctx) (#91030) 2024-07-26 16:39:23 +03:00
Kevin Minehart
a19a9903bf
CI: Fix release-comms regex (#91024)
Fix release-comms regex
2024-07-26 08:18:22 +02:00
Kevin Minehart
7e4b7f73e7
CI: use main instead of my branch in release-pr.yml (#91004)
use main instead of my branch
2024-07-26 00:35:20 +03:00
Kevin Minehart
2fe506d502
CI: fix release pr target (#90999)
* use inputs.target as checkout ref, and `main` for all reused actions.
2024-07-25 16:14:29 -05:00
Kevin Minehart
089a5710b6
CI: fix changelog push error (#90971)
* add --set-upstream origin to release-pr workflow git push

* use a different branch name for the changelog workflow

* disable backport support for now

* remove backport condition
2024-07-25 19:42:41 +03:00
Kevin Minehart
d4304b59ec
CI: fix changelog repo null (#90960)
* give secrets when running changelog action

* i guess secrets don't have types
2024-07-25 18:36:03 +03:00
Kevin Minehart
14396048d7
CI: changelog boolean type (#90948)
* bool -> boolean

* add missing type keys

* provide secrets in release-pr

* use permissions and built-in github token
2024-07-25 09:52:15 -05:00
Joey
a9aadf2aa0
Update code owners for data sources transferred to big tent squad (#90877)
Update codeowners for data sources transferred to big tent squad
2024-07-24 11:19:55 +01:00
Sarah Zinger
f1b4964b24
Update the elastic search workflow to go to aws datasources squad (#90768) 2024-07-22 14:22:29 -04:00
Sarah Zinger
863f9a5e88
Update codeowners for elastic search (#90734) 2024-07-22 11:46:28 -04:00
Kevin Minehart
9a3672c2bb
CI: post changelog to forum in release-comms (#90742)
* post changelog to forum in post-release workflow
2024-07-22 18:00:37 +03:00
dependabot[bot]
1c5ed0da4d
Bump aquasecurity/trivy-action from 0.22.0 to 0.24.0 (#90254)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.22.0 to 0.24.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.22.0...0.24.0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-07-19 23:20:53 +00:00
Kevin Minehart
9232db2416
CI: For every release PR created, also push a changelog PR to main (#90698)
For every release PR created, also push a changelog PR to main
2024-07-19 16:54:59 -05:00
Evan
faf8a724a6
Clarify that data source request reports are not for bugs or support requests (#90661)
Co-authored-by: David Harris <david.harris@grafana.com>
2024-07-19 20:07:08 +02:00
Serge Zaitsev
f8b092aba6
Chore: update changelog workflow (#90608)
* try integrating

* pass tags

* change section order

* use better terminology

* one more attempt

* keep delimiters

* attempt to patch changelog

* quotes, bash quotes...

* use proper content file

* parens around date

* time for a pr

* first checkout, then create user

* add latest input

* git push

* use square brackets

* formatting

* update release-pr

* fix typo

* try sparse checkout

* fetch depth zero

* clean up after changelog generator
2024-07-19 18:27:59 +02:00
Josh Hunt
0a6f9aa3cb
Chore: Remove Chore issue template (#90592) 2024-07-18 14:58:11 +03:00
Josh Hunt
fefd3faef4
Chore: Remove unnecessary issue templates (#90482) 2024-07-18 08:35:32 +00:00
Artur Wierzbicki
9459e29775
Chore: change owner for pkg/services/queryhistory (#90550)
change owner for query history
2024-07-17 20:47:08 +03:00
Dafydd
14cd98d7fb
Update ephemeral instances workflow (#90428)
* use custom action from ephemeral workflow repo

* update codeowners

* delete obsolete workflow
2024-07-17 09:18:50 +01:00
David Harris
92ada4eb7c
chore: add new data source request template (#86912)
* chore: add new data source request template

* Update 6-data_source_request.yaml

Add placeholder text for Use case field

* Update .github/ISSUE_TEMPLATE/6-data_source_request.yaml

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>

---------

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
2024-07-11 10:55:12 +01:00
Hugo Kiyodi Oshiro
0a1b9f94d5
Plugins: Improve levitate / breaking changes report in grafana/grafana (#89822)
* Plugins: Add gcloud auth and usage to levitate workflow

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2024-07-11 11:38:43 +02:00
Kevin Minehart
a28db90dd5
CI: fix release pr condition (#90299)
* Release comms should only run when the source PR is

* Fix release-comms workflow condition
2024-07-10 23:17:19 +03:00
Kevin Minehart
f411d85749
CI: remove missing dependency from workflow action (#90285)
remove missing dep from workflow action
2024-07-10 13:03:49 -05:00
Serge Zaitsev
117390e88d
Chore: Add package.json to changelog github action (#90267)
add package.json
2024-07-10 15:43:58 +02:00
Serge Zaitsev
c5f903f6dd
Chore: Add changelog github action (#90183)
* add changelog github action

* tabs vs spaces

* better disable release, even in draft

* add codeowners
2024-07-10 12:32:06 +02:00
Kevin Minehart
63e715f6a9
CI: Sync branch and tag after release (#89967)
* Added `workflow_call` event to allow other workflows to invoke the "Create or update GitHub release"
* Added `dry_run` to `github-release.yml`
* Added `latest` to `release-pr.yml` which will cause the release PR to add a `release/latest` label.
* Removed unnecessary github app creation from github-release workflow and just used permissions.
2024-07-08 14:32:28 -05:00
Alex Khomenko
7111c52e4c
Nav: Add items to saved (#89908)
* App events: Add info notification type

* Revert state

* Use info alert

* Nav: Enable saving items

* Use local state

* Use RTK query

* Revert go.work

* Revert

* User-specific queries

* Add memo

* Fix base URL

* Switch to ids

* Fix memo

* Add codeowners

* Generate API

* Separate user prefs API

* Remove tag

* Update export

* Use feature toggle
2024-07-05 16:01:10 +03:00
Hugo Kiyodi Oshiro
ff03786909
Chore: Add manual trigger for levitate pipeline test (#90040) 2024-07-04 13:44:14 +02:00
Todd Treece
c6663ce6be
Chore: Ensure go.work.sum is updated (#89996) 2024-07-03 12:49:03 -04:00
Tom Ratcliffe
b18b1efec4
Alerting: Add (manual) script to generate alerting RTKQ APIs from OpenAPI spec (#89482) 2024-07-02 18:31:37 +01:00
Andres Martinez Gotor
569853278b
Adapt docs/sources/developers/plugins/plugin.schema.json codeowners (#89832) 2024-07-01 09:31:05 +02:00
Nathan Marrs
f26bec40e5
Chore: Lint json files in .github directory (#89861) 2024-06-27 23:43:10 +03:00
Nathan Marrs
0ea66b8155
Chore: Update DataViz github automation (#89852) 2024-06-27 15:22:15 -05:00
Kevin Minehart
16b050f676
CI: fix release comms workflow (#89744)
* add runs-on key

* remove unneeded env key

* use more specific quotes in commands

* fix block syntax

* fix workflow dispatch event check
2024-06-26 17:21:10 +03:00
Juan Cabanas
ba4f2713c5
Sharing: Change code ownership (#89732) 2024-06-26 09:16:13 -03:00
Kevin Minehart
3ede2dba24
CI: add release comms workflow (#89718)
* add release comms workflow

* add version input

* Add release-comms workflow to CODEOWNERS
2024-06-25 16:37:38 -05:00
ismail simsek
1ebc610064
Chore: Update github addToProject commands for influxdb, graphite, opentsdb (#89700)
revert unrelated changes
2024-06-25 19:29:50 +03:00
ismail simsek
a3a6d01529
Update codeowners (#89672)
* Update codeowners of /public/app/features/trails/

* revert unrelated changes
2024-06-25 16:39:30 +02:00
Kevin Minehart
07389d1030
CI: auto-milestone needs repo write access (#89633)
auto-milestone needs repo write access
2024-06-24 21:09:05 +03:00
Andrew Hackmann
5a8eff096a
Update CODEOWNERS (#89629)
* Update CODEOWNERS

Partner datasources taking over opentsdb, graphite, and influxdb

* updating backend and frontend code owner to partner
2024-06-24 11:40:49 -05:00
Alex Khomenko
c778b16570
i18n: Use generated token (#89605) 2024-06-24 13:32:23 +03:00
Josh Hunt
51afe257a3
CI: Run auto-milestone on pull_request_target for forks (#89410)
* CI: Run auto-milestone on pull_request_target for forks

* remove milestone check
2024-06-24 11:18:30 +01:00
Miklós Tolnai
f74afa5e7f
Codeowners: Remove @mikkancso from codeowners (#89471)
remove mikkancso from codeowners
2024-06-21 09:54:12 +03:00
Yuri Tseretyan
b075926202
Alerting: Time Intervals API (#88201)
* expose ngalert API to public
* add delete action to time-intervals
* introduce time-interval model generated by app-platform-sdk from CUE model the fields of the model are chosen to be compatible with the current model
* implement api server
* add feature flag alertingApiServer
---- Test Infra
* update helper to support creating custom users with enterprise permissions
* add generator for Interval model
2024-06-20 16:52:03 -04:00
Kevin Minehart
78e9226ad8
CI: Add bump-version action to the release PR workflow (#89491) 2024-06-20 13:15:09 -05:00
Ryan McKinley
6834038e91
Storage: Add new resource module and move some utilities (#89443) 2024-06-20 16:11:21 +03:00
Dave Henderson
1cc58d19f5
ci: Only run vuln scanner when Go deps are updated (#89433)
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-06-20 09:07:15 -04:00
Jo
bffe086cea
Update IAM for more fine grained mentions (#89333)
Update IAM for more fine grained mentions
2024-06-19 15:24:39 +02:00
Fabrizio
f0270d8e31
Update code owners for O11Y package (#89334) 2024-06-18 18:05:55 +02:00
Josh Hunt
15c81b2a8b
Move RecentlyDeleted into browse-dashboards (#89214)
* Move RecentlyDeleted into browse-dashboards

* refactor: change path

---------

Co-authored-by: Laura Benz <laura.benz@grafana.com>
2024-06-14 17:25:19 +03:00
Dave Henderson
afc1e148b2
ci(chore): Lint all Go code, upgrade golangci-lint action (#89221)
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-06-14 15:42:09 +03:00
Erik Sundell
72241dbf5f
Plugin extensions: Add e2e tests (#89048)
* add custom plugins

* update bundles

* provision app plugins and their dashboards

* add one more script that run e2e tests using e2e test server

* add e2e tests

* regenerate jsonnet dashboards

* ignore custom plugins and playwright report

* use minified

* cleanup tests

* update codeowners

* add leading slash

* document new script

* document custom-plugins

* cleanup

* twist modules

* add readme
2024-06-14 13:41:17 +02:00
Ryan McKinley
57b760824f
Chore: Remove pkg/infra/x/persistentcollection (#89139) 2024-06-13 21:46:52 +03:00
Artur Wierzbicki
627d77c365
chore: change codeowner of /pkg/components/imguploader (#89167)
* change owner for imguploader

* Update .github/CODEOWNERS

Co-authored-by: Steve Simpson <steve.simpson@grafana.com>

---------

Co-authored-by: Steve Simpson <steve.simpson@grafana.com>
2024-06-13 18:18:29 +03:00
Gabriel MABILLE
afcb5a855c
AuthZ: embed an authorization server (#89018)
* AuthZ: embed an authorization server

* CODEOWNERS

* Remove swagger

* WIP

* Flatten structure and inject wireset

* sync mod files

* Rename authorization package

* Fix swagger gen

* CODEOWNERS

* Use itf instead of impl

---------

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2024-06-13 11:41:35 +02:00
Ryan McKinley
99d8025829
Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00