grafana/pkg/tsdb/cloudwatch
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
..
annotation_query.go CloudWatch: Clean up code (#26259) 2020-07-14 08:23:23 +02:00
cloudwatch_query_test.go Cloudwatch: Convert go convey tests to standard test library (#28003) 2020-10-02 19:40:15 +02:00
cloudwatch_query.go CloudWatch: Clean up code (#24666) 2020-05-18 12:25:58 +02:00
cloudwatch.go CloudWatch: Re-implement authentication (#25548) 2020-10-12 17:58:58 +02:00
get_metric_data_executor_test.go Chore: Convert CloudWatch metrics to data frames (#27449) 2020-10-06 13:45:58 +02:00
get_metric_data_executor.go Chore: Convert CloudWatch metrics to data frames (#27449) 2020-10-06 13:45:58 +02:00
log_actions_test.go CloudWatch Logs: Move query response stats to appropriate FrameMeta property (#26732) 2020-08-19 15:18:04 +01:00
log_actions.go Server: Add health check route (#26999) 2020-08-18 14:58:08 +02:00
log_query_test.go Chore/fix lint issues (#27704) 2020-09-22 16:22:19 +02:00
log_query.go Chore: Convert CloudWatch metrics to data frames (#27449) 2020-10-06 13:45:58 +02:00
metric_data_input_builder.go CloudWatch: Clean up code (#26259) 2020-07-14 08:23:23 +02:00
metric_data_query_builder_test.go Chore: Convert CloudWatch metrics to data frames (#27449) 2020-10-06 13:45:58 +02:00
metric_data_query_builder.go CloudWatch: Clean up code (#26259) 2020-07-14 08:23:23 +02:00
metric_find_query_test.go cloudwatch: Consolidate client logic (#25555) 2020-07-23 18:52:22 +02:00
metric_find_query.go Cloudwatch: Adding support for additional Amazon CloudFront. (#27891) (#28069) 2020-10-07 19:03:05 +02:00
query_transformer_test.go Cloudwatch: Convert go convey tests to standard test library (#28003) 2020-10-02 19:40:15 +02:00
query_transformer.go Chore: Convert CloudWatch metrics to data frames (#27449) 2020-10-06 13:45:58 +02:00
request_parser_test.go Chore: Convert CloudWatch metrics to data frames (#27449) 2020-10-06 13:45:58 +02:00
request_parser.go Chore: Convert CloudWatch metrics to data frames (#27449) 2020-10-06 13:45:58 +02:00
response_parser_test.go Chore: Convert CloudWatch metrics to data frames (#27449) 2020-10-06 13:45:58 +02:00
response_parser.go Chore: Convert CloudWatch metrics to data frames (#27449) 2020-10-06 13:45:58 +02:00
session_test.go CloudWatch: Re-implement authentication (#25548) 2020-10-12 17:58:58 +02:00
session.go CloudWatch: Re-implement authentication (#25548) 2020-10-12 17:58:58 +02:00
sort_frame_test.go Datasource/CloudWatch: Better handling of stats grouping (#24789) 2020-05-21 15:18:09 +01:00
sort_frame.go Datasource/CloudWatch: Better handling of stats grouping (#24789) 2020-05-21 15:18:09 +01:00
test_utils.go CloudWatch: Re-implement authentication (#25548) 2020-10-12 17:58:58 +02:00
time_series_query_test.go cloudwatch: Consolidate client logic (#25555) 2020-07-23 18:52:22 +02:00
time_series_query.go Chore: Convert CloudWatch metrics to data frames (#27449) 2020-10-06 13:45:58 +02:00
types.go Chore: Convert CloudWatch metrics to data frames (#27449) 2020-10-06 13:45:58 +02:00