mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
Remove unused API time dependency injection.
This commit is contained in:
parent
942686427d
commit
c78436d707
@ -21,13 +21,11 @@ import (
|
||||
"github.com/prometheus/prometheus/config"
|
||||
"github.com/prometheus/prometheus/retrieval"
|
||||
"github.com/prometheus/prometheus/storage/local"
|
||||
"github.com/prometheus/prometheus/utility"
|
||||
"github.com/prometheus/prometheus/web/httputils"
|
||||
)
|
||||
|
||||
// MetricsService manages the /api HTTP endpoint.
|
||||
type MetricsService struct {
|
||||
time utility.Time
|
||||
Config *config.Config
|
||||
TargetManager retrieval.TargetManager
|
||||
Storage local.Storage
|
||||
|
Loading…
Reference in New Issue
Block a user