Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDataSource ¶
func NewDataSource(opts ...Option) (agent.Datasource, error)
Types ¶
type Option ¶
type Option func(*datasourceBuilder)
func WithCategory ¶ added in v0.0.18
func WithCategory(category agent.DatasourceCategory) Option
WithCategory 配置数据源类型
func WithPrometheusConfig ¶
WithPrometheusConfig prometheus配置
Click to show internal directories.
Click to hide internal directories.