Commit Graph

46358 Commits

Author SHA1 Message Date
Torkel Ödegaard
beb84384da
Theme: Update old css class add-data-source-item to use card styling (#77487) 2023-11-03 07:28:45 +01:00
Nathan Marrs
fb2b1c2e13
Canvas: Fix ability to draw arrows (#77573)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-11-02 22:55:31 +02:00
Alyssa Bull
a4744a8f5e
Azure Monitor: buildResourceURI function incorrectly migrating (#77178) 2023-11-02 14:30:18 -06:00
Isabella Siu
64e28c0ae2
CloudWatch Logs: Add labels to alert and expression queries (#77529) 2023-11-02 16:26:31 -04:00
Kristina
9e0ca0d113
Correlations: Add transformations to Explore Editor (#75930)
* Add transformation add modal and use it

* Hook up saving

* Add transformation vars to var list, show added transformations

* Form validation

* Remove type assertion, start building out transformation data in helper (WIP)

* Style expression better, add delete logic

* Add ability to edit, additional styling on transformation card in helper

* simplify styling, conditionally run edit set up logic

* Keep more field information in function, integrate it with new editor

* Show default label on collapsed section, use deleteButton for confirmation of deleting transformations

* Change transformation add calculations from function to hook, add label to collapsed header, add transformation tooltip

* Make correlation and editor dirty state distinctive and integrate, WIP

* Track action pane for more detailed messaging/actions

* Better cancel modal logic

* Remove changes to adminsitration transformation editor

* Remove debugging line

* Remove unneeded comment

* Add in logic for closing editor mode

* Add tests for modal logic

* Use state to build vars list for helper

* WIP

* Fix labels and dirty state

* Fix bad message and stop exiting mode if discard action is performed

* Fix tests

* Update to not use unstable component and tweak default label
2023-11-02 15:09:30 -05:00
Yuri Tseretyan
a2629f3dd3
Alerting: Remove unused Accesscontrol dependency from DbStore (#77479) 2023-11-02 15:54:30 -04:00
Dominik Prokop
6e80a3d59b
DashboardScene: Viewer role only support (#76748)
* Allow starring DashboardScene

* Add feature toggle to enable dashbaord scene for viewers

* Basics for proxying viewers to a dashboard scene

* Removed isHomeDashboard flag

* Don't use proxy for rendering dashboard page

* Revert "Don't use proxy for rendering dashboard page"

This reverts commit 95836bdb2c.

* Pre-fetch dashboard prior page rendering

* Depend only on dashboard permissions

* Update default home dashboard to proper model...

* Fix breadcrumbs

* Types update

* Dashboards page proxy tests

* Fix missing controls

* URLs generation

* DashboardScenePageStateManager caching test

* Tests updates

* Fix wrong import

* Test update

* Gen
2023-11-02 12:02:25 -07:00
John Martins
03a7c65ead
AzureMonitor: Add Container Insights Syslog Dashboard (#77229)
* add Syslog dashboard

* Revert "add Syslog dashboard"

This reverts commit b30160afe5.

* add Syslog Dashboard

* make wording more general to grafana users

* remove azure welcome panel

* run prettier on dashboard
2023-11-02 17:35:04 +00:00
William Wernert
e562250f72
Alerting: Handle edge cases without panicking during template migration (#76890)
* Handle empty variable, remove panics

* Use fmt.Errorf only where appropriate
2023-11-02 13:24:54 -04:00
Adela Almasan
087e081c5a
Canvas: Refactor ConnectionSVG utils (#77578)
Co-authored-by: Krishna Dhakal <7krishna7dhakal7@gmail.com>
2023-11-02 12:09:07 -05:00
Santiago
01af8f61f1
Alerting: Separate the forked Alertmanager into two implementations (#77582) 2023-11-02 17:53:18 +01:00
Sonia Aguilar
0abfc3b6be
Alerting: Update 'Create alert' to 'New alert rule' in the panel and docs (#76950)
* Update 'Create alert' to 'New alert rule' in the panel and docs

* Fix test
2023-11-02 17:33:53 +01:00
Ryan McKinley
878235248e
Chore: avoid using deprecated ArrayVector (#77581) 2023-11-02 18:24:57 +02:00
Ryan McKinley
0d1d45ee58
Graph: Move graph component to graveyard folder (#77579) 2023-11-02 18:24:30 +02:00
Santiago
8fc9873443
Alerting: Add an empty Forked Alertmanager struct (#77550)
Alerting: Add an empty Forked Alertmanager
2023-11-02 16:49:03 +01:00
Oscar Kilhed
0eda368d32
Transformations: Deduplicate names when using extract fields transformation. (#77569)
* dedupe field names

* add test to make sure we don't break normal case
2023-11-02 16:47:42 +01:00
Ryan McKinley
45d59cf31b
Dashboards: Remove dummy trim dashboard api (#77249)
Co-authored-by: nikimanoledaki <niki.manoledaki@grafana.com>
2023-11-02 08:35:14 -07:00
Kyle Cunningham
e714c9303e
Timeseries to table transformation: Update Output Changes (#77415)
* Break out labels into separate fields

* More Updates

* Minor test changes

* Use 'A' for transformed refId

* Make sure tests pass

* Add additional test

* Prettier

* Remove dead comment

* Update time field selection options

* remove console.log

---------

Co-authored-by: Victor Marin <victor.marin@grafana.com>
2023-11-02 10:25:48 -05:00
Ashley Harrison
5892a64e9f
CustomScrollbar: Remove chevrons from scroll indicators (#77498)
remove chevrons from scroll indicators
2023-11-02 15:21:36 +00:00
Ashley Harrison
9a905b6312
Navigation: Updates to the docs for admin subsections (#77500)
updates to the docs for admin subsections
2023-11-02 14:23:19 +00:00
Andres Martinez Gotor
d5f749482a
Ignore dist folder for core plugin (#77549) 2023-11-02 14:56:47 +01:00
Stephen Yeargin
c73a2bde9c
Documentation: Update Hubot Integration documentation (#76925)
* Update Hubot Integration documentation

The script package has improved over the years to allow for direct uploading to Slack, etc. This updates the documentation to reflect that.

* Apply suggestions from code review

Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>

---------

Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
2023-11-02 15:50:32 +02:00
Andres Martinez Gotor
00a596b2e0
Chore: Add app URL to the plugin config (#77455) 2023-11-02 13:26:16 +01:00
brendamuir
34eb29c3bf
Adds alerts from panels feature to cloud whats new (#77547) 2023-11-02 12:31:47 +01:00
Krishna Dhakal
774a8a889a
Grafana-UI: Create fast path in Text component (#76167)
Text component fast path

Truncated text an isolated component
2023-11-02 12:23:59 +01:00
Andres Martinez Gotor
82a7e1229a
Bug Fix: Respect data source version when provisioning (#77428) 2023-11-02 12:27:17 +02:00
Fabrizio
b13395afbc
Tempo: Handle empty responses in ServiceGraph (#77539) 2023-11-02 11:23:18 +01:00
Alex Khomenko
d62170e4ce
Grafana/ui: Move the Stack component out of unstable (#77495)
* grafana/ui: Move Stack out of unstable

* grafana/ui: Replace imports
2023-11-02 12:22:57 +02:00
Ivana Huckova
1e065580ac
Loki: Remove duplicated methods in languageProvider (#77456)
Loki: Remove fuplicated methods in languageProvider
2023-11-02 11:02:00 +01:00
Fabrizio
41572238ac
Tempo: Fix support for statusMessage (#77438) 2023-11-02 10:46:43 +01: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
fb9732e319
Chore: Prepare to remove <Graph /> from @grafana/ui (#77522) 2023-11-01 14:13:48 -07:00
Yuri Tseretyan
85425b2194
Alerting: Fix flaky test TestExportRules (#77519)
* fix test to correclty mock data store

* Update pkg/services/ngalert/api/api_ruler_export_test.go

Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>

* Update pkg/services/ngalert/api/api_ruler_export_test.go

---------

Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>
2023-11-01 21:35:04 +02:00
Ryan McKinley
e3641d925c
K8s/Playlist: Support full CRUD from k8s to existing storage (#75709) 2023-11-01 12:32:24 -07:00
Shabeeb Khalid
a59588a62e
Cloudwatch: Use context in aws DescribeLogGroupsWithContext (#77176) 2023-11-01 15:06:06 -04:00
Jev Forsberg
d5932760d9
Docs: Remove reliance on oneshell multiline feature for building transformation docs (#77514)
* baldm0mma/rem_oneshell_feat/ remove reliance on oneshell multiline feature

* Update docs/Makefile

update whitespace

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

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-11-01 11:20:22 -06:00
Jonathan Davies
e913160beb
docs: provisioning: Added NixOS module link. (#77273) 2023-11-01 19:06:38 +02:00
Carl Bergquist
402f6e7ed6
Policies: Adds deprecation policy (#68439)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Dan Cech <dcech@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-11-01 17:58:03 +01:00
Kevin Minehart
0189908798
CI: Sign drone yaml (#77512)
Sign drone yaml
2023-11-01 18:51:44 +02:00
Drew Slobodnjak
9116043453
Storage: Add maxFiles to list functions (#76414)
* Storage: Add maxFiles to list functions

* Add maxDataPoints argument to listFiles function

* Add maxFiles to ResourceDimensionEditor

* Update pkg/services/store/http.go

* rename First to Limit

---------

Co-authored-by: jennyfana <110450222+jennyfana@users.noreply.github.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-11-01 09:42:24 -07:00
Kevin Minehart
f6d3238505
CI: Fix race condition when building docker on main (#77504)
* build docker after packages are updated

* use my branch for main pipelines for testing

* use my branch for main pipelines for testing

* use main instead now

* formatting
2023-11-01 18:25:49 +02:00
Nathan Marrs
124bf6bfa9
chore: canvas cleanup betterer styles object notation edition (#76315)
Co-authored-by: drew08t <drew08@gmail.com>
2023-11-01 18:25:26 +02:00
Ivana Huckova
a38c9d4f44
Loki: Add maxLines option to getParserAndLabelKeys (#77460)
* Loki: Add logsCount option to getParserAndLabelKeys

* Rename logsCount to maxLines
2023-11-01 17:22:33 +01:00
Ryan McKinley
5d5f8dfc52
Chore: Upgrade Go to 1.21.3 (#77304) 2023-11-01 09:17:38 -07:00
Andreas Christou
17a24c92e8
AzureMonitor: Add missing namespaces (#77308)
Add missing namespaces and order
2023-11-01 16:15:08 +00:00
Giordano Ricci
7737226786
Explore: Fix support for angular based datasource editors (#77486) 2023-11-01 15:49:45 +00:00
Sofia Papagiannaki
dfc33a70b7
Dashboards: Fix creating dashboard under folder using deprecated API (#77501)
* Dashboards: Add integration tests for creating a dashboard

* Fix creating dashboard under folder using deprecated API

* Update swagger response

* Fix comments
2023-11-01 17:01:54 +02: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
Todd Treece
384f5ccdc6
Playlist: Add internal API version (#77318) 2023-11-01 09:44:04 -04:00
Josh Hunt
e8f0f6b7c8
Page: Remove Canvas background from primary background pages (#77008)
* Remove canvas background for primary background pages

* refactor styles
2023-11-01 12:58:18 +00:00