mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-28 02:42:02 +08:00
13 lines
457 B
Go
13 lines
457 B
Go
package opamp
|
|
|
|
import "github.com/SigNoz/signoz/pkg/query-service/app/opamp/model"
|
|
|
|
// Interface for a source of otel collector config recommendations.
|
|
type AgentConfigProvider interface {
|
|
model.AgentConfigProvider
|
|
|
|
// Subscribe to be notified on changes in config provided by this source.
|
|
// Used for rolling out latest config recommendation to all connected agents when settings change
|
|
SubscribeToConfigUpdates(callback func()) (unsubscribe func())
|
|
}
|