Commit Graph

666 Commits

Author SHA1 Message Date
Ryan McKinley
d410ef3439
K8s: Use grafana executable for standalone api service (#77904)
Co-authored-by: Dan Cech <dcech@grafana.com>
2023-11-09 16:50:27 -08:00
Natalia Bernarte Oses
e581e8e1f8
remove default label from feature request template (#77862) 2023-11-08 13:27:47 +01:00
Misi
5285e9503b
Auth: SSO settings foundations (#77724)
* inital changes, db migration

* changes

* Implement basic GetAll, Delete

* Add first batch of tests

* Add more tests

* Add service tests for GetForProvider, List

* Update http_server.go + wire.go

* Lint + update fixed role

* Update CODEOWNERS

* Change API init

* Change roles, rename

* Review with @kalleep

* Revert a mistakenly changed part

* Updates based on @dmihai 's feedback

---------

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2023-11-08 10:50:01 +01:00
Charandas
8a46dc39d0
Grafana App Platform: provide an example-apiserver to easily deploy aggregated APIservers (#77826) 2023-11-07 22:35:15 -08:00
Serge Zaitsev
352905e195
Chore: Reassign some code ownership (#77749)
Chore: reassign codeowners
2023-11-06 20:56:44 +01:00
Jack Baldry
20b4cebc47
Use versioned action to update make-docs procedure (#77694)
https://github.com/grafana/writers-toolkit/blob/main/update-make-docs/action.yml

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-11-06 11:58:10 +00:00
Vardan Torosyan
d624a5d490
Chore: Replace grafana-authnz-team with identity-access-team as code owners (#77609)
* Chore: Replace grafana-authnz-team with identity-access-team as code owner

* Chore: Replace grafana-authnz-team with identity-access-team as code owner

* Fix the failing test
2023-11-03 13:20:39 +01:00
Ryan McKinley
0d1d45ee58
Graph: Move graph component to graveyard folder (#77579) 2023-11-02 18:24:30 +02:00
Ryan McKinley
c6e27e00b4
Chore: Move internal GraphNG+Timeseries components into core (#77525)
* move to core where possible

* update imports

* ignore import order for now

* add graveyard files

* update codeowners
2023-11-01 21:59:55 -07:00
Ryan McKinley
5d5f8dfc52
Chore: Upgrade Go to 1.21.3 (#77304) 2023-11-01 09:17:38 -07:00
Jack Baldry
8b43d1b1ab
Update workflow that synchronizes the make docs procedure (#77123)
* Update workflow that synchronizes the `make docs` procedure

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

* Update .github/workflows/update-make-docs.yml

* Only try and commit, push, and open a PR if there are changes

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

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-11-01 14:02:45 +00:00
Ashley Harrison
5f6d15d912
Chore: Update detect-breaking-changes workflow to use node 20 (#77459)
* attempt to fix levitate workflow

* add comment to force levitate to run

* update node version in levitate workflow

* change to test levitate

* remove dummy comment
2023-10-31 17:17:22 +00:00
Ashley Harrison
13c0268d6b
Chore: Upgrade react-redux (#77296)
* try upgrading react-redux

* memoize getNavModel selector, don't return a new object in command palette selector

* use createSelector to memoize some alert manager selectors correctly

* memoize selectors correctly in appNotifications

* memoize some datasource selectors

* use fake timers to avoid the debounce causing flakiness

* remove duplicate import

* just use memoize-one
2023-10-31 16:24:34 +00:00
Andres Martinez Gotor
da1a53ebb1
Chore: Build and release GH action: Use vault secrets (#77448) 2023-10-31 16:53:39 +01:00
Ashley Harrison
e67485de30
Chore: Add missing comma to renovate config (#77439)
add missing comma
2023-10-31 15:18:14 +02:00
Ezequiel Victorero
e1293af775
Chore: Update code owners frontend for sharing squad (#77287) 2023-10-30 10:31:23 -03:00
dependabot[bot]
0765e6f931
Bump actions/checkout from 3 to 4 (#77341)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 09:14:24 +01:00
dependabot[bot]
910d8c1402
Chore(deps): Bump actions/setup-node from 3 to 4 (#77274)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 08:29:20 +01:00
Ashley Harrison
dba846fe54
Chore: Some renovate config tidy up (#77275)
* update some comments, remove some things from the ignore list

* remove @mdx-js/react since storybook now directly depends on it

* add issue link to comment

* exclude @locker from grouped patch updates

* ignore grafana-e2e from renovate
2023-10-27 15:09:23 +01:00
Andres Martinez Gotor
b537bb12f1
Chore: Add GH workflow to release core plugins (#77204) 2023-10-27 13:07:32 +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
Jev Forsberg
41db5b645c
Transformations: Separate useful doc content for UI use (#75781)
* baldm0mma/doc_builder/ add to gitignore

* baldm0mma/doc_builder/ add makefile commands

* baldm0mma/doc_builder/ add content

* baldm0mma/doc_builder/ format content

* baldm0mma/doc_builder/ update makefile

* baldm0mma/docs_builder/ update content

* baldm0mma/doc_builder/ add back content

* baldm0mma/doc_builder/ run builder

* baldm0mma/doc_builder/ update naming

* baldm0mma/doc_builder/ remove unused note

* baldm0mma/doc_builder/ update template

* baldm0mma/doc_builder/ add new line in makefile

* baldm0mma/doc_builder/ rem new line

* baldm0mma/doc_builder/ add final line

* Much of this full PR was Co-Authored-By: Jack Baldry <jack.baldry@grafana.com>

* baldm0mma/doc_builder/ update readme

* baldm0mma/doc_builder/ update guidlines

* Update scripts/docs/generate-transformations.ts

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

* Update scripts/docs/generate-transformations.ts

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

* Update scripts/docs/generate-transformations.ts

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

* Update scripts/docs/generate-transformations.ts

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

* Update scripts/docs/generate-transformations.ts

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

* Update docs/README.md

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

* Update docs/README.md

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

* Update scripts/docs/generate-transformations.ts

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

* baldm0mma/doc_builder/ update concat

* baldmomma/doc_builder/ finish concat table

* baldm0mma/docs_builder/ update with suggestions

* baldm0mma/doc_builder/ update content to use getHelperDocs

* baldm0mma/doc_builder/ update calculateField

* baldm0mma/doc_builder/ update to byRefId

* baldm0mma/doc_builder/ update filterByValue

* baldm0mma/doc_builder/ update filterFieldsByName

* baldm0mma/doc_builder/ update formatTime

* baldm0mma/doc_builder/ update groupBy

* baldm0mma/doc_builder/ update groupingToMatrix

* baldm0mma/doc_update/ update heatmap

* baldm0mma/doc_builder/ update histogram

* baldm0mma/doc_builder/ update joinByField

* baldm0mma/doc_builder/ update joinByLabels

* baldm0mma/doc_builder/ update labelsToFields

* baldm0mma/doc_builder/ update limit

* baldm0mma/doc_builder/ update merge

* baldm0mma/doc_builder/ update organize

* baldm0mma/doc_builder/ update partitionByValues

* baldm0mma/doc_builder/ update prepareTimeSeries

* baldm0mma/doc_builder/ update reduce

* baldm0mma/doc_builder/ update renameByRegex

* baldm0mma/doc_builder/ update rowsToFields

* baldm0mma/doc_builder/ update seriesToRows

* baldm0mma/doc_builder/ update sortBy

* baldm0mma/doc_builder/ update spatial

* baldm0mma/doc_builder/ update timeSeriesTable

* baldm0mma/doc_builder/ rerender all

* baldm0mma/doc_builder/ update calculateField

* baldm0mma/doc_builder/ gitignore conflicts

* baldm0mma/doc_builder/ add formatString

* baldm0mma/doc_builder/ update vars

* baldm0mma/doc_builder/ update naming

* baldm0mma/doc_builder/ rerender markdown

* Update public/app/features/transformers/docs/content.ts

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

* baldm0mma/doc_builder/ update content

* baldm0mma/doc_builder/ add to codeownders

* baldm0mma/doc_builder/ correct spelling

* baldm0mma/doc_builder/ update comment

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-24 10:30:10 -06:00
Jack Baldry
07909464f1
Update doc-validator workflow (#77024)
Update doc-validator

No longer produce errors for the use of https://grafana.com/ links. This is the first step towards just using fully qualified URLs everywhere. The website link render-hook will internally transform these URLs into the partial URL that works across all hostnames.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-10-24 14:52:41 +01:00
Andres Martinez Gotor
580a4cac58
Chore: Makefile / Magefile task to build plugins (#76763) 2023-10-23 10:44:38 +02:00
Laura Benz
32fc55ee98
Codeowners: Change responsibilities (#76828)
refactor: adjust certain files
2023-10-20 15:18:08 +02:00
Jack Baldry
87ca68540b
Fix correlation links (#76738)
* Change link arguments to ensure that they resolve correctly regardless of version

Presently, the links take users to "latest" even if they are in other versions of documentation.
Sometimes, the destination doesn't even exist in "latest".

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

* Make myself CODEOWNER so I can ensure correct linking in the future

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

* Apply suggestions from code review

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
2023-10-19 11:57:37 +03:00
Andres Martinez Gotor
52394a1b81
Chore: move cache dir for plugins to the root (#76680) 2023-10-19 11:45:11 +03:00
Natalia Bernarte Oses
f13c72ddd2
Add grafana program label command (#76790)
* Add grafana program label command

* remove space
2023-10-19 11:00:42 +03:00
Andres Martinez Gotor
157ea31b03
Build testdata frontend standalone (#75833) 2023-10-16 17:31:43 +02:00
Santiago
20e624dafd
Alerting: Add Mimir Backend image to devenv (blocks) (#76416) 2023-10-13 16:15:05 +01:00
Jack Westbrook
d282b7a6f8
Grafana UI: Make it possible to bundle package with plugins (#76191)
* moved themecontext to data

* chore(grafana-ui): re-export ThemeContext from grafana/data for backwards compatibility

* Moved icon bundling to core.

* feat(plugins): share react-inlinesvg with plugins for grafana/ui bundling

* chore(codeowners): add generate-icon-bundle.js to file

* chore(storybook): update path to iconBundle file for theme

* feat(plugins): share i18n dependency via systemjs

* Make sure that icon bundle is initialized for tests.

* Removed comment.

* added tests for icon root.

* Removing the need of having an init variable.

* feat(grafana-ui): add icon svgs to bundle for projects that don't rely on grafana

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2023-10-13 14:11:41 +02:00
Horst Gutmann
625b400faf
CI: github-release workflow should forward "latest" input (#75139) 2023-10-12 14:22:43 +03:00
Kyle Cunningham
2049ffc718
Chore: Add grafana-data transformations to BI squad in CODEOWNERS (#76314)
Add transformations directory to bi-squad
2023-10-11 09:34:19 -05:00
Horst Gutmann
6b52bb9c27
Chore: Upgrade Go to 1.20.10 (#76359) 2023-10-11 16:49:24 +03:00
Ryan McKinley
c26e3d80e3
Playlist: Add create+update timestamps to the database (#76295) 2023-10-10 12:46:12 -07:00
Armand Grillet
259bc437cf
Fix issue-labeled GitHub Action by removing organization field (#76120)
Fix issue-labeled GitHub Action by remove organization field
2023-10-06 14:32:58 +02:00
Armand Grillet
d8357342a3
Fix issue-labeled GitHub Action using app permissions (#76114) 2023-10-06 13:25:01 +03:00
github-actions[bot]
fb0ac351bc
Update make docs procedure (#76096)
* Update `make docs` procedure

* Do not run workflow on forks

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

* Add labels

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

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: grafanabot <bot@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-10-06 09:47:55 +01:00
Nathan Marrs
ab7224b237
chore: Add slack notification to dataviz channel when OSS issues are created (#75596) 2023-10-04 16:25:29 -07:00
Ricky Whitaker
6842cc63ec
Adding .github/workflows/create-security-patch-from-security-mirror.yml (#75850)
* Adding .github/workflows/create-security-patch-from-security-mirror.yml

* Added .github/workflows/create-security-patch-from-security-mirror.yml to CODEOWNERS
2023-10-04 15:26:12 -05:00
Gabriel MABILLE
193ec8de2b
AuthN: Move oauthserver to extsvcauth (#75972)
* AuthN: Move oauthserver to extsvcauth

* Codeowners
2023-10-04 16:53:17 +02:00
Ashley Harrison
9350e8bee5
Renovate: Add yarn dedupe strategy (#75945)
add dedupe strategy
2023-10-04 13:29:10 +01:00
Jack Westbrook
30584dbd8b
Chore: Remove systemjs from renovate ignore (#75646)
chore(renovate): remove systemjs from ignore list and fix storybook patterns
2023-10-03 12:32:37 +02:00
Esteban Beltran
9747cdd7d1
Sandbox: Update to latest near membrane version ^0.13.0 (#75605)
* Sandbox: Update to latest near membrane version ^0.13.0

* Use exact version

* Replace throw with reject

* Add nera membrane to renovate skip list
2023-10-03 10:22:17 +02:00
Horst Gutmann
76c6bf88be
CI: Run publish-kinds workflows only on the main repository (#75855) 2023-10-03 10:13:42 +03:00
Jack Baldry
ad1989cf4d
Publish documentation from the HEAD of the matching version branch on tag events (#73809)
* Publish documentation from the HEAD of the matching version branch on tag events

Tags aren't necessarily made to the HEAD of the version branch.
The documentation that should be published is always on the HEAD of the version branch.

This is another mismatch between the code and documentation but is desirable as the "What's new" documentation is typically added much later than commit the tag targets.

Technically it would be more correct for the "What's new" documentation to be in place before the commit that is tagged.
However, the significant lag between the start of a release and the actual publishing of the tag would be challenging to codify in this action's logic.
It would also require a side channel for non-code related documentation updates to be made to the docs released by the tag.
This would likely require a long lived branch to be created at the tag commit and I'm not sure that the additional work is justified.

In practice, I think we can get away with publishing more recent documentation than the code given the assumption that no significant feature is going to be absent from the initial major/minor release.

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

* Switch to detached remote branch reference

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-10-02 09:14:20 +01:00
Armand Grillet
efa6a6c624
Fix issue-labeled GitHub Action (#75753) 2023-09-29 17:36:52 +02:00
Joseph Perez
0e2b741fc3
Docs: Remove old plugin docs, fix URLs to go to new dev portal (#75325)
* Remove old plugin docs, add redirects to new dev portal

* Restore plugin.schema.json file

* Update docs/sources/administration/plugin-management/index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* More updates

* Cleanup links

* Update docs/sources/alerting/fundamentals/evaluate-grafana-alerts.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* fix codeowners

* Change reference links to inline links to avoid 404s

* Update docs/sources/datasources/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/datasources/mysql/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/datasources/postgres/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/fundamentals/timeseries-dimensions/index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/fundamentals/dashboards-overview/index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/fundamentals/dashboards-overview/index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/panels-visualizations/configure-standard-options/index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/panels-visualizations/query-transform-data/transform-data/index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Remove grafana.com from 2 URLs

* Fix 1 more reference link

* Prettier fix

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-09-29 07:43:48 +01:00
Eve Meelan
d1a6e83093
Update codeowners (#73159)
* updated codeowners

* Update .github/CODEOWNERS

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-09-28 11:31:26 -07:00
Ashley Harrison
1c1639b0d8
Chore: Remove .linguirc (#75658)
* pretty sure we replaced lingui with i18next so this can go

* remove it from CODEOWNERS as well
2023-09-28 17:54:34 +03:00