Fix grouping of import blocks

pull/1027/head
Fabian Reinartz 11 years ago
parent 6d0f58dcf3
commit 438e232c9b
  1. 3
      config/config.go
  2. 3
      config/config_test.go
  3. 3
      notification/notification.go
  4. 3
      promql/analyzer.go
  5. 3
      promql/engine.go
  6. 3
      promql/parse.go
  7. 1
      promql/parse_test.go
  8. 3
      retrieval/discovery/consul.go
  9. 3
      retrieval/discovery/dns.go
  10. 3
      retrieval/discovery/file.go
  11. 1
      retrieval/discovery/kubernetes/discovery.go
  12. 3
      retrieval/discovery/serverset.go
  13. 3
      retrieval/targetmanager.go
  14. 3
      rules/manager.go
  15. 3
      storage/local/crashrecovery.go
  16. 1
      storage/local/interface.go
  17. 3
      storage/local/persistence.go
  18. 3
      storage/local/storage.go
  19. 3
      storage/local/storage_test.go
  20. 3
      storage/remote/queue_manager.go
  21. 7
      storage/remote/remote.go
  22. 1
      web/api/legacy/api.go
  23. 3
      web/api/legacy/query.go
  24. 3
      web/api/v1/api.go
  25. 3
      web/api/v1/api_test.go

@ -23,9 +23,8 @@ import (
"strings"
"time"
"gopkg.in/yaml.v2"
"github.com/prometheus/common/model"
"gopkg.in/yaml.v2"
"github.com/prometheus/prometheus/util/strutil"
)

@ -22,9 +22,8 @@ import (
"testing"
"time"
"gopkg.in/yaml.v2"
"github.com/prometheus/common/model"
"gopkg.in/yaml.v2"
)
var expectedConf = &Config{

@ -23,9 +23,8 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/util/httputil"
)

@ -17,9 +17,8 @@ import (
"errors"
"time"
"golang.org/x/net/context"
"github.com/prometheus/common/model"
"golang.org/x/net/context"
"github.com/prometheus/prometheus/storage/local"
)

@ -22,11 +22,10 @@ import (
"strconv"
"time"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"golang.org/x/net/context"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/storage/local"
"github.com/prometheus/prometheus/storage/metric"
"github.com/prometheus/prometheus/util/stats"

@ -20,9 +20,8 @@ import (
"strings"
"time"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/storage/metric"
"github.com/prometheus/prometheus/util/strutil"

@ -22,6 +22,7 @@ import (
"time"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/storage/metric"
)

@ -21,10 +21,9 @@ import (
"sync"
"time"
"github.com/prometheus/log"
consul "github.com/hashicorp/consul/api"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/config"
)

@ -22,9 +22,8 @@ import (
"github.com/miekg/dns"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/config"
)

@ -21,12 +21,11 @@ import (
"strings"
"time"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"gopkg.in/fsnotify.v1"
"gopkg.in/yaml.v2"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/config"
)

@ -27,6 +27,7 @@ import (
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/config"
"github.com/prometheus/prometheus/util/httputil"
"github.com/prometheus/prometheus/util/strutil"

@ -21,11 +21,10 @@ import (
"sync"
"time"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/samuel/go-zookeeper/zk"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/config"
"github.com/prometheus/prometheus/util/strutil"
)

@ -18,9 +18,8 @@ import (
"strings"
"sync"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/config"
"github.com/prometheus/prometheus/retrieval/discovery"

@ -24,9 +24,8 @@ import (
html_template "html/template"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/config"
"github.com/prometheus/prometheus/notification"

@ -21,9 +21,8 @@ import (
"strings"
"sync/atomic"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/storage/local/codable"
"github.com/prometheus/prometheus/storage/local/index"

@ -17,7 +17,6 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/storage/metric"

@ -29,9 +29,8 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/storage/local/codable"
"github.com/prometheus/prometheus/storage/local/index"

@ -21,9 +21,8 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/storage/metric"
)

@ -22,9 +22,8 @@ import (
"testing/quick"
"time"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/storage/metric"
"github.com/prometheus/prometheus/util/testutil"

@ -17,9 +17,8 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
)
const (

@ -16,12 +16,11 @@ package remote
import (
"time"
"github.com/prometheus/prometheus/storage/remote/influxdb"
"github.com/prometheus/prometheus/storage/remote/opentsdb"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/storage/remote/influxdb"
"github.com/prometheus/prometheus/storage/remote/opentsdb"
)
// Storage collects multiple remote storage queues.

@ -17,7 +17,6 @@ import (
"net/http"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/promql"

@ -24,9 +24,8 @@ import (
"strconv"
"time"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/promql"
)

@ -10,9 +10,8 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"golang.org/x/net/context"
"github.com/prometheus/common/model"
"golang.org/x/net/context"
"github.com/prometheus/prometheus/promql"
"github.com/prometheus/prometheus/storage/local"

@ -12,9 +12,8 @@ import (
"testing"
"time"
"golang.org/x/net/context"
"github.com/prometheus/common/model"
"golang.org/x/net/context"
"github.com/prometheus/prometheus/promql"
"github.com/prometheus/prometheus/storage/metric"

Loading…
Cancel
Save