cloudwego / cloudwego/volo

Internal metrics support.

Open
#249 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.6k
Forks
223
Avg merge
18m
Merged PRs (30d)
1

Description

## Feature Request

### Crates

volo-otel? volo-var?

### Motivation

like bvar in brpc. support export to otel or openmetrics format to prometheus easy.

export runtime metrics, like eventloop delay.

### Proposal

like bvar. write metrics var to thread local storage. and merge all tls on read.

### Alternatives
if not impl it in framework. user may need do it on application layer and hard to monitor runtime metrics. may conflict with volo's better perf. such like some prom client use one instance and need mutex. it may conflict with volo's slogan lock free.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.