grafana / timestream-datasource

Amazon Timestream in Grafana
https://grafana.com/grafana/plugins/grafana-timestream-datasource
Apache License 2.0
24 stars 19 forks source link

Incorrect regions added in v1.1.2 #42

Closed lewalt000 closed 3 years ago

lewalt000 commented 3 years ago

In v1.1.2, the regions supported by the plugin were updated to reflect where Timestream is available.

However, the available West Coast region is us-west-2, and not us-west-1: https://github.com/grafana/timestream-datasource/blob/master/src/common/regions.ts

This is confirmed in the pricing page which shows available regions: https://aws.amazon.com/timestream/pricing/. Note: "US West (Oregon)" is us-west-2

This causes the Grafana UI to not allow us-west-2 to be configured as a Timestream data source. It allows us-west-1, where Timestream is not currently supported.

squalou commented 3 years ago

HI, I faced the same issue : which is a GUI design error more than an issue : you can fill in whatever value you need, even if not listed !

It is not natural for a dropdown menu, nothing tells you you can, it requires a "usability fix".

Remove entirely the dropdown would be better than this.

see #19 and #36 (that's where I found the idea to 'type in', no-one can guess that)

agranig commented 3 years ago

Same with the pre-defined eu-west-2 region, which is actually supposed to be eu-west-1.

EDIT: As mentioned by @squalou, you can actually type in an arbitrary region name, but that is not obvious at all, works as a quick fix though.

ryantxu commented 3 years ago

resolved in v1.2.0