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

grafana怎么查tags呢 #11

Open
hagic-hhj opened this issue Mar 8, 2019 · 2 comments
Open

grafana怎么查tags呢 #11

hagic-hhj opened this issue Mar 8, 2019 · 2 comments

Comments

@hagic-hhj
Copy link

比如需要在grafana赛选出满足同一tag的endpoint,怎么实现呢,
因为我看query查出来的结果都是endpoint。并没有筛选出tags

@airmeteor
Copy link

这问题之前也一直困扰着我,后面想了一下不一定要从falcon哪里获取tags,反过来可以从grafana那边定义tags变量就可以达到目的了(前提是你得知道falcon里面的tags)

@hagic-hhj
Copy link
Author

可以查列出tag:
比如Query为:${node}#lvs.vip.rs_num/
就可以查出该Counter下的tag,然后可以再用正则做赛选
但是,现在发现个问题,查出来的tag并不支持点号".",例如ip格式的tag(xx.xx.xx.xx),如下只显示了ip地址的第一段
Preview of values
is_virtual=true,port=443,region=XX,vip=10
is_virtual=true,port=80,region=XX,vip=10

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

2 participants