mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 15:36:48 +00:00
19 lines
322 B
Go
19 lines
322 B
Go
|
|
package licensing
|
||
|
|
|
||
|
|
import (
|
||
|
|
"time"
|
||
|
|
|
||
|
|
"github.com/SigNoz/signoz/pkg/factory"
|
||
|
|
)
|
||
|
|
|
||
|
|
var _ factory.Config = (*Config)(nil)
|
||
|
|
|
||
|
|
type Config struct {
|
||
|
|
PollInterval time.Duration `mapstructure:"poll_interval"`
|
||
|
|
FailureThreshold int `mapstructure:"failure_threshold"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (c Config) Validate() error {
|
||
|
|
return nil
|
||
|
|
}
|