Sentinel icon indicating copy to clipboard operation
Sentinel copied to clipboard

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

Open kangyl opened this issue 7 years ago • 2 comments

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.

kangyl avatar Jan 28 '19 02:01 kangyl

Hi @kangyl, we detect non-English characters in the issue. This comment is an auto translation from @sentinel-bot to help other users to understand this issue. We encourage you to describe your issue in English which is more friendly to other users.

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

Issue Description

MetricWriter, MetricReader, MetricsReader These three abstract interfaces, support SPI extension, convenient user-defined extended storage Type: bug report or feature request feature request

Describe what happened (or what feature you want)

none

Describe what you expected to happen

none

How to reproduce it (as minimally and precisely as possible)

none

Tell us your environment

none

Anything else we need to know?

none

sentinel-bot avatar Jan 28 '19 02:01 sentinel-bot

Hi, we're planning to do this, but the first thing is to diversify and standardize Sentinel metrics and monitoring interfaces (see #211). Discussions are welcomed.

BTW, there's already a PR for this: #167 but it lacks some standardization on metrics interface. You can refer to that PR for more information.

sczyh30 avatar Jan 28 '19 04:01 sczyh30