Replace Prometheus with OpenTelemetry (#413)

This commit is contained in:
Nikolay Edigaryev
2026-02-23 19:01:10 +01:00
committed by GitHub
parent bb02c4fd91
commit 3fffe5fb74
7 changed files with 135 additions and 153 deletions
+1 -2
View File
@@ -66,7 +66,6 @@ type Controller struct {
experimentalRPCV2 bool
disableDBCompression bool
pingInterval time.Duration
prometheusMetrics bool
synthetic bool
sshListenAddr string
@@ -133,7 +132,7 @@ func New(opts ...Option) (*Controller, error) {
// Instantiate the scheduler
controller.scheduler, err = scheduler.NewScheduler(store, controller.workerNotifier,
controller.workerOfflineTimeout, controller.prometheusMetrics, controller.logger)
controller.workerOfflineTimeout, controller.logger)
if err != nil {
return nil, err
}