CloudWatch自定义公制名称未显示在Grafana中
我是Grafana的新手,有查询。
我创建了一个在EC2上运行的Grafana实例,并在其上附上了一个带有CloudWatch Permisons的角色。
我已经配置了CloudWatch DataSource并对其进行了测试,并且一切都很好。
看起来Grafana默认情况下无法加载自定义指标,因此我在自定义指标字段的命名空间中指定了自定义名称空间的名称
,我现在可以在查询中看到它们编辑。
但是,即使它们存在于CloudWatch中,我也看不到任何度量名称。
但是,当我选择一个默认的AWS名称空间之一时,我会看到所有填充的指标名称。
有没有办法获取用于在Grafana中显示自定义名称空间的度名?
I'm new to Grafana and have a query.
I have created a Grafana instance running on EC2 and attached a role with Cloudwatch permisisons to it.
I've configured the Cloudwatch datasource and tested it and it all works fine.
It doesn't look like Grafana is able to load custom metrics by default, so I've specified the names of the custom namespace in the Namespaces of Custom Metrics field
and I can see them now in the query editor.
However, I don't see any metric names, even though they are present in Cloudwatch.
But when I select one of the default AWS namespaces, I see all the metric names populated.
Is there a way to get Metric Names for custom namespaces to show up in Grafana?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保在自定义指标字段的
名称空间中具有正确的名称
config。这很敏感。还有空间可能存在问题。您可以尝试升级Grafana。 Grafana 8.3.x版本对我来说很好。Make sure you have correct name in
Namespaces of Custom Metrics field
config. It is case sensitive. Also space there can be a problem. You may try to upgrade your Grafana. It works fine for me with Grafana 8.3.x version.