alibaba / alibaba/Sentinel

Can MetricWriter and MetricReader be abstracted into interfaces and support SPI extensions?

Open
#468 2 comments 0 reactions 0 assignees View on GitHub
area/metrics kind/feature
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

## Issue Description

Type: *feature request*

### Describe what feature you want

MetricWriter ,MetricReader,MetricsReader 这三个抽象成接口,支持SPI扩展,方便用户自定义扩展存储方式。

Make MetricWriter, MetricReader and MetricsSearcher SPI extension interfaces so that users can implement their own metrics storage.

Contributor guide

Open the contributing guide

Research direction

Start by locating MetricWriter, MetricReader, and MetricsSearcher in the Java source and inspect how metrics storage is currently connected. Clarify the MetricsReader/MetricsSearcher naming discrepancy, then determine the SPI extension boundary; done means users can implement custom metrics storage through the requested interfaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.