guangwu
bbe4b0d3de
chore: remove refs to deprecated io/ioutil ( #70300 )
2023-06-22 12:19:23 +02:00
Bryan Boreham
c45ff94806
Tracing: supply Grafana build version ( #69733 )
...
* tracing: supply Grafana build version
Not etcd client version.
* go mod tidy
2023-06-22 11:55:30 +03:00
Andreas Deininger
95b1f3c875
Fixing typos ( #70487 )
2023-06-22 09:43:38 +01:00
Santiago
d3bb9fbbaf
Alerting: Use only token for images in notifications ( #70196 )
...
* Alerting: Use only tokens for images in notifications
* update tests
* make linter and modfile validator happy
2023-06-21 20:53:45 -03:00
Santiago
ff9eff49bd
Alerting: Bump grafana/alerting and refactor the ImageStore/Provider to provide image URL/bytes ( #70182 )
...
* implement alerting.images.Provider interface in our ImageStore
* add URLExists() method to fakeConfigStore
* make linter happy
* update integration tests
2023-06-21 20:53:30 -03:00
ismail simsek
680fc85cdf
Chore: Delete unused cookie forward middleware ( #70403 )
...
Delete unused cookie forward middleware
2023-06-21 22:39:10 +03:00
Ryan McKinley
ae688adabc
TestData: Drop some percentage of CSV values from a request ( #70404 )
2023-06-21 13:17:10 -05:00
Alexander Weaver
ce6f73bd32
Alerting: Add two missing tests which cover missing URLs for Loki state history ( #70460 )
...
Add two missing tests which cover individual missing URLs
2023-06-21 12:58:37 -05:00
Juan Cabanas
ee73d41d24
PublicDashboards: Audit table pagination ( #69823 )
2023-06-21 10:48:09 -03:00
George Robinson
8a13ee3cd4
Alerting: Add debug logs when saving instances is finished ( #70447 )
2023-06-21 14:19:04 +02:00
Joey
00ec9fceb9
Tempo: Represent OTLP Span Intrinsics correctly ( #69394 )
...
* Span intrinsics
* Update intrinsics and add to span details
* Remove intrinsics section
* Update tests
* Update status code text
* Self review
* Move previously intrinsic values to span
* Remove few methods
2023-06-21 11:39:12 +01:00
Ivana Huckova
55d18361dc
Loki: Deprecate resolution ( #70326 )
...
* Loki: Deprecate resolution and only show it if it was selected before
* Deprecate
* Fix merge, add missing brackets
2023-06-21 12:21:29 +02:00
Zoltán Bedi
aedcd651fa
Test: Fix windows test for SQL data sources ( #69137 )
2023-06-21 11:14:05 +02:00
Serge Zaitsev
47b2e7f1d7
Fix: Create store only once in cli mode ( #70391 )
...
fix: create store only once in cli mode
2023-06-20 17:28:42 +02:00
Dmitry Filimonov
03bf52b719
Navigation: puts Profiles app under Observability ( #69973 )
...
* Navigation: puts Profiles app under Observability
* Update applinks.go
2023-06-20 16:24:12 +01:00
Giuseppe Guerra
5622f2f43a
Plugins: Angular: Update hardcoded Angular detection patterns ( #70053 )
...
* Plugins: Angular: add ConfigCtrl to Angular patterns
* Update angular detection patterns
* Add tests
2023-06-20 14:12:17 +02:00
George Robinson
a1cb7319d5
Alerting: Update in app documentation for customizing message and subject ( #70367 )
2023-06-20 12:20:01 +02:00
George Robinson
815e98ed95
Alerting: Add debug logs for EndsAt timestamp ( #70336 )
...
This commit adds debug logs for previous_ends_at and next_ends_at
to state.go to help us debug issues where alerts are resolved in
Alertmanager due to expiration. This change is in response to a
support escalation where this information was needed but unavailable.
2023-06-20 12:13:38 +03:00
Zoltán Bedi
39433b5b9a
Candlestick: Migrate to schema ( #62113 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-06-20 07:18:40 +03:00
Joan López de la Franca Beltran
cc65b4d46a
Secrets: Make the Migrator extensible ( #67307 )
...
* [Chore] Remove setting provider from secret service
Co-authored-by: Tania B <yalyna.ts@gmail.com>
Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com>
* Add a ShouldBeRedacted func
Co-authored-by: Tania B <yalyna.ts@gmail.com>
Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com>
* Secrets: Make Migrator extensible
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Tania B <yalyna.ts@gmail.com>
* Alerting: Fix tests after refactor
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Tania B <yalyna.ts@gmail.com>
* Remove commented code no longer used
* Fix Wire bindings
Co-authored-by: Tania B <yalyna.ts@gmail.com>
* Add constructors to secrets
* Linting
* Undo undesired change
---------
Co-authored-by: gamab <gabi.mabs@gmail.com>
Co-authored-by: Tania B <yalyna.ts@gmail.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-06-19 23:44:01 +02:00
Andrej Ocenas
5ca03a82f0
FlameGraph: Add sandwich view ( #70268 )
2023-06-19 16:34:06 +02:00
Gábor Farkas
271cdb4baa
loki: rename experimental feature flag ( #70306 )
2023-06-19 10:03:51 +00:00
SatVeer Singh
1bfa3a0f1e
Chore: Replace go-multierror with errors package ( #66432 )
...
* code refactor and type assertions added to tests
* no-lint rule added for specific line
2023-06-19 12:29:45 +03:00
ismail simsek
e3ea5422ea
InfluxDB: Return default retention policy from backend as first element ( #69818 )
...
* Reformatting and restructuring
* Update unit test
* Always send the default retention policy as first element
* Fix typo
* Update test
* Update test once more
2023-06-17 14:20:54 +02:00
Nathan Marrs
d7a8892f3a
Canvas: Migrate to schema ( #70205 )
2023-06-17 05:56:23 +03:00
Ryan McKinley
da66aefa87
EnityAPI: update summary builder to support library panels ( #70280 )
2023-06-16 14:44:16 -07:00
Jean-Philippe Quéméner
934ba1aaa1
Alerting: Rewrite range to instant queries if possible ( #69976 )
2023-06-16 19:55:49 +02:00
Yuri Tseretyan
842f33580e
SSE: Add functions that determine NodeType by UID and construct a data source struct from NodeType ( #70106 )
...
* add NodeTypeFromDatasourceUID and DataSourceModelFromNodeType()
* deprecate expr.DataSourceModel
* replace usages of IsDataSource to NodeTypeFromDatasourceUID
* replace usages of DataSourceModel to DataSourceModelFromNodeType()
2023-06-16 13:05:06 -04:00
Ivana Huckova
82c125d450
Loki: Implement step editor ( #69648 )
...
* Loki: Implement step editor
* Update to keep value
* Remove console.log
* Remove white space
* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryBuilderOptions.tsx
Co-authored-by: Matias Chomicki <matyax@gmail.com>
* Import trim
* Update using of step in split queries
* Add tests
* Add tests
* Remove step interpolation
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com>
2023-06-16 19:08:29 +03:00
Michael Mandrus
66d2214c3b
Config: Add configuration option to define custom user-facing general error message for certain error types ( #70023 )
...
---------
Co-authored-by: Summer Wollin <summer.wollin@grafana.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>
2023-06-16 10:46:47 -05:00
Ross
5f4d1d4872
CloudWatch: Add missing EventBridge Pipe metrics ( #69994 )
2023-06-16 12:04:47 +02:00
Andres Martinez Gotor
7c1c196031
Plugins: Periodically update public signing key ( #70080 )
2023-06-16 11:20:30 +02:00
Kousik Mitra
62ee1fa05a
Plugins: Wrap original check health error ( #69944 )
...
Fixes #69765
2023-06-16 11:18:53 +02:00
Tania
0316350d16
Codegen: Generate any
instead of interface{}
( #70201 )
...
* Chore: Update thema to latest
* Regenerate
2023-06-16 10:54:56 +02:00
Dimitris Sotirakis
98b6791101
Chore: Prettify some unit tests for pkg/build
( #70186 )
...
* Prettify
* Fix test
2023-06-16 09:32:06 +03:00
Yuri Tseretyan
f1d47d18a8
Alerting: Sort RefIDs in error message returned by api.validateCondition ( #70198 )
...
sort RefIDs in error message
2023-06-15 18:37:30 -03:00
Yuri Tseretyan
b963defa44
Alerting: update rules POST API to validate query and condition only for rules that changed. ( #68667 )
...
* replace condition validation with just structural validation
* validate conditions of only new and updated rules
* add integration tests for rule update\delete API
Co-authored-by: George Robinson <george.robinson@grafana.com>
2023-06-15 13:33:42 -04:00
Yuri Tseretyan
baffe83da6
Alerting: Improve performance of cache.getOrCreate ( #63909 )
...
* move expansion of labels and annotations outside of mutex lock
* propagate struct but not pointer
2023-06-15 09:37:47 -04:00
Ezequiel Victorero
3413e1497e
PublicDashboards: Add support for recorded queries used in Mixed ds ( #70096 )
2023-06-15 10:28:34 -03:00
Yuri Tseretyan
cc72fe17d5
SSE: Refactor DSNode and extract function to convert backend response to mathexp.Results ( #70098 )
2023-06-15 09:20:08 -04:00
Gareth Dawson
cda10fae52
Logs: Make logs container scrollable ( #69371 )
...
* feat: make logs container scrollable
* fix container height
* add a feature toggle
* fix: scroll behaviour with wrap lines on
* Update public/app/features/logs/components/getLogRowStyles.ts
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
* rename feature toggle
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2023-06-15 12:25:34 +01:00
George Robinson
f085e99d3c
Alerting: Add matchers metrics to Alertmanager ( #69855 )
2023-06-15 09:18:01 +01:00
Ezequiel Victorero
fc374f93a3
PublicDashboards: Support timezone on query API ( #68560 )
2023-06-14 17:35:01 -03:00
Dan Cech
a6279b2d62
Database: Make dialects independent of xorm Engine ( #69955 )
...
* make dialects independent of xorm Engine
* goimports
2023-06-14 16:13:36 -04:00
Alexander Zobnin
6c7d5bf95f
Authn UI: Remove feature toggle ( #70073 )
...
* Authn UI: Remove feature toggle
* remove feature flag usage
2023-06-14 19:58:15 +03:00
Dimitris Sotirakis
5a36fa5f8a
Bug: Fix build-frontend*
config checks ( #70076 )
...
* Fix frontend config checks
* Exclude test tag events
2023-06-14 17:34:30 +03:00
Jo
26b66fda4b
Auth: Support Gitlab OIDC scopes ( #69890 )
...
* draft gitlab openid
* mutualize id token extraction
* unexport fields
* user user info endpoint for retrieving indirect group memberships
* add to readme
* fix missing doc
* fix generic oauth wrong parameter
* log token
2023-06-14 15:38:16 +02:00
Kyle Brandt
db75f20e53
FeatureToggle: (Chore) Add recordedQueriesMulti toggle ( #70063 )
...
Currently does not do anything as it is for use with a future enterprise PR
Eventually: "Enables writing multiple items from a single query within Recorded Queries"
2023-06-14 15:34:22 +03:00
Jo
914daef0fd
Auth: Add request context to UserInfo calls ( #70007 )
...
* use context for UserInfo requests
* set timeouts for oauth http client
* Update pkg/login/social/common.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-06-14 14:30:40 +02:00
Dimitris Sotirakis
91272ee4f9
CI: Add CI check for what's new
link ( #70046 )
...
* Add whatsnewchecker
* Add whatsnewchecker_test
* Small fixes
* Add step in CI
* Fix lint
* Fix starlark
* t.Cleanup instead of separate func
* Skip check for test tags
2023-06-14 13:51:01 +03:00