Liza Detrick
a17340ea8b
Applinks: Adds grafana-attributions-app to Cost Management nav ( #87765 )
...
* Applinks: add attributions under cost management -> metrics
2024-05-15 14:26:18 -07:00
Yuri Tseretyan
f410c7fca1
Alerting: use logger with same context within rule scheduling loop ( #87934 )
2024-05-15 15:38:00 -04:00
Scott Lepper
93acc0c932
sqlexpressions - fix escape quote ( #87921 )
2024-05-15 10:55:58 -04:00
Alexander Weaver
1badcf4b63
Alerting: Allow NoData and ExecErrState to be fully blank on recording rules ( #87868 )
...
* Allow empty NoData and ExecErrState on recording rules
* remove TODO about this
2024-05-15 09:35:54 -05:00
Fabrizio
953c8f838f
Loki: Lower log level when retrieving metadata ( #87910 )
...
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2024-05-15 17:08:03 +03:00
Bogdan Matei
6127dfd322
Scopes: Adapt for new API ( #87841 )
...
* Implement changes for new Scopes API
* Update from linkID to linkId
* Fixes
* Fix tests
* prom/scopes: change query model to recieve []ScopeSpec
* Move to basic backend service
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2024-05-15 16:28:09 +03:00
lean.dev
639ab6cca7
Tempo: Implement PDC for gRPC client ( #85867 )
2024-05-15 14:39:02 +02:00
Ida Štambuk
272cfa83b1
Feature Management: Move awsDatasourcesNewFormStyling to GA ( #87696 )
2024-05-15 12:23:24 +02:00
Scott Lepper
14a814a280
[sql expressions] fix: use ast to read tables ( #87867 )
...
* [sql expressions] fix: use ast to read tables
* can't run tests during ci yet. need to install duckdb
* skip for now. need duckdb cli
2024-05-14 17:05:29 -04:00
Alexander Weaver
b8a284fb81
Alerting: Fix xorm serialization of Record field struct, add tests for storing and reading ( #87857 )
...
Fix sub struct ser and deser, add tests
2024-05-14 14:50:06 -05:00
owensmallwood
557c3a9cdd
Unified Storage: Adds metrics for database query counts ( #87781 )
2024-05-14 10:17:38 -06:00
Ieva
4b24019bae
Dashboards: Don't set dashboard creator/updater if the action is done by an API key ( #87704 )
...
don't parse userID if entity isn't user or service account
2024-05-14 17:02:03 +01:00
Diego Augusto Molina
cbcd945251
Unified Storage: in SQL template, also handle output data, improve API, examples and docs ( #87560 )
...
* preview of work so far
* stylistic improvements
* fix linters
* remove golden tests, they may cause the system to be too rigid to changes
* remove unnecessary code for golden tests
* remove white space mangling in Execute
* also handle output data, improve API, examples and docs
* add helper methods
* fix interface
2024-05-14 12:32:21 -03:00
Kyle Brandt
ea1845edbe
Scopes: Change JS linkID to linkId ( #87831 )
2024-05-14 11:01:21 -04:00
Steve Simpson
67fa96f88d
Alerting: Pass logger into NewAnnotationBackend. ( #87812 )
...
* Alerting: Pass logger into NewAnnotationBackend.
Make it possible to pass loggers into more places for code reuse.
* Mistake in passing logger
2024-05-14 15:51:27 +02:00
William Wernert
563fcb8bf4
Alerting: Encode query model map to string in rule export to avoid html escape sequences ( #87663 )
...
* Encode query model map to string to avoid html escape sequences
* Remove insignificant whitespace in test request
2024-05-14 09:29:50 -04:00
Ryan McKinley
62d326cf04
Plugins: Add baseMiddleware support ( #87799 )
2024-05-14 16:27:40 +03:00
Fayzal Ghantiwala
7a2fbad0c8
Alerting: Add options to configure TLS for HA using Redis ( #87567 )
...
* Add Alerting HA Redis Client TLS configs
* Add test to ping miniredis with mTLS
* Update .ini files and docs
* Add tests for unified alerting ha redis TLS settings
* Fix malformed go.sum
* Add modowner
* Fix lint error
* Update docs and use dstls config
2024-05-14 14:21:42 +01:00
Alexander Weaver
e39658097f
Alerting: Wire recording rules feature toggle into limits struct ( #87778 )
...
Wire toggle into limits
2024-05-14 07:44:14 -05:00
Karl Persson
9977258d04
AuthN: Set uid during authentication ( #87797 )
...
* Identity: Remove GetNamespacedUID and use GetUID instead
* Authn: Set uid for users and service accounts
2024-05-14 14:13:50 +02:00
Arati R
6836bfe1ea
Storage: Customise setting dual writing modes ( #87668 )
...
* Add feature toggles for mode 2 and 3 playlist dual writing
* Make current mode customised based on kind
* Check feature flags when initialising dual writer
* Fix linting
* Refactor NewDualWriter
2024-05-14 14:11:56 +02:00
Andres Martinez Gotor
d8904f3ca4
Add apiVersion to plugin models ( #87510 )
2024-05-14 13:58:27 +02:00
Ezequiel Victorero
c9c6445554
Chore: Refactor render via http ( #84613 )
2024-05-14 07:24:18 -03:00
ismail simsek
194039c429
InfluxDB: Update alias regex pattern ( #87713 )
...
* use frontend mode alias regex
* remove comment
2024-05-14 09:53:18 +02:00
Stephanie Hingtgen
bbb4323f7e
K8s: add server run options ( #87784 )
2024-05-14 07:11:11 +03:00
Kyle Brandt
ff6d1f4977
Scopes: Add intregation tests for scopeNodes based on example ( #87646 )
2024-05-13 14:12:33 -04:00
Isabel Matwawana
b7d024c426
Docs: update headings and add release info ( #87058 )
...
* Updated headings and to align with release life cycle stages and adding release info
* Update generated files
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-05-13 12:44:14 -04:00
owensmallwood
3bf39d6d9a
Unified Storage: Fixes bug with postgres connection string and adds tests ( #87656 )
2024-05-13 10:16:26 -06:00
Carl Bergquist
3160a4d909
ScopeNodes: Add naive filter functionality for scopenode.titles ( #87721 )
2024-05-13 18:21:09 +03:00
owensmallwood
77686da969
Unified Storage: Adds sql metrics ( #87651 )
...
* registers sql metrics for unified storage and removes single quotes from postgres connection string format
* uses db logger
* only register US sql metrics when connecting to another postgres or mysql db
* use engine
2024-05-13 08:09:25 -06:00
Ivana Huckova
336b6dafb6
Elasticsearch: Fix setting of default maxConcurrentShardRequests ( #87703 )
...
* Elasticsearch: Fix setting of default maxConcurrentShardRequests
* Add float test scenario
* Add comment
2024-05-13 16:39:37 +03:00
Andres Martinez Gotor
ae152af119
Upgrade grafana-plugin-sdk-go to v0.230.0 ( #87706 )
2024-05-13 13:23:30 +02:00
Leonor Oliveira
b214f9cc3a
Add metrics utils to the dualwriter ( #87693 )
...
* Add metrics utils
* Ignore lint temporarily
* Lint
2024-05-13 11:36:24 +02:00
Alex Khomenko
f3953b4955
Notification Banner: Add feature toggle ( #87686 )
2024-05-13 12:32:34 +03:00
Karl Persson
7125a2e455
Anon: Add support to resolve anonymous identity ( #87486 )
2024-05-13 11:06:14 +02:00
Bruno
14ccf7f6d1
Cloud migrations: return errutil.Error in http responses ( #87448 )
2024-05-13 00:22:46 -04:00
Bruno
6a3ab71d77
cms: clean up model file ( #87179 )
...
* move CreateAccessTokenResponseDTO to api.go
* remove unused types
* run make swagger-clean && make openapi3-gen
2024-05-13 00:22:19 -04:00
Karl Persson
0f3080ecb8
AuthN: Fix signout redirect url ( #87631 )
...
* Add missing return
* Use sign out redirect url from auth config if configured
* remove option from auth.jwt that is not used
2024-05-12 19:53:19 +02:00
Michael Mandrus
ef51a64b57
Feature Toggles: Hide featureToggleAdminPage toggle from docs and note that it is cloud only. ( #87660 )
...
update featureToggleAdminPage feature toggle to be hidden from docs and specify cloud only
2024-05-10 21:34:53 +03:00
Ryan McKinley
f880abc292
QueryService: Move raw http.Handler to rest.Connector ( #87595 )
...
* query connector
* improve error wrappers
* return 400 for missing datasource (not 404)
* fix errors
* message
2024-05-10 21:01:17 +03:00
Andreas Christou
49e6bf26b3
AzureMonitor: Refactor Log Analytics backend ( #87429 )
...
* Remove unneeded error check
* Refactor to reduce cyclomatic complexity
* Add util function for parsing resultformat
* Make use of util
* Remove unneeded types
* Move types to their own file
* Move getApiUrl to utils
* Move traces functions to separate file
- Add separate helper for building trace string queries
* Add helper for determining resources
* Add test for RetrieveResources
* Don't append twice
* Refactor tests
2024-05-10 17:11:54 +01:00
linoman
926ee0f62e
SAML: add referemce to azure ad limitations ( #87571 )
...
* update the url for Azure AD limitations
* add warnings of using Azure AD with SAML
2024-05-10 15:12:31 +02:00
linoman
cd98aaf89b
Chore: Add login protection when user is trying different uppercase letters ( #87588 )
...
* add login protection when the user is trying different uppercase letters
2024-05-10 13:49:59 +02:00
Ieva
167151b211
Chore: Remove use of deprecated method in AC code ( #87541 )
...
* switch from using cfg to using featuremgmt for checking a feature toggle in AC code
* merge test fixes
2024-05-10 11:56:52 +01:00
Alexander Zobnin
0302b75721
Access control: Use search options for computing permissions cache key ( #87589 )
2024-05-10 12:06:52 +03:00
Misi
896882b004
Chore: Implement GetOAuthProviders in FakeSocialService ( #87590 )
...
Implement GetOAuthProviders in FakeSocialService
2024-05-10 11:48:05 +03:00
Alexander Weaver
a6a9ab4008
Alerting: Do not store series values from past evaluations in state manager for no reason ( #87525 )
...
Do not store previous execution results on states
2024-05-09 15:51:55 -05:00
lean.dev
b009536329
Caching: Implement mtls-enabled memcached integration ( #84171 )
...
* fix merge
* fix conflicts
* updating generated feature toggle code
* Fix go mod owner
* fix merge
* add dependency
* fix dependencies
* workspace sync
* go get
* work sync
* trying something
* fix
* add docs for tls config
* work sync
* adjust go mod
* try something
* move import to the correct file
---------
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2024-05-09 15:12:08 -04:00
Yuri Tseretyan
356a29592b
Alerting: Add two sets of provisioning actions for rules and notifications ( #87149 )
2024-05-09 13:19:07 -04:00
Alexander Weaver
36ef611cf4
Alerting: Add database migration for recording rule fields ( #87012 )
...
* Create recording rule fields in model
* Add migration
* Write to database, support in version table
* extend fingerprint
* Force fields to be empty on validate
* Another storage spot, tests for fingerprint
* Explicitly set defaults in provisioning API
* Tests for main API validation
* Add diff tests even though fields are unpopulated for now
* Use struct tag approach instead of FromDB/ToDB hooks as it better handles nulls when deserializing
* test for deser
* Backout RecordTo for now since it's not decided in the doc
* back out of migration too
* Drop datasourceref for now
* address linter complaints
* Try a single outer struct with all fields embedded
2024-05-09 12:12:44 -05:00