从 Graphite 迁移到图形浏览器

2024-03-09

石墨网络应用程序不鼓励临时绘图。 Graphiti 等人只是花哨的 UI,虽然改进了 UI-UX,但对于困扰 Graphite-Webapp 的固有线性度量搜索没有做太多事情。如果这里错了请纠正我,但是only我遇到的鼓励临时绘图的选项是图形浏览器 http://vimeo.github.io/graph-explorer/。假设 Graph-Explorer 是唯一的出路。

我目前有大约 1000 个不同的指标。按以下方式命名-

stats.beta.pluto.ip-10-0-1-81.helios.pa.v4.reminder.total

stats.beta.pluto.ip-10-0-1-81.helios.pa.v4.reminder.failed

stats.beta.pluto.ip-10-0-1-81.helios.pa.v4.reminder.delivered

stats.dev.ganglia.ip-10-0-3-40.ink.web.pi.notification.android.total stats.dev.ganglia.ip-10-0-3-40.ink.web.pi.notification.android.failed stats.dev.ganglia.ip-10-0-3-40.ink.web.pi.notification.android.delivered

我明白这些将会变成——

metric=stats.env=dev.role=ganglia.server=ip-10-0-3-40. application=ink.endpoint=web.src=pi.metric=notification.what=total

我在哪里插入unit and target_type tags?

同样,我有 500 个计时器。

  1. 如何从“proto1”迁移到“proto2”?

  2. 还有具体在哪里碳标记器 https://github.com/vimeo/carbon-tagger/wiki进入堆栈?

  3. 我是否在源级别重命名我的指标?

  4. 我是否修改structured_metrics/plugins/statsd.py文件,因为我们在分布式基础设施中有固定的层次结构?

  5. 我缺少什么吗?

  6. 我必须在 statsd 中更改哪些内容?我引用碳标记文档-“像 statsd 这样的聚合器将需要 proto2 支持。”


结构化指标插件将为 proto1(“旧式”)指标设置标签,请参阅https://github.com/vimeo/graph-explorer/wiki/Structured-Metrics https://github.com/vimeo/graph-explorer/wiki/Structured-Metrics

如果你想坚持使用 proto1,你只需要创建一个插件来标记你的指标,请参阅https://github.com/vimeo/graph-explorer/wiki/Structured-Metrics#writing-your-own-plugins https://github.com/vimeo/graph-explorer/wiki/Structured-Metrics#writing-your-own-plugins和现有插件的示例

如果你想坚持使用proto1,你基本上可以忽略carbon-tagger,所以不需要3,但除此之外是需要的。 statsd 插件只是将 statsd 的内部指标转换为 proto2。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

从 Graphite 迁移到图形浏览器 的相关文章

随机推荐