Andrej Ocenas
91a67ab0fb
CloudWatch/Logs: Don't group dataframes for non time series queries for non live path ( #38915 )
...
* Use the same grouping function in legacy code
* Add error propagation
* Fix tests
* Fix tests
2021-09-08 16:30:55 +02:00
Erik Sundell
5e38b02f94
Cloudwatch: Migrate queries that use multiple stats to one query per stat ( #36925 )
...
* migrate queries that use multiple stats - squash commits
* fix typo
2021-09-08 16:06:43 +02:00
Kai Hayashi
6e0f18b13a
CloudWatch: Update Period auto to take retention into account ( #37424 )
...
* now to get it to build
* modified names, added the 455 day case, and added a comment
* removed wireguard override i used for my local
* updated the docs
2021-09-01 09:44:47 +02:00
Arve Knudsen
78596a6756
Migrate to Wire for dependency injection ( #32289 )
...
Fixes #30144
Co-authored-by: dsotirakis <sotirakis.dim@gmail.com >
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
Co-authored-by: Ida Furjesova <ida.furjesova@grafana.com >
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
Co-authored-by: spinillos <selenepinillos@gmail.com >
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
Co-authored-by: Leonard Gram <leo@xlson.com >
2021-08-25 15:11:22 +02:00
Will Browne
1618d5ad6f
use most appropriate func for registering core plugins ( #38497 )
2021-08-25 10:08:48 +02:00
Andrej Ocenas
60a0c5da05
CloudWatch/Logs: Don't group dataframes for non time series queries ( #37998 )
...
* Don't split response when there is no time field
* Refactor grouping to separate function
* Add test
2021-08-18 15:05:06 +02:00
Dimitris Sotirakis
050dc7bc8f
Cloudwatch: Unwrap errors - throw error from upstream ( #36334 )
...
* Unwrap errors - throw error from upstream
* Fixes according to reviewer's comments
* Fix linting
* Remove unused code
2021-08-18 10:37:13 +03:00
Evan Sosenko
5d74c47cf8
Add missing AWS/Cognito metrics ( #37768 )
...
* Add missing AWS/Cognito metrics
https://docs.aws.amazon.com/cognito/latest/developerguide/metrics-for-cognito-user-pools.html
* Add missing Cognito dimensions
* Remove Cognito usage metrics
2021-08-16 20:44:32 +02:00
Sherwin Daganato
118c811c61
CloudWatch: Add AWS/EC2 MetadataNoToken metric ( #37427 )
2021-08-16 10:04:21 +02:00
Andrej Ocenas
b5f7df3e62
CloudWatch/Logs: Fix crash when time column has nil values ( #37708 )
2021-08-12 10:36:06 +02:00
Ilya Stoliar
b62fe58cac
CloudWatch: Add AWS LookoutMetrics ( #37329 )
2021-07-29 09:31:04 +02:00
Ilya Stoliar
59c691a777
CloudWatch: Add AWS IVS metrics and dimensions ( #37178 )
2021-07-26 14:53:18 +02:00
Ilya Stoliar
7efbcf3fbc
CloudWatch: Add AWS CodeGuruProfiler metric ( #37084 )
2021-07-22 09:35:10 +02:00
Ilya Stoliar
0cfc135c4b
CloudWatch: Add AWS CertificateManager metric ( #36881 )
2021-07-19 10:41:12 +02:00
dannyfreak
67b977fd63
Added missing metrics for Consumer Lag dimension ( #36821 )
...
Co-authored-by: Fryc, Daniel <Daniel.Fryc@Pearson.com >
2021-07-16 11:10:40 +02:00
Brent Cetinich
37c3e6f9b9
Add StreamName dimension for AWS/KinesisVideo namespace ( #36655 )
2021-07-12 14:24:10 +02:00
Andres Martinez Gotor
1dc5d037e4
Add AWS/AmazonMQ dimensions ( #36573 )
2021-07-09 16:19:29 +02:00
Andrej Ocenas
ea2ba06b93
CloudWatch/Logs: Fix log alerts in new unified alerting ( #36558 )
...
* Pass FromAlert header from new alerting
* Add better error messages
2021-07-09 13:43:22 +02:00
Zoltán Bedi
0ae8a85828
CloudwatchLogs: send error down to client ( #36277 )
...
* CloudwatchLogs: send error down to client
* Move error handling down to startLiveQuery
2021-07-05 16:12:58 +02:00
Andres Martinez Gotor
30dc4025c2
Remove AWS CW client cache ( #36311 )
2021-07-02 10:13:23 +02:00
Andrej Ocenas
9a3e3014dd
CloudWatch/Logs: Fix missing response data for log queries ( #35724 )
2021-06-15 14:42:55 +02:00
Erik Sundell
eff2410bae
Cloudwatch: Fix duplicated time series ( #35433 )
...
* make sure queries are only ran once
* test aliases
* use correct dates
2021-06-10 10:23:17 +02:00
Andres Martinez Gotor
086309700e
Fix missing defaultRegion ( #35436 )
2021-06-09 17:19:43 +02:00
Marcus Efraimsson
b3e9087557
Chore: Refactor backend plugin manager/tsdb query data ( #34944 )
...
Move QueryData method into backend plugin manager which HandleRequest uses to
query data from plugin SDK supported data sources. This allowed us to remove a lot
of code no longer needed.
Ref #21510
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2021-06-03 14:16:58 +02:00
Evan Sosenko
80c05becc5
Add missing AWS/AppSync metrics ( #34691 )
2021-05-26 08:11:26 +02:00
Evan Sosenko
f9b8f3777a
CloudWatch: Add Lambda@Edge Amazon CloudFront metrics ( #34561 )
...
* Add LambdaExecutionError to AWS/CloudFront
* Add LambdaValidationError to AWS/CloudFront
* Add LambdaLimitExceededErrors to AWS/CloudFront
2021-05-26 08:11:13 +02:00
Freshleaf Media
c30f6fe8fe
Cloudwatch: Adds StorageBytes metrics. Fixes #31836 ( #33426 )
2021-05-19 09:40:44 +02:00
Matthew Coltman
bc21adf712
CloudWatch: Allow use of missing AWS namespaces using custom metrics ( #30961 )
...
* add tests
* CloudWatch: Allow use of missing AWS namespaces using custom metrics
* CloudWatch: Allow use of missing AWS namespaces using custom metrics
2021-05-17 07:32:32 +02:00
Will Browne
c39d6ad97d
Plugins: Enable plugin runtime install/uninstall capabilities ( #33836 )
...
* add uninstall flow
* add install flow
* small cleanup
* smaller-footprint solution
* cleanup + make bp start auto
* fix interface contract
* improve naming
* accept version arg
* ensure use of shared logger
* make installer a field
* add plugin decommissioning
* add basic error checking
* fix api docs
* making initialization idempotent
* add mutex
* fix comment
* fix test
* add test for decommission
* improve existing test
* add more test coverage
* more tests
* change test func to use read lock
* refactoring + adding test asserts
* improve purging old install flow
* improve dupe checking
* change log name
* skip over dupe scanned
* make test assertion more flexible
* remove trailing line
* fix pointer receiver name
* update comment
* add context to API
* add config flag
* add base http api test + fix update functionality
* simplify existing check
* clean up test
* refactor tests based on feedback
* add single quotes to errs
* use gcmp in tests + fix logo issue
* make plugin list testing more flexible
* address feedback
* fix API test
* fix linter
* undo preallocate
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* fix linting issue in test
* add docs placeholder
* update install notes
* Update docs/sources/plugins/marketplace.md
Co-authored-by: Marcus Olsson <marcus.olsson@hey.com >
* update access wording
* add more placeholder docs
* add link to more info
* PR feedback - improved errors, refactor, lock fix
* improve err details
* propagate plugin version errors
* don't autostart renderer
* add H1
* fix imports
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: Marcus Olsson <marcus.olsson@hey.com >
2021-05-12 20:05:16 +02:00
Alexander Emelin
95a356a840
Live: using organisation IDs throughout stack ( #33714 )
2021-05-11 22:03:04 +03:00
Rodrigo Fior Kuntzer
4fc1810cb7
CloudWatch: added Amplify Console specific metrics and dimensions ( #33171 )
2021-05-10 13:55:48 +02:00
Erik Sundell
4089455869
fix aws connect dimensions ( #33736 )
2021-05-05 21:25:30 +02:00
Ryan McKinley
7627b55ef4
TSDB: add deprecation comments to many tsdb structs ( #33281 )
2021-04-23 03:03:11 +02:00
Erik Sundell
743b77771f
fix dimension name ( #33271 )
2021-04-22 15:02:40 +02:00
Alexander Emelin
93292f6eef
Live: update Streaming plugin definitions, put frame schema in subscribe result data ( #32561 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-04-02 19:41:45 +03:00
Alexander Emelin
da05b7a07b
Live: http publish, refactor live interfaces ( #32317 )
2021-03-30 13:23:29 +03:00
Will Browne
d7862c50b8
Plugins: Migrate CloudWatch to backend plugin SDK ( #31149 )
...
* first pass
* add instance manager
* fix tests
* remove dead code
* unexport fields
* cleanup
* remove ds instance from executor
* cleanup
* inline im
* remove old func
* get error working
* unexport field
* let fe do its magic
* fix channel name
* revert some tsdb changes
* fix annotations
* cleanup
2021-03-23 16:32:12 +01:00
Nirojan Vythilingam
d45b341fc1
Add cloudwatch metrics for managed RabbitMQ service ( #31838 )
...
Co-authored-by: Nirojan Vythilingam <nirojan@users.noreply.github.com >
2021-03-23 08:44:30 +01:00
Tom Daly
55258f2795
32120: Add missing Redshift metrics to CloudWatch data source ( #32121 )
2021-03-22 08:58:16 +01:00
Ryan McKinley
9dd1d5f553
Cloudwatch: use shared library for aws auth ( #29550 )
...
* use sdk for handling auth
* fix broken test
* lint fixes
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
2021-03-12 14:30:21 +01:00
Erik Sundell
d512c5a1b4
Cloudwatch: ListMetrics API page limit ( #31788 )
...
* add list metrics api page limit
* Update docs/sources/datasources/cloudwatch.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-03-10 07:41:22 +01:00
Erik Sundell
2d660ee502
CloudWatch: Restrict auth provider and assume role usage according to Grafana configuration ( #31805 )
...
* restrict usage of providers and assume role according to grafana config
* update docs
* Update docs/sources/datasources/cloudwatch.md
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/tsdb/cloudwatch/cloudwatch.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/tsdb/cloudwatch/session_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* pr feedback
* fix failing test
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-09 21:20:59 +01:00
Erik Sundell
13dd9dff50
CloudWatch: Add support for EC2 IAM role ( #31804 )
...
* add support for iam role auth
* add stubbable func
* fix broken test
* goimports
* pr feedback
2021-03-09 20:50:16 +01:00
Arve Knudsen
b79e61656a
Introduce TSDB service ( #31520 )
...
* Introduce TSDB service
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
Co-authored-by: Will Browne <will.browne@grafana.com >
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
2021-03-08 07:02:49 +01:00
Ilya Stoliar
f5d1fa48ca
CloudWatch: Added AWS Timestream Metrics and Dimensions ( #31624 )
2021-03-03 11:25:45 +02:00
Erik Sundell
580332255d
add new metrics and dimensions ( #31595 )
2021-03-03 10:18:34 +01:00
Ilya Stoliar
ad37077610
CloudWatch: Added AWS Network Firewall metrics and dimensions ( #31498 )
2021-03-02 06:12:59 +01:00
Erik Sundell
055590890c
CloudWatch: Make it possible to specify custom api endpoint ( #31402 )
...
* wip: add endpoint field
* add endpoint to config and make sure it's part of the cache key
* update docs
* improve endpoint paragraph
* Update docs/sources/datasources/cloudwatch.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update public/app/plugins/datasource/cloudwatch/components/ConfigEditor.tsx
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* goimports
* Update docs/sources/datasources/cloudwatch.md
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* update snapshot
* Update docs/sources/datasources/cloudwatch.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
2021-02-24 16:05:14 +01:00
Ilya Stoliar
19c12b5451
CloudWatch: Added AWS Ground Station metrics and dimensions ( #31362 )
2021-02-23 20:36:18 +01:00
Rafael de Elvira
c05cf9fdbb
Add new Cloudwatch AWS/DDoSProtection metrics and dimensions ( #31297 )
2021-02-23 13:50:40 +01:00