我可以用这个创建一棵树:
http://localhost:4242/api/tree?name=GraphiteTree&method_override=post
我可以根据指标创建规则:
http://localhost:4242/api/tree/rule?treeid=1&level=0&order=0&type=METRIC&separator=\.&method_override=post
我真的需要结合标签和度量类型在 opentsdb 中创建一个基于规则的树。我的数据如下所示:
我在 opentsdb 中的数据如下所示:
pcpu 1356998400 42.5 host=web1.example.com
used_memory 1356998400 60 host=web1.example.com
pcpu 1356998400 10 vGuest=guest1.example.com
used_memory 1356998400 60 vGuest=guest1.example.com
disk_capacity 1356998400 42.5 disk=nas1.example.com
used_disk 1356998400 42.5 disk=nas1.example.com
似乎没有很多关于此的文档。我希望有人做过这样的事情。如上所示,我将如何为标签和指标组合创建规则?