apache / apache/hertzbeat

[Question] why in MetricsDataController injection is a collection of stores instead of a single store instance?

Open
#1,933 3 comments 0 reactions 1 assignee Claimed by @xuziyang View on GitHub
question
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Question

![image](https://github.com/apache/hertzbeat/assets/8465969/d0943b52-968e-4986-84be-4e9b7d67bfa4)

Since only one realtimeDataStore and one historyDataStore can be configured, why in MetricsDataController injection is a collection of stores instead of a single store instance.

I think it's better to inject a single instance. If the community agrees, you can assign this task to me. @tomsun28

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.