You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
No description provided.
The text was updated successfully, but these errors were encountered: