alibaba / ilogtail

Fast and Lightweight Observability Data Collector
https://ilogtail.gitbook.io/ilogtail-docs
Apache License 2.0
1.74k stars 387 forks source link

feat: provider APIs return multi remote config providers #1708

Closed shunjiazhu closed 1 month ago

shunjiazhu commented 2 months ago

通过 provider 模块,可以替换一些外部实现,当前主要为 config provider 和 profile sender。

// It currently returns a list of two providers: LegacyCommonConfigProvider and CommonConfigProvider.
std::vector<ConfigProvider*> GetRemoteConfigProviders();

// GetProfileSender returns the ProfileSender instance.
ProfileSender* GetProfileSender();

用法: cmake -DPROVIDER_PATH=../../../core_extensions/provider ..