PropagationDelayTrackerConfig configures the propagation delay tracker.
| 27 | |
| 28 | // PropagationDelayTrackerConfig configures the propagation delay tracker. |
| 29 | type PropagationDelayTrackerConfig struct { |
| 30 | Enabled bool `yaml:"enabled" category:"experimental"` |
| 31 | BeaconInterval time.Duration `yaml:"beacon_interval" category:"experimental"` |
| 32 | BeaconLifetime time.Duration `yaml:"beacon_lifetime" category:"experimental"` |
| 33 | LogBeaconsLatencyLongerThan time.Duration `yaml:"log_beacons_latency_longer_than" category:"experimental"` |
| 34 | } |
| 35 | |
| 36 | // RegisterFlags registers flags with default names. |
| 37 | func (cfg *PropagationDelayTrackerConfig) RegisterFlags(f *flag.FlagSet) { |
nothing calls this directly
no outgoing calls
no test coverage detected