Sergey Kostrukov
96b7fb15de
Plugins: Fix parsing of Azure settings for plugins ( #60611 )
...
Fix parsing of Azure settings for plugins
2022-12-21 13:37:33 +01:00
Sergey Kostrukov
47eb7f785d
Use resource call query_result query ( #57232 )
2022-10-20 09:46:36 -05:00
Sergey Kostrukov
2d3cc26aa8
Prometheus: Remove Azure code from datasource service ( #50737 )
...
Ref #35857
2022-06-14 10:47:06 +02:00
Sergey Kostrukov
7251115457
Settings: Use Grafana Azure SDK to pass Azure env vars for external plugins ( #48954 )
...
* Azure env vars for plugins via Grafana Azure SDK
* Remove tests
2022-05-18 15:28:40 +02:00
Sergey Kostrukov
9047058c43
Auth Proxy: non-ASCII headers encoding tests ( #47110 )
2022-05-02 13:08:20 +02:00
Sergey Kostrukov
656ade9884
Shared Azure middleware between Azure Monitor and Prometheus datasources ( #46002 )
...
* Scopes in Azure middleware
* Enable Azure middleware without feature flag
* Use common Azure middleware in Azure Monitor
* Apply feature flag to JsonData configuration of Azure auth
* Enforce feature flag in Prometheus datasource
* Prometheus provider tests
* Datasource service tests
* Fix http client provider tests
* Pass sdkhttpclient.Options by reference
* Add middleware to httpclient.Options
* Remove dependency on Grafana settings
* Unit-tests updated
* Fix ds_proxy_test
* Fix service_test
2022-04-01 13:26:49 +02:00
Sergey Kostrukov
1dca39fb91
Auth Proxy: encoding of non-ASCII headers ( #44797 )
...
* Decode auth proxy headers using URL encoding
* Header encoding configuration via settings file
* Rename configuration setting to headers_encoded
* Quoted-printable encoding
* Tests for AuthProxy
* Fix encoding name
* Remove authproxy init
2022-03-04 04:58:27 -05:00
Sergey Kostrukov
85ea1a5d64
Prometheus: Fix Azure authentication support ( #44407 )
...
Re-adding back Azure authentication support to Prometheus datasource
after the datasource query logic was rewritten from plugin.json routes to
Go backend.
Ref #35857
2022-02-03 17:06:31 +01:00
Sergey Kostrukov and Marcus Efraimsson
cb09162cde
Datasources: Simplify the AzureCredentials structure in datasource config ( #39209 )
...
Related #35857
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2022-01-25 14:23:32 +01:00
Sergey Kostrukov
06a616e630
Update Azure SDK with bug fixes ( #38952 )
2021-09-09 17:32:36 +01:00
Sergey Kostrukov
c6356c5bba
Fix scopes mutation by cloning original array ( #37981 )
2021-08-18 10:05:14 +02:00
Sergey Kostrukov
10cc9bda74
Toolkit: return original stack trace for webpack errors ( #37814 )
2021-08-14 13:49:56 -07:00
Sergey Kostrukov
dd0a906fb7
Fix alternative Azure cloud names ( #37133 )
2021-08-13 14:58:05 +01:00
Sergey Kostrukov
89ba607382
AzureMonitor: strongly-typed AzureCredentials and correct resolution of auth type and cloud ( #36284 )
2021-07-05 12:20:12 +02:00
Sergey Kostrukov
52e38c54e5
AzureMonitor: token provider into aztokenprovider and cleanup ( #36102 )
2021-06-29 10:05:42 +02:00
Sergey Kostrukov
412bcf1fb0
AzureMonitor: fix Azure Resource Graph queries in Azure China ( #35235 )
...
* Optimize Azure Monitor routes
* Update API version compatible with Azure China
2021-06-04 12:29:18 +01:00
Sergey Kostrukov
f052f10289
Cleanup the options initialization ( #35080 )
2021-06-02 10:56:57 +01:00
Sergey Kostrukov
179eb0898e
AzureMonitor: remove requirement for default subscription ( #34787 )
...
* Do not require default subscription for Azure Monitor
* Fix explore URLs when default subscription not set
* Test datasource fixes
* Added comment
* Fix first or default subscription/workspace
* SubscriptionField doesn't depend on Log Analytics
* Tests fixed
* Select default subscription only when user clicked
2021-05-28 10:19:31 +01:00
Sergey Kostrukov
de86114b66
AzureMonitor: reset default subscription when credentials change ( #34707 )
...
* Update default subscription on credentials change
* Fix secret reset when subscription selected
* Remove unused exports
2021-05-27 19:03:36 +01:00
Sergey Kostrukov
a337f70469
AzureMonitor: Fix Azure token provider national clouds ( #34615 )
...
* Fix AAD authority for sovereign clouds
* Update Azure SDK with scopes fix
* Credential initialization in cache
2021-05-25 08:19:08 +02:00