Integrate OpenTelemetry/Uptrace to GraphScope FLEX for observability
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 468
- Avg merge
- 29m
- Merged PRs (30d)
- 1
Description
## 描述
作为 GraphScope 的下一代产品,[GraphScope Flex](https://github.com/alibaba/GraphScope/tree/main/flex) 通过 LEGO-like 模块化设计,在保证资源效率和成本效益的同时,为用户提供了不同图计算场景下部署和使用的灵活性。当前,GraphScope FLEX 推出了 在 BI 分析和 [High QPS(每秒查询数)](https://graphscope.io/docs/flex/interactive_intro)场景下的解决方案,用户可通过[交互式方式](https://gsp.vercel.app/instance)完成图数据建模、数据导入、可视化查询等功能。然而,由于缺少资源指标(cpu/memory/disk/network)及服务指标(QPS)的可视化观测,使得用户很难在页面上检测系统的服务状态。因此,为进一步提高产品的易用性,我们计划将 GraphScope Flex 接入 [OpenTelemetry](https://uptrace.dev/opentelemetry/) 和 [Uptrace](https://uptrace.dev/get/get-started.html) 中。
## 项目产出
1. 在 [Coordinator(Python code)](https://github.com/alibaba/GraphScope/tree/main/flex/coordinator) 中通过 OpenTelemetry 收集宿主机 metrics 数据
2. 将 1 中的 metrics 数据接入到 Uptrace 监控系统;可选的能跟随 docker compose 拉起来;
## 有用的链接
- [OpenTelemetry Metric API](https://uptrace.dev/opentelemetry/python-metrics.html)
- Uptrace 是一款开源的 Opentelemetry-based 工具,支持分布式 trace、metrics 和 logging 的可视化展示。可以访问[官方服务](https://app.uptrace.dev/)来初步了解 Uptrace 功能,但本次任务是将收集的数据接入到自己独立部署的 Uptrace 平台中。
Contributor guide
Assessment
This issue has not been assessed yet.