Arve Knudsen
9593d57914
Chore: Enable errorlint linter ( #29227 )
...
* Enable errorlint linter
* Handle wrapped errors
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com >
2020-11-19 14:47:17 +01:00
Karl Atkinson
65ed8a76a6
CloudWatch: added HTTP API Gateway specific metrics and dimensions ( #28780 )
2020-11-17 19:27:20 +01:00
Arve Knudsen
4dd7b7a82d
Chore: Remove unused Go code ( #28852 )
...
* Chore: Remove more unused Go code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-17 11:51:31 +01:00
Tom Daly
18f3969fdb
Add 'EventBusName' dimension to CloudWatch 'AWS/Events' namespace ( #28402 )
2020-11-12 16:48:35 +02:00
Marcus Efraimsson
ded4be0435
CloudWatch: Add support for AWS/ClientVPN metrics and dimensions ( #29055 )
...
Fixes #28778
2020-11-12 15:47:02 +01:00
Ryan McKinley
b91e9faccf
Live: update centrifuge and the ChannelHandler api ( #28843 )
2020-11-05 10:37:04 -08:00
Ryan McKinley
b7a8416e02
Live: improve broadcast semantics and avoid double posting ( #28765 )
2020-11-03 09:11:23 -08:00
Torkel Ödegaard
fa567de9b8
Cloudwatch: Fix issue with field calculation transform not working properly with Cloudwatch data ( #28761 )
...
* Cloudwatch: Fix issue with reducer transform not working properly with Cloudwatch data
* Updated go sdk and updated code
* CloudWatch: Improve test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-03 11:24:26 +01:00
Arve Knudsen
00508295d1
CloudWatch: Improve method name, performance optimization ( #28632 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-10-29 08:27:24 +01:00
kay delaney
c4c5b2dc61
CloudWatch Logs queue and websocket support ( #28176 )
...
CloudWatch Logs queue and websocket support
2020-10-28 08:36:57 +00:00
Krzysztof Warunek
a71eadf379
CloudWatch/Athena - valid metrics and dimensions. ( #28436 )
...
* CloudWatch/Athena - valid metrics and dimensions.
In accordance with https://docs.aws.amazon.com/athena/latest/ug/query-metrics-viewing.html .
* Athena: add ProcessedBytes dimension instead of DataScannedInBytes
2020-10-22 10:04:13 +03:00
Arve Knudsen
af17f9fd9b
CloudWatch: Fix custom metrics ( #28391 )
...
* CloudWatch: Fix querying for custom metrics
Co-authored by Mitch McKenzie <mitch.mckenzie@outlook.com >
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-10-20 13:33:38 +02:00
Marcus Efraimsson
0e17a15fbd
CloudWatch: Adding support for additional Amazon CloudFront metrics ( #28378 )
...
Follow up to #28069 where some metrics was missed.
Ref #28069
2020-10-19 18:14:27 +02:00
The Rock Guy
c9cc82ea55
CloudWatch: Add EC2CapacityReservations Namespace ( #28309 )
2020-10-16 09:08:50 +02:00
Arve Knudsen
957c88eaca
CloudWatch: Re-implement authentication ( #25548 )
...
* CloudWatch: Revisit authentication
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CloudWatch: Simplify auth code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Use ARN
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Add Drone configuration
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Remove unused code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Remove .drone.yml
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix external ID usage
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CloudWatch: Fix issues after merge
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Remove stale code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Remove stale code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Use auth type enum
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix test snapshot
* Coordinate frontend and backend option names
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Remove old comments
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix front-end tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Introduce session cache
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Use constants
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix field alignment
* CloudWatch: Fix log message
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Tidy go.mod
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CloudWatch: Handle arn auth type
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CloudWatch: Fix role assumption duration
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CloudWatch: Inline unnecessary constants
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CloudWatch: Use serial comma in UI
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CloudWatch: Inline unnecessary constants
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CloudWatch: Fail if missing region
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CloudWatch: Handle unconfigured region
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CloudWatch: Log when using cached session
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CloudWatch: Include region in cache key
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Add UI warnings for lecagy support
* Do not clear ARN fields whenging change authentication provider
* Graph NG: annotations display (#27972 )
* Annotations support POC
* Fix markers memoization
* dev dashboard update
* Update public/app/plugins/panel/graph3/plugins/AnnotationsPlugin.tsx
* CloudWatch: Remove errors.BadRequest
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CloudWatch: Undo unintentional change
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Remove log line
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix cache key computation
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Add region to cache key
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Improve log messages
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CloudWatch: Add documentation
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Improve tooltip
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Improve docs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Improve docs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Improve docs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Improve tooltip
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Add role assumption provisioning example
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Add upgrade notes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Improve docs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
* backend: use latest sdk (#28147 )
fixes #27713 via https://github.com/grafana/grafana-plugin-sdk-go/pull/227
* Docs: Update Permissions documentation (#28144 )
* removed overview.md
* content updates
* Update datasource_permissions.md
* update content
* content updates
* Update organization_roles.md
* Update docs/sources/enterprise/saml.md
Co-authored-by: Kyle Brandt <kyle@grafana.com >
* Update dashboard_folder_permissions.md
Co-authored-by: Kyle Brandt <kyle@grafana.com >
* area/grafana/toolkit: ci-package needs to use synchronous writes (#28148 )
* ci needs to use synchronous writes or the file ends up with zero length
* <Enterprise Docs> Add instructions to upload license via UI (#28067 )
* Add UI license upload option, reformat Enterprise license activation section
Added the option to upload a license file through the Server Admin UI, and did a little reformatting to make license activation look more like a process.
* Headers not bold, hyphens not asterisks
* Github: run metrics collector workflow every 10min (#28153 )
* GithubActions: Updated cron schedule
* Updated
* Docs: Update explore docs: remove dot at the end of line (#28151 )
HI - Removed Dot(.) at the end of line to make it consistent with other 2 points.
Thanks,
Ashish
* Fix frontend tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix frontend tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Docs: Update upgrade notes
Co-authored-by: Sofia Papagiannaki <sofia@grafana.com >
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
Co-authored-by: Kyle Brandt <kyle@grafana.com >
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
Co-authored-by: Brian Gann <briangann@users.noreply.github.com >
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
Co-authored-by: ashishagarwal06 <34888589+ashishagarwal06@users.noreply.github.com >
2020-10-12 17:58:58 +02:00
Darryl
21fc3e702b
Cloudwatch: Adding support for additional Amazon CloudFront. ( #27891 ) ( #28069 )
...
* Cloudwatch: Adding support for additional Amazon CloudFront metrics.
2020-10-07 19:03:05 +02:00
jgulick48
9cd3ab0340
Cloudwatch: Adding support for Amazon ElastiCache Redis metrics. ( #28040 )
...
* Cloudwatch: Adding support for Amazon ElastiCache Redis metrics.
2020-10-06 19:52:02 +02:00
Spencer Taylor
3606e282ba
CloudWatch: Add missing TransitGateway dimension ( #28061 )
...
Adding missing TransitGatewayAttachment dimension to the AWS/TransitGateway namespace.
2020-10-06 19:22:03 +02:00
Arve Knudsen
0a2ef086b3
Chore: Convert CloudWatch metrics to data frames ( #27449 )
...
* CloudWatch: Convert metrics results to data frames
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: kay delaney <kay@grafana.com >
2020-10-06 13:45:58 +02:00
jgulick48
7c2999709c
Cloudwatch: Add support for AWS DirectConnect virtual interface metrics and add missing dimensions ( #28008 )
...
* Cloudwatch: Add support for AWS DirectConnect virtual interface metrics.
* Cloudwatch: Adding dimentions to the AWS/DX namespace for virtual network interface based DirectConnect.
2020-10-05 19:19:40 +03:00
Matheus Alcantara
7d7e727f22
Cloudwatch: Convert go convey tests to standard test library ( #28003 )
...
* Cloudwatch: Convert go convey tests to standard test library
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-10-02 19:40:15 +02:00
Sofia Papagiannaki
42476811a4
Cloudwatch: Fix loading custom credentials profile ( #27684 )
...
* Store credentials profile in JSON
* Update docs example
* Apply suggestions from code review
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-09-24 19:21:17 +03:00
Arve Knudsen
a5d9196a53
Chore/fix lint issues ( #27704 )
...
* Chore: Fix linting issues
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-09-22 16:22:19 +02:00
kay delaney
22d6cfc358
DataSource/CloudWatch: Adds metadata to grouped CW Logs dataframe ( #27454 )
2020-09-09 08:38:53 +01:00
Arve Knudsen
581d2eaaf4
Revert "Convert CloudWatch to use dataframes ( #26702 )" ( #27448 )
...
This reverts commit 7762839853 .
2020-09-08 15:06:58 +02:00
Arve Knudsen
7762839853
Convert CloudWatch to use dataframes ( #26702 )
...
* CloudWatch: Convert metrics queries to return data frames
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-09-08 13:35:17 +02:00
Szymon Szypulski
a8db544e85
Cloudwatch: Update list of AmazonMQ metrics and dimensions ( #27332 )
...
Update list of AmazonMQ metrics and Dimensions based on the current list
from the official AWS documentation.
Also, change InflightCount to InFlightCount.
2020-09-02 21:32:43 +02:00
Amir Szekely
c5a7afce44
Fix AWS action name ( #27205 )
...
The action name is `tag:GetResources`, not `tags:GetResources`. This creates a confusing error message that can have the user add the wrong permission to the IAM role.
2020-08-26 11:01:50 +02:00
kay delaney
a1f90521a0
CloudWatch Logs: Move query response stats to appropriate FrameMeta property ( #26732 )
...
* CloudWatch Logs: Move query response stats to appropriate FrameMeta property
2020-08-19 15:18:04 +01:00
Arve Knudsen
a2fbffe48a
Server: Add health check route ( #26999 )
...
* Server: Add health check route
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Server: Remove health check middleware
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-08-18 14:58:08 +02:00
Arve Knudsen
b1ddbaa395
CloudWatch: Fix sorting of metrics results ( #26835 )
...
* CloudWatch: Fix sorting of metrics results
2020-08-07 11:48:40 +02:00
waqark3389
642e904048
Show FileSystemId as a dimension key ( #26662 )
...
FileSystemId can be used to filter by filesystem ID if needed. Right now it just returns blank
2020-07-29 09:35:07 +03:00
Arve Knudsen
94d0934e90
CloudWatch: Fix a few API status codes ( #26578 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-07-24 12:34:56 +02:00
Arve Knudsen
2446ee08f1
CloudWatch: Fix passing of namespace for getting custom metrics ( #26515 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-07-24 08:37:24 +02:00
Patrik Karlström
43ef052d57
cloudwatch: Consolidate client logic ( #25555 )
...
* cloudwatch: Consolidate client logic
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-07-23 18:52:22 +02:00
Ruan Bekker
b972963934
Cloudwatch: Add af-south-1 region ( #26513 )
...
* Adds af-south-1 region to cloudwatch datasource
* Fix test
Co-authored-by: Sofia Papagiannaki <papagian@gmail.com >
2020-07-23 14:02:25 +03:00
Arve Knudsen
415638cdda
Chore: Use interfaces where possible ( #26392 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-07-23 08:17:20 +02:00
waqark3389
fabd879cbe
CloudWatch: Add FreeStorageCapacity ( #26503 )
...
* Add FreeStorageCapacity metric in AWS/FSx namespace
2020-07-22 16:11:53 +02:00
Arve Knudsen
d4e4cb4c71
Chore: Enable Go linter gocritic ( #26224 )
...
* Chore: Enable gocritic linter
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-07-16 14:39:01 +02:00
kay delaney
54ad5b869e
CloudWatch Logs: Fixes grouping of results by numeric field ( #26298 )
...
* CloudWatch Logs: Fixes grouping of results by numeric field
Closes #25721
2020-07-14 11:13:03 +01:00
Arve Knudsen
c863fd3da9
CloudWatch: Clean up code ( #26259 )
...
* CloudWatch: Clean up code
2020-07-14 08:23:23 +02:00
Andrej Ocenas
64bc85963b
Explore: Unification of logs/metrics/traces user interface ( #25890 )
...
Removes "Metrics"/"Logs" mode switcher from Explore, allowing for both
metrics and logs queries at the same time.
Co-authored-by: kay delaney <kay@grafana.com >
2020-07-09 15:14:55 +01:00
Sofia Papagiannaki
e8a8159085
Cloudwatch: Update AWS/MediaConnect metrics and dimensions ( #26093 )
...
* Cloudwatch: Update AWS/MediaConnect dimensions
* Cloudwatch: Update AWS/MetricConnect metrics
2020-07-07 10:16:20 +03:00
Arve Knudsen
41d432b5ae
Chore: Enable whitespace linter ( #25903 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-07-06 20:17:28 +02:00
Dhananjay
3ef06a0c88
Cloudwatch: Add Support for external ID in assume role ( #23685 )
...
Co-authored by: Arve Knudsen
2020-07-02 15:24:36 +02:00
Arve Knudsen
5070f7a75b
Chore: Start harmonizing linting with plugin SDK ( #25854 )
...
* Chore: Harmonize linting with plugin SDK
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Chore: Fix linting issues
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-06-29 14:08:32 +02:00
Ilya Stoliar
8ca28de305
CloudWatch: Added AWS ServiceCatalog metrics and dimensions ( #25812 )
2020-06-25 01:26:41 +02:00
Ilya Stoliar
1e38a24b88
CloudWatch: Added AWS MediaStore metrics and dimensions ( #25492 )
...
* CloudWatch: Added AWS MediaStore metrics and dimensions
* Camel case dimensions
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com >
2020-06-24 11:06:57 +03:00
kay delaney
b1dee9392b
CloudWatch Logs: "limit" query command now respected ( #25486 )
...
Closes #25182
2020-06-15 11:29:04 +01:00
Marcus Efraimsson
53175a41c9
Make tsdb dataframes response able to carry encoded/decoded frames ( #25454 )
...
Make tsdb dataframes response able to carry encoded and/or decoded frames
2020-06-09 13:13:06 +02:00