Introduce updstream TS pull

This commit is contained in:
2025-12-21 06:34:17 +01:00
parent 1cd4a57bd3
commit 5a65044caf
5 changed files with 257 additions and 3 deletions

View File

@@ -34,6 +34,8 @@ type CronFrequency struct {
DurationWorker string `json:"duration-worker"`
// Metric-Footprint Update Worker [Defaults to '10m']
FootprintWorker string `json:"footprint-worker"`
// Metric Pull Worker [Defaults to '60s']
MetricPullWorker string `json:"metric-pull-worker"`
}
var (
@@ -117,6 +119,7 @@ func Start(cronCfg, archiveConfig json.RawMessage) {
RegisterFootprintWorker()
RegisterUpdateDurationWorker()
RegisterCommitJobService()
RegisterMetricPullWorker()
s.Start()
}