alibaba / nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
https://nacos.io
Apache License 2.0
29.94k stars 12.78k forks source link

[Summer 2023] 客户端可观测性指标建设 / Add new client metrics observability. #10377

Open KomachiSion opened 1 year ago

KomachiSion commented 1 year ago

开源之夏是由中科院软件所“开源软件供应链点亮计划”发起并长期支持的一项暑期开源活动,旨在鼓励在校学生积极参与开源软件的开发维护,培养和发掘更多优秀的开发者,促进优秀开源软件社区的蓬勃发展,助力开源软件供应链建设。

Nacos将会作为指导组织参加本次的“开源之夏2023”

背景

去年的编程之夏中,Nacos社区重新为Nacos服务端演进了可观测体系,提升了Nacos服务端测的可观测性;而客户端测的可观测能力一直相对缺失。

同时随着云原生和分布式微服务应用越来越多,客户端由于更贴近用户,可观测能力显得更加重要;业内也逐渐退出如opentelemetry的观测性标准。

因此,Nacos社区希望能在nacos-client中添加和演进对应的可观察能力,接入新的opentelemetry的观测性标准,提供metrics或trace的能力,帮助用户发现和定位问题。

目标

在nacos-client中通过mircometer先添加部分关键指标和监控内容;同时接入opentelemetry的观测性标准,支持透出关键指标,并尝试探索服务和配置的注册、订阅的追踪能力。

难度

基础

导师

袁赓拓 gengtuo.ygt@alibaba-inc.com

产出要求

能力要求


Open Source Promotion Plan is a summer program organized by the Institute of Software Chinese Academy of Sciences and long-term supported by the Open Source Software Supply Chain Promotion Plan. It aims to encourage college students to actively participate in the maintenance and development of open source software, promote the vigorous development of open source software communities, and build the open source software supply chain together.

Nacos will join The Summer 2023 as the mentoring organization.

Background

In last year's Summer OSPP, the Nacos community evolved the observability system for the Nacos server, improving the observability of the Nacos server, while the observability of the Nacos client has been relatively lacking.

At the same time, with the increasing popularity of cloud-native and distributed microservice applications, observability capabilities for the client are becoming increasingly important due to its proximity to the user. The industry has also gradually introduced observability standards such as opentelemetry.

Therefore, the Nacos community hopes to add and evolve the corresponding observability capabilities in nacos-client, integrate with the new opentelemetry observability standard, and provide the ability to discover and locate issues through metrics or trace.

Target

Add some key metrics and monitoring content for nacos-client through mircometer, and integrate with the opentelemetry observability standard to support the transparency of key metrics, and explore the tracing capabilities of service and configuration registration and subscription.

Difficulty

Basic

Mentor

GengTuo Yuan gengtuo.ygt@alibaba-inc.com

Output Requirements

Technical Requirements

FAWC438 commented 1 year ago

你好,我有意愿参加 OSPP 2023。我有一些 OpenTelemetry 和 Apache Skywalking 的可观测性相关经验并且对这个 idea 感兴趣。您提到了 Nacos 服务端已经实现了可观测性的提升,我想知道是否有相关的 文档/PR/issue 对此进行说明?我希望通过一些调研来进一步完善我的项目申请提案。

pixystone commented 1 year ago

Server端相关可以参考 #8461