Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support data source with influxDB protocol #119

Open
yufeiyu opened this issue Jan 26, 2022 · 2 comments
Open

Support data source with influxDB protocol #119

yufeiyu opened this issue Jan 26, 2022 · 2 comments
Assignees
Milestone

Comments

@yufeiyu
Copy link
Contributor

yufeiyu commented Jan 26, 2022

No description provided.

@yufeiyu yufeiyu self-assigned this Jan 26, 2022
@yufeiyu yufeiyu added this to the 0.2.0 milestone Jan 26, 2022
@qmhu qmhu modified the milestones: 0.2.0, 0.3.0 Feb 15, 2022
@Belyenochi
Copy link

if no one else, pls assigned to me.

@yufeiyu yufeiyu assigned Belyenochi and unassigned yufeiyu and Belyenochi Feb 23, 2022
@Belyenochi
Copy link

Belyenochi commented Feb 23, 2022

hi @yufeiyu, I observed that we now support two data sources, Prom and Mock. Do we want to support obtaining data from data sources that conform to the InfluxDB protocol (so that we can directly use the abstraction of the influxDB protocol and no longer need DataSourcePromConfig).
now:

// DataSource is the datasource of the predictor, such as prometheus, nodelocal, etc.
DataSource string
// DataSourcePromConfig is the prometheus datasource config
DataSourcePromConfig providers.PromConfig
// DataSourceMockConfig is the mock data provider
DataSourceMockConfig providers.MockConfig

after:

// DataSource is the datasource of the predictor, such as prometheus, nodelocal, etc.
DataSource string
// DataSourceInfluxDBConfig is the prometheus datasource config
DataSourceInfluxDBConfig providers.InfluxDBConfig
// DataSourceMockConfig is the mock data provider
DataSourceMockConfig providers.MockConfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

3 participants