Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse param dimensions error #46

Open
ghosthj opened this issue Mar 1, 2021 · 0 comments
Open

parse param dimensions error #46

ghosthj opened this issue Mar 1, 2021 · 0 comments

Comments

@ghosthj
Copy link

ghosthj commented Mar 1, 2021

aliyun_cms_grafana_datasource
V2.0 Backend Plugin
@yichangtian yichangtian released this on 29 Jan · 2 commits to master since this release

改造为backend plugin模式
数据源配置增加了Aliyun UserId 字段。如果用户需要使用自监控数据和站点监控数据,配置UI上需要手动配置上阿里云Uid。


14、20210128
升级到版本2.0 并生成之前版本1.0
a. 请求方式改为服务端请求,解决客户端AK可以明文读取的安全问题

request url:
/proxy_aliyun_cms_pop/?Action=QueryMetricList&Length=1000&Project=acs_ecs_dashboard&Metric=diskusage_utilization&Period=15&Dimensions=[%7B%22instanceId%22:%22xxx%22;%22device%22:%22/dev/vdb1%22%7D]&StartTime=1614557649355&EndTime=1614561249355

response :
{"Code":"400","Message":"parse param dimensions error([{"instanceId":"xxxx")","RequestId":"4EF28925-E12E-47E5-8859-4EC01C098E77","NextToken":"","Datapoints":"","Period":"","Success":false}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant