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

Bug: 云函数监控配置里不能通过变量来指定 instance #32

Closed
Cloudlie opened this issue Mar 19, 2021 · 0 comments · Fixed by #37
Closed

Bug: 云函数监控配置里不能通过变量来指定 instance #32

Cloudlie opened this issue Mar 19, 2021 · 0 comments · Fixed by #37
Labels
bug Something isn't working

Comments

@Cloudlie
Copy link
Contributor

设置两个变量:

$region :Namespace=QCE/SCF_V2&Action=DescribeRegions
$instance :Namespace=QCE/SCF_V2&Region=$region&Action=DescribeInstances

然后面板配置如下:
Namespace: QCE/SCF_V2
Region: $region
MetricName: Duration
Period: 300
instance: (As FunctionName) $instance

这时候 instance 里的值只能是上述地区里的默认命名空间里的云函数,

如果 instance 不使用变量时,可以通过 Show Details 开关来配置云函数的命名空间,从来筛选出指定命名空间下的云函数,但如果instance 使用了命名空间后,show Details 开头就会消失,导致 instance 处只能选择默认命名空间下的云函数

@jamesxwang jamesxwang added bug Something isn't working good first issue labels Mar 19, 2021
@jamesxwang jamesxwang changed the title 云函数监控配置里不能通过变量来指定 instance Bug: 云函数监控配置里不能通过变量来指定 instance Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants