Commit Graph

44607 Commits

Author SHA1 Message Date
Joey
ab94c9d730
Tempo: Only add option to values dropdown if there is a value (#72524)
Only add option to list if there is a values
2023-08-18 08:17:56 +01:00
Ihor Yeromin
f169151143
A11y: Fix canvas setting button accessibility (#73413)
* fix(a11y): canvas setting button
2023-08-18 09:07:48 +02:00
grafana-delivery-bot[bot]
069afedcf5
Changelog: Updated changelog for 9.5.8 (#73421)
Co-authored-by: grafanabot <bot@grafana.com>
2023-08-17 13:05:47 -05:00
Juan Cabanas
214f46be1f
Dashboards: Widget plugins removed from suggestions tab (#73331) 2023-08-17 15:02:32 -03:00
Ezequiel Victorero
bb3a2d31d7
Docs: Update dashboards api create/update (#73345) 2023-08-17 12:20:00 -05:00
linoman
2e050f25bf
Auth: Allow to auto-assign empty role (#73326)
Allow to auto-assign empty role
2023-08-17 18:32:58 +02:00
Galen Kistler
f33f3a55a0
Loki: Label browser sticky footer (#73243)
* Create sticky footer section in loki metrics browser for query preview and action buttons
2023-08-17 11:01:30 -05:00
Matias Chomicki
48c3dc7203
Logs: Hide filters in log details if the data source doesn't support them (#73230)
* Logs: Hide filters in log details if the data source doesn't support them

* Logs Container: use logsQueries prop

* Log details: add filters visibility test
2023-08-17 17:53:11 +02:00
Isabel
5988da1aa8
Docs: Data source picker everywhere updates (v10.1) (#73347)
* Added text about the updated data source picker

* Reformatted and reworded new language and removed from Correlations
2023-08-17 11:46:51 -04:00
Horst Gutmann
c86a73c794
CI: Move npm token to Vault (#73407) 2023-08-17 17:43:26 +03:00
Dominik Prokop
30393459df
DashboardsLoader: Enable cursor sync in scenes based dashboard (#73383)
* Bump scenes

* Enable cursor sync in scene dashboard
2023-08-17 07:03:26 -07:00
Torkel Ödegaard
3245e25273
SqlDataSources: Update metricFindQuery to pass on scopedVars to templateSrv (#73333) 2023-08-17 14:58:54 +02:00
Matias Chomicki
c8a9adf52a
Config editor: add url placeholder (#73391) 2023-08-17 14:43:59 +02:00
mikkancso
6bc7c70c02
Datasources: Cleanup unused code from datasources (#73360)
* remove unused datasource pages

* move useDataSourceSettingsNav from datasources to connections

without any modification in the code yet

The reason for this is that its only usage is in this file, so we are
going to merge it with the other useDataSourceSettingsNav hook in the
next commit.

* merge two useDataSourceSettingsNav's

and rename consts and remove duplicated calls

* simplify useDataSourceSettingsNav
2023-08-17 14:37:39 +02:00
Sven Grossmann
7ee13c4c8c
CI: Bump code-coverage in Explore workflow to use go v1.20.x (#73384)
bump code-coverage on explore workflow
2023-08-17 14:21:47 +02:00
github-actions[bot]
355917e755
Update make docs procedure (#73359)
Co-authored-by: grafanabot <bot@grafana.com>
2023-08-17 13:12:28 +01:00
Piotr Jamróz
ab451d76ac
Explore: Improve parsing ranges from URL (#72498)
* Fix parsing absolute range

* Silence warning issued by moment js

* Introduce URLRangeValue to enforce better type-checking

* Fix unit tests

* Allow not passing range to generate ExploreUrl

* Use updated time range format in a test

* Allow empty object to be passed as a data link for backward compatibility

* Update mocks

* Post-merge fixes

* Simplify checking if range is passed as an empty object

* Update docs
2023-08-17 12:06:52 +02:00
Josh Hunt
654d99fbca
Chore: Replace Husky/Lint-staged with Lefthook (#66608)
* Switch from husky+precommit to lefthook

Migrate from husky/precommit to lefthook

h

old husky precommit

lefthook so far

remove husky folder

switch to new lefthook package

Add postinstall script to clean up after husky

preinstall to remove husky config

package.json

package.json

package.json

script

v

Reduce lefthook output

Cleanup

testing

reduce output

testing betterer

testing betterer

testing betterer

testing betterer

testing betterer

testing betterer

testing betterer

skip skipping execution info

small cleanup

remove comment from testing

clean up old husky hooks in .git/hooks path

run scripts in parallel

update codeowners

don't auto-install lefthook

install lefthook with make command

fix yarn checksum

* update codeowners

* don't use source because it isn't available in ubuntu/debian's /bin/sh

* Ensure lefthook commits files fixed by precommit hooks

* add comment to lefthook.rc explaining what it does

* add i18n:pseudo precommit

* Don't create .husky/safe-to-delete file anymore

* cleanup old lint-staged config

* contribute docs

* update lefthook to 1.4.8

* Move frontend encouragement docs

* rewrite husky cleanup script in bash so we can run it with make

* Make old husky precommit script reject commits until husky is removed

* log precommit warning for everyone

* fix package.json

* run lefthook hooks from old husky hook

* run lefthook hooks from old husky hook

* comments

* codeowners

* codeowners
2023-08-17 09:56:52 +00:00
Dimitris Sotirakis
3463dc8e48
CI: Update grabpl to v3.0.41 (#73373)
Update grabpl
2023-08-17 11:46:24 +02:00
Josh Soref
40c6fdf406
CI: Upgrade peter-evans/create-pull-request from v3 to v5 (#72599) 2023-08-17 11:10:40 +02:00
David Harris
ccbd31fe1f
docs: update signature level guidance (#73368)
docs: update signature level guidances
2023-08-17 09:54:18 +01:00
Yulia Shanyrova
9f4fb71a7b
Plugins: remove 'admin/plugins' redirect (#73319)
Redirect was deleted because it is deprecated
2023-08-17 10:30:42 +02:00
Dimitris Sotirakis
0aba319ea0
Grafana versioning: Remove pre suffix from Grafana version (#73357)
* Remove pre suffix from version

* Fix tests
2023-08-17 11:08:15 +03:00
Agnès Toulet
24978eff61
Rendering: Fix dashboard screenshot (#73190)
Rendering: fix dashboard screenshot
2023-08-17 09:56:28 +02:00
Karl Persson
ef6e1a9460
Hooks: Remove AddLoginHook and RunLogin hooks (#73227) 2023-08-17 09:51:45 +02:00
Sven Grossmann
98f3b5fecb
Fix dupicated typo into duplicated (#73351)
fix typos in transformation
2023-08-17 00:04:45 +03:00
C M
cc1ea31616
Docs: Fixed Grafana Fundamentals tutorial to match updated UI (#73168)
* Update index.md

The word `Configuration` was used to describe an action for getting started, when the actual UI has the word `Administration` and not Configuration. Updated the docs to reflect the actual environment created.

* Update index.md

Updated the tutorial to match the current UI options

* Made copy edits for styling and consistency with Cloud fundamentals tutorial

Made some copy edits to match our style guide and to make this tutorial a bit more consistent with the Cloud version. Also added the step for updating the legend back to the build dashboards section.

* Ran linter

* Edited text to match updated UI

Made edits to match UI behaviour as well as some further style edits.

* Made final copy edits

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2023-08-16 13:51:53 -04:00
Adela Almasan
451d5a25b2
Canvas: Fix data links (#73332) 2023-08-16 18:32:20 +02:00
Sven Grossmann
c006ea18fb
Loki: Fix validation of step values to also allow e.g. ms values (#73270)
* use go duration validation

* add `isValidGrafanaDuration`

* use `isValidGrafanaDuration`

* improve jsdoc
2023-08-16 17:57:26 +02:00
Matias Chomicki
0fe53fbd1d
Log row: split row-highlighting booleans in two (#73330) 2023-08-16 17:51:18 +02:00
Yelmor
8e7fa50775
Dashboard: Variables Dropdown - Fix Flickering on Refresh (#72566) 2023-08-16 17:32:48 +02:00
Alexa V
3fda30194c
Dashboard: Select the last used data source by default when adding a panel to a dashboard (#71777)
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
2023-08-16 17:17:44 +02:00
Gilles De Mey
6f0d3830b0
Email: Light theme email templates (#72398) 2023-08-16 16:24:49 +02:00
Will Browne
3c50db328d
Plugins: Make Installer responsible for removing plugins from file system (#73323)
* installer is responsible for removing from file system

* take plugin as arg

* remove resolve step

* return plugin in test
2023-08-16 15:44:20 +02:00
Carl Bergquist
243b757168
Middleware: Add team metadata to HTTP handlers (#71010)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2023-08-16 15:05:19 +02:00
Ricardo Christmann
8ec4c1bdc8
DataSourceProxy: Fix url validation error handling (#73087)
* DataSourceProxy: Fix url validation error handling

* DataSourceProxy: Add unit test for proxyDatasourceRequest

* DataSourceProxy: Fix lint error
2023-08-16 11:58:41 +02:00
Josh Hunt
4f2dd94bce
Chore: Specify CGO_ENABLED for bingo-install drone in the correct place (#73290) 2023-08-16 08:57:50 +00:00
linoman
1c7f89c41b
Auth: Add empty role usage metrics for service and user accounts (#73108)
* Add tests for service accounts metrics usage

* Add service account store implementation

* Add service account service implementation

* Add tests for org metrics usage

* Add org implementation

* Add service implementation
2023-08-16 10:56:47 +02:00
Will Browne
75b0788377
Plugins: Remove registry dependency from process manager (#73241)
simplify
2023-08-16 10:46:00 +02:00
Dmitry Filimonov
d935e6ff57
Navigation: Remove "preview" from Pyroscope Profiles nav item (#73070)
* Pyroscope: Mark profiles as GA (removes "preview")

* update
2023-08-16 08:38:26 +00:00
Misi
d7166f5f96
RBAC: Remove unused scope from alert.instances:read fixed role (#73268)
Fix alert.instances:read scope for fixed role
2023-08-16 09:55:49 +02:00
Yuri Tseretyan
938e26b59f
Alerting: Add new metrics and tracings to state manager and scheduler (#71398)
* add metrics and tracing to state manager

* propagate tracer to state manager

* add scheduler metrics

* fix backtesting

* add test for state metrics

* remove StateUpdateCount

* update docs

* metrics can be null

* add tracer to new tests
2023-08-16 09:04:18 +02:00
Yuri Tseretyan
90e3f516ff
Alerting: Update Discord settings to treat 'url' as a secure setting (#69588)
* make discord url secure

* support migrating unsecure settings to secure settings

* Update public/app/features/alerting/unified/utils/receiver-form.ts

Co-authored-by: William Wernert <william.wernert@grafana.com>

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
Co-authored-by: William Wernert <william.wernert@grafana.com>
2023-08-16 09:03:56 +02:00
Isabella Siu
870ef7b058
CloudWatch Logs: Wrap sync error from executeGetQueryResults (#73252) 2023-08-15 17:31:55 -04:00
Juan Cabanas
c9ed2c80b2
PublicDashboards: Query order bug fixed (#73293) 2023-08-15 14:47:56 -03:00
Nick Hudson
d7574a9a74
PostgreSQL: bump lib/pq to latest version (#72416)
* bump lib/pq to latest version
2023-08-15 13:04:42 -04:00
Galen Kistler
1e07c7c874
InfluxDB: Tests for #73247 (#73250)
* add test assertions to cover default config UI state in influxDB plugin
2023-08-15 11:50:50 -05:00
Ivana Huckova
77dc6d532e
Docs: Add plugin dev documentation for logs to trace (#73225)
* Docs: Add documentation for logs to trace

* Update

* Remove space

* Update docs/sources/developers/plugins/create-a-grafana-plugin/develop-a-plugin/build-a-logs-data-source-plugin.md

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>

* Replace deprecated MutableDataFrame with createDataFrame

* Update docs/sources/developers/plugins/create-a-grafana-plugin/develop-a-plugin/build-a-logs-data-source-plugin.md

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/develop-a-plugin/build-a-logs-data-source-plugin.md

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/develop-a-plugin/build-a-logs-data-source-plugin.md

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>

---------

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
2023-08-15 19:43:49 +03:00
Yuri Tseretyan
0717ec11d6
Alerting: Update state manager to change all current states in the case when Error\NoData is executed as Ok\Nomal (#68142) 2023-08-15 10:27:15 -04:00
Ieva
2848be9035
Docs: correct SAML docs (#73281)
Correct SAML docs
2023-08-15 15:55:15 +02:00