Nathan Vērzemnieks
b5f26560c2
Cloudwatch: Remove core imports from infra/log ( #81543 )
...
* Cloudwatch: use logging from plugin-sdk-go instead of infra/log
* Add a link to the TODO issue for moving `instrumentContext`
2024-02-07 13:53:05 +01:00
Isabella Siu
3b852bb582
CloudWatch: Remove references to pkg/infra/metrics ( #81744 )
...
CloudWatch: remove references to pkg/infra/metrics
2024-02-06 21:21:55 +02:00
DugeraProve
6697da6176
Cloudwatch: Add AWS/EMRServerless and AWS/KafkaConnect Metrics ( #79532 )
2024-02-06 17:21:49 +01:00
Isabella Siu
81da3ff753
CloudWatch: Remove dependencies on grafana/pkg/setting ( #81208 )
2024-02-05 13:59:32 -05:00
lean.dev
f23b993014
CloudWatch: Only override contextDialer when using PDC ( #80992 )
2024-02-02 15:45:57 -03:00
Nathan Vērzemnieks
ec4fafa08f
Cloudwatch: Deprecate cloudwatchNewRegionsHandler feature toggle and remove core imports from featuremgmt ( #81310 )
...
* Remove core imports from grafana/pkg/services/featuremgmt in CloudWatch
2024-01-30 13:11:52 +01:00
Isabella Siu
5772662cee
CloudWatch: decouple from ngalert/models and query packages ( #81210 )
2024-01-25 09:40:55 -05:00
Ida Štambuk
9b4c78dbc9
Cloudwatch: Import httpClient from grafana-plugin-sdk-go instead of grafana/infra ( #81187 )
2024-01-25 13:33:31 +01:00
Ida Štambuk
d3a89a28fa
Cloudwatch Metrics: Adjust error handling ( #79911 )
2024-01-15 17:19:26 +01:00
siddhikhapare
1833539c32
Cloudwatch: Update error code metrics for ES/OpenSearch ( #78990 )
...
Update error code metrics
2023-12-08 17:16:30 +02:00
Shirley
86311e3a33
CloudWatch: Refactor query batching ( #78581 )
...
Co-authored-by: Fiona Liao <fiona.y.liao@gmail.com>
2023-11-29 22:43:34 +01:00
ctobolski
5c451cbb7d
Cloudwatch: Add missing appsync metrics ( #76703 )
...
Cloudwatch: add missing appsync metrics
2023-11-29 12:09:19 -05:00
Ida Štambuk
0b65f900aa
Cloudwatch: Add missing metrics for AWS/IVSRealtime namespace ( #78688 )
2023-11-29 17:50:37 +01:00
Pablo
302519fe26
CloudWatch: Add AWS Bedrock metrics definition ( #78478 )
2023-11-22 13:40:40 -05:00
Kevin Yu
7f7d912af7
CloudWatch: Call query method from DataSourceWithBackend to support public dashboards ( #77532 )
...
* CloudWatch: call query method from DataSourceWithBackend to support public dashboards
* add test
* remove unneeded properties from test case
* update betterer
* add parens to group related logic
* remove unnecessary aliasing of variable
* use t.Cleanup
* remove redundant check
* add comment
2023-11-20 14:44:22 -08:00
Shirley
9452a6fcf7
CloudWatch: Add missing GameLift metrics ( #76102 )
...
Add missing GameLift metrics
2023-11-16 10:02:29 +01:00
Taku Maeda
210ec8247b
Plugins: Add AWS/MediaLive metric for CloudWatch ( #78163 )
2023-11-15 18:42:23 +02:00
Ryan McKinley
f69fd3726b
FeatureToggles: Add context and and an explicit global check ( #78081 )
2023-11-14 12:50:27 -08:00
Isabella Siu
64e28c0ae2
CloudWatch Logs: Add labels to alert and expression queries ( #77529 )
2023-11-02 16:26:31 -04:00
Shabeeb Khalid
a59588a62e
Cloudwatch: Use context in aws DescribeLogGroupsWithContext ( #77176 )
2023-11-01 15:06:06 -04:00
Shabeeb Khalid
abebcf4385
CloudWatch: Use context in aws GetLogGroupFieldsWithContext ( #77174 )
2023-10-30 15:14:18 -04:00
Shabeeb Khalid
df41378472
CloudWatch: Use context in aws ListSinks and ListAttachedLinks ( #77083 )
...
* Use context in aws ListSinks and ListAttachedLinks
In the current way, ListSinks and ListAttachedLinks is used which doesn't
allow cancelling the request if the context changes.
Using ListSinksWithContext and ListAttachedLinksWithContext is the
preferred way. Adding context for GetAccountsForCurrentUserOrRole
is required to pass it to ListSinks method.
2023-10-27 11:49:37 +03:00
Shabeeb Khalid
3a9eb33b14
CloudWatch: Use context in aws GetResourcesPagesWithContext ( #76921 )
2023-10-23 11:46:48 -04:00
Jan Garaj
bd8ee9b0eb
CloudWatch: add AWS/CertificateManager dimension ( #76893 )
2023-10-23 16:48:54 +02:00
Shabeeb Khalid
9dc6cac1f2
CloudWatch: Use context in aws DescribeRegionsWithContext ( #76922 )
...
* Use context in aws DescribeRegionsWithContext
In the current way, DescribeRegions is used which doesn't allow
cancelling the request if the context changes. Using
DescribeRegionsWithContext is the preferred way.
* Fix context variable
* Revert GetRegionsWithContext to GetRegions
GetRegions is not an AWS SDK method. Hence, GetRegions should be enough
as the name change is not needed for context implementation.
2023-10-23 16:39:07 +02:00
Shabeeb Khalid
8f96d23eee
CloudWatch: Use context in aws ListMetricsPages ( #76938 )
...
Use context in aws ListMetricsPages
Use ListMetricsPagesWithContext and pass context in related sub calls
2023-10-23 16:17:06 +02:00
Shabeeb Khalid
015062cf65
CloudWatch: Use context in aws DescribeInstancesPages ( #76855 )
2023-10-20 17:45:19 -04:00
Isabella Siu
ecbc52f515
CloudWatch: Update query batching logic ( #76075 )
2023-10-20 15:09:41 -04:00
Sarah Zinger
fefdb78640
Cloudwatch: Ignore error while fetching regions ( #76626 )
2023-10-17 10:14:33 -04:00
Will Browne
9d92818cae
Plugins: Update PDC pattern from latest plugin SDK changes ( #76576 )
...
* update with sdk
* do sql
* fix core plugins
* fix proxy settings
* bump SDK version
* tidy
* enable pdc for test
* add codeowners
* bump dep
* go mod tidy
* bump SDK
2023-10-16 16:40:04 +02:00
Dan Cech
91cf4f0c1c
Revert "Plugins: Update PDC pattern from latest plugin SDK changes" ( #76565 )
...
Revert "Plugins: Update PDC pattern from latest plugin SDK changes (#76036 )"
This reverts commit 151f6d6216
.
2023-10-13 12:35:16 -04:00
Will Browne
151f6d6216
Plugins: Update PDC pattern from latest plugin SDK changes ( #76036 )
...
* update with sdk
* do sql
* fix core plugins
* fix proxy settings
* bump SDK version
* tidy
* enable pdc for test
* add codeowners
2023-10-13 14:42:15 +02:00
Jan Garaj
68a027993c
CloudWatch: Add missing AWS/Transfer metrics ( #76079 )
...
Source: https://docs.aws.amazon.com/transfer/latest/userguide/monitoring.html
2023-10-06 10:47:36 +02:00
Sarah Zinger
b83a58ef55
Cloudwatch: Prevent log group requests with ARNs if feature flag is off ( #75672 )
2023-09-28 14:25:03 -04:00
Isabella Siu
06a35f55ac
CloudWatch: Correctly add dimension values to labels ( #74847 )
...
Co-authored-by: Shirley <4163034+fridgepoet@users.noreply.github.com>
2023-09-27 10:41:48 -04:00
Sijmen
60922e5f77
Cloudwatch: Add missing AWS regions ( #75392 )
2023-09-25 17:13:46 -04:00
Sarah Zinger
ef441f02d0
Cloudwatch: Fix Unexpected error ( #74420 )
...
Fix unexpected error when creating a new cloudwatch datasource.
Involves a fair amount of refactoring, so if this causes unexpected issues related to region fetching we can turn this off with the cloudwatchNewRegionsHandler feature toggle, although we do not predict it will so we are enabling it to default to true and hope to remove it shortly.
2023-09-25 14:19:12 -04:00
Will Browne
7fca1bde54
Plugins: Set grafana config, plugin version and user agent on plugin requests ( #75171 )
...
* first pass
* fixup
* remove test line
* fix tests
* use new fields
* fix imports + formatting
* fix tests
* rollback changes
* undo whitespace
* apply pr feedback
2023-09-21 11:33:31 +02:00
Deepali Gupta
b54e4c0ddb
Chore: Update metrics for AWS/MediaConnect ( #74946 )
2023-09-19 13:35:16 -04:00
Isabella Siu
4b7b323061
CloudWatch Logs: Fix log query display name when used with expressions ( #74497 )
2023-09-13 15:04:50 -04:00
jordanefillatre
b8b5d2fed8
CloudWatch: Add AWS/S3 replication metrics ( #74416 ) ( #74418 )
...
Co-authored-by: Isabella Siu <sakurablossom@blueblueworld.com>
2023-09-06 15:10:17 -04:00
Serge Zaitsev
93cdc94a94
Chore: capitalise logs in other backend packages ( #74344 )
...
* capitalise logs in observability logs
* capitalise oss-bit-tent packages
* capitalise logs in aws-datasources
* capitalise logs for traces and profiling
* capitalise logs for partner datasources
* capitalise logs in plugins platform
* capitalise logs for observability metrics
2023-09-04 22:25:43 +02:00
Tristan
b0897d7b36
CloudWatch: Add additional AWS/Firehose metrics for DynamicPartitioning support ( #74237 )
2023-09-01 09:21:14 -04:00
Sarah Zinger
34a831c83e
Cloudwatch: Add back support for old Log Group picker ( #73524 )
...
Cloudwatch: Add back support for old Log Group picker behind feature toggle.
Fixes issue for aws gov cloud users
2023-08-31 10:13:24 -04:00
Ryan McKinley
025b2f3011
Chore: use any rather than interface{} ( #74066 )
2023-08-30 18:46:47 +03:00
Gelldur
9e1eab3d70
CloudWatch: Add missing region Middle East (UAE) me-central-1 ( #73560 )
...
Add missing region Middle East (UAE) me-central-1
2023-08-29 14:41:57 +02:00
Isabella Siu
870ef7b058
CloudWatch Logs: Wrap sync error from executeGetQueryResults ( #73252 )
2023-08-15 17:31:55 -04:00
Cian
9c51eaf88d
CloudWatch: Add missing AppFlow metrics ( #73149 )
2023-08-15 09:45:05 -04:00
Sarah Zinger
09d5483c6c
Cloudwatch: Upgrade aws-sdk and display external ids for temporary credentials ( #72821 )
...
(under a feature toggle, not yet ready for public testing)
2023-08-14 13:42:30 -04:00
Ida Štambuk
abff6e20e9
Cloudwatch Logs: Set Alerting timeout to datasource config's logsTimeout ( #72611 )
2023-08-03 19:35:30 +02:00