blu078
November 1, 2021, 7:51am
1
Hi,
I’m using Grafana v7.5.11 & installed X-Ray datasource (X-Ray plugin for Grafana | Grafana Labs ) for log tracing.
The datasource is able to connect to AWS successfully. (when I click on Save & Test, it displays “Data source is working”). IAM permission is also granted based on the IAM Policies documented on the page.
However, I received an error prompt “Failed to load regions from AWS, showing default regions instead. SerializationError: failed to unmarshal error message status code: 404, … caused by: expected element type but have ” when I create a dashboard from this datasource.
Looking at the logs, I saw the following API “/api/datasources/6/resources/regions” that is throwing the error.
SerializationError: failed to unmarshal error message
status code: 404, request id: f19a7ae9-3ebd-4845-bf00-757e277142e7
caused by: UnmarshalError: failed to unmarshal error message
00000000 3c 55 6e 6b 6e 6f 77 6e 4f 70 65 72 61 74 69 6f |<UnknownOperatio|
00000010 6e 45 78 63 65 70 74 69 6f 6e 2f 3e 0a |nException/>.|
caused by: expected element type but have
Has anyone encounter this error?
Thank you.
Hi @blu078 ,
According to the changelog, it looks like Grafana’s AWS SDK has undergone a lot of development. Maybe try reproducing this error on Grafana 8.2.3?
blu078
November 9, 2021, 9:40am
3
Hi Mattabrams,
Unfortunately, I am using an embedded version of Grafana within another application, hence, upgrade is not an option.
I am considering to use AWS Managed Grafana if there are no workarounds.
Thank you.
@blu078 you can also try a free-forever Grafana Cloud account.
Hosted Grafana, Prometheus, Graphite, Loki, and Tempo for your open source observability platform. Managed by the team behind Grafana. Start your free …
blu078
November 17, 2021, 3:14am
5
Hi Mattabrams,
Thanks for your assistance. We will review Grafana Cloud as an alternative too.
1 Like
Hi, I have the same issue.
I am using Grafana 9.1.1
Is there any workaround?
Hi @blu078 and @nutslove
This seems to be a known issue. For more details, please check:
opened 03:47AM - 08 Sep 22 UTC
closed 11:38AM - 08 Sep 22 UTC
type/bug
datasource/X-Ray
Hi,
I’m using Grafana v9.1.1 and installed X-Ray datasource v2.0.1 with Acces… s & secret key OR Credentials file.
Every time I choose X-Ray at Explore or Dashboard, a warning about the region is showing.
Is there any workaround for this?
Thanks.


※grafana log related this issue(I think)
`"logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2022-09-08T02:25:51.251461521Z level=error msg=\"Request Completed\" method=GET path=/api/datasources/74/resources//regions status=500 remote_addr=100.116.23.7 time_ms=66 duration=66.630859ms size=140 referer=\"http://10.47.58.169:8083/explore?left=%7B%22datasource%22%3A%22UEChu2M4z%22%2C%22queries%22%3A%5B%7B%22refId%22%3A%22A%22%7D%5D%2C%22range%22%3A%7B%22from%22%3A%22now-1h%22%2C%22to%22%3A%22now%22%7D%7D&orgId=1\" traceID=00000000000000000000000000000000\n"`
`"logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2022-09-08T03:26:22.569261874Z level=error msg=\"Request Completed\" method=GET path=/api/datasources/74/resources//regions status=500 remote_addr=100.116.28.51 time_ms=115 duration=115.425857ms size=140 referer=\"http://10.47.58.169:8083/explore?left=%7B%22datasource%22%3A%22qD2SVdQ7k%22%2C%22queries%22%3A%5B%7B%22refId%22%3A%22A%22%2C%22queryType%22%3A%22getTraceSummaries%22%2C%22query%22%3A%22%22%2C%22group%22%3A%7B%22FilterExpression%22%3Anull%2C%22GroupARN%22%3A%22arn%3Aaws%3Axray%3Aap-northeast-1%3A154409968892%3Agroup%2FDefault%22%2C%22GroupName%22%3A%22Default%22%2C%22InsightsConfiguration%22%3A%7B%22InsightsEnabled%22%3Afalse%2C%22NotificationsEnabled%22%3Afalse%7D%7D%2C%22region%22%3A%22default%22%7D%5D%2C%22range%22%3A%7B%22from%22%3A%22now-1h%22%2C%22to%22%3A%22now%22%7D%7D&orgId=1\" traceID=00000000000000000000000000000000\n"`
1 Like
system
Closed
November 1, 2022, 7:51am
8
This topic was automatically closed after 364 days. New replies are no longer allowed.