mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Merge pull request #562 from prometheus/beorn7/vendoring
Update vendoring.
This commit is contained in:
commit
db49fd965f
37
Godeps/Godeps.json
generated
37
Godeps/Godeps.json
generated
|
@ -1,7 +1,16 @@
|
||||||
{
|
{
|
||||||
"ImportPath": "github.com/prometheus/prometheus",
|
"ImportPath": "github.com/prometheus/prometheus",
|
||||||
"GoVersion": "go1.4.1",
|
"GoVersion": "go1.4",
|
||||||
"Deps": [
|
"Deps": [
|
||||||
|
{
|
||||||
|
"ImportPath": "bitbucket.org/ww/goautoneg",
|
||||||
|
"Comment": "null-5",
|
||||||
|
"Rev": "75cd24fc2f2c2a2088577d12123ddee5f54e0675"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ImportPath": "github.com/beorn7/perks/quantile",
|
||||||
|
"Rev": "b965b613227fddccbfffe13eae360ed3fa822f8d"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "github.com/golang/glog",
|
"ImportPath": "github.com/golang/glog",
|
||||||
"Rev": "44145f04b68cf362d9c4df2182967c2275eaefed"
|
"Rev": "44145f04b68cf362d9c4df2182967c2275eaefed"
|
||||||
|
@ -18,35 +27,25 @@
|
||||||
"ImportPath": "github.com/miekg/dns",
|
"ImportPath": "github.com/miekg/dns",
|
||||||
"Rev": "b65f52f3f0dd1afa25cbbf63f8e7eb15fb5c0641"
|
"Rev": "b65f52f3f0dd1afa25cbbf63f8e7eb15fb5c0641"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"ImportPath": "github.com/prometheus/client_golang/_vendor/goautoneg",
|
|
||||||
"Comment": "0.2.0",
|
|
||||||
"Rev": "39e4bc83f974fb141a9e67c042b26322bacc917b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/prometheus/client_golang/_vendor/perks/quantile",
|
|
||||||
"Comment": "0.2.0",
|
|
||||||
"Rev": "39e4bc83f974fb141a9e67c042b26322bacc917b"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"ImportPath": "github.com/prometheus/client_golang/extraction",
|
"ImportPath": "github.com/prometheus/client_golang/extraction",
|
||||||
"Comment": "0.2.0",
|
"Comment": "0.2.0-3-ga6c5e0f",
|
||||||
"Rev": "39e4bc83f974fb141a9e67c042b26322bacc917b"
|
"Rev": "a6c5e0f955686b0e7bbfd791edecfc65aa72593a"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "github.com/prometheus/client_golang/model",
|
"ImportPath": "github.com/prometheus/client_golang/model",
|
||||||
"Comment": "0.2.0",
|
"Comment": "0.2.0-3-ga6c5e0f",
|
||||||
"Rev": "39e4bc83f974fb141a9e67c042b26322bacc917b"
|
"Rev": "a6c5e0f955686b0e7bbfd791edecfc65aa72593a"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "github.com/prometheus/client_golang/prometheus",
|
"ImportPath": "github.com/prometheus/client_golang/prometheus",
|
||||||
"Comment": "0.2.0",
|
"Comment": "0.2.0-3-ga6c5e0f",
|
||||||
"Rev": "39e4bc83f974fb141a9e67c042b26322bacc917b"
|
"Rev": "a6c5e0f955686b0e7bbfd791edecfc65aa72593a"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "github.com/prometheus/client_golang/text",
|
"ImportPath": "github.com/prometheus/client_golang/text",
|
||||||
"Comment": "0.2.0",
|
"Comment": "0.2.0-3-ga6c5e0f",
|
||||||
"Rev": "39e4bc83f974fb141a9e67c042b26322bacc917b"
|
"Rev": "a6c5e0f955686b0e7bbfd791edecfc65aa72593a"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "github.com/prometheus/client_model/go",
|
"ImportPath": "github.com/prometheus/client_model/go",
|
||||||
|
|
BIN
Godeps/_workspace/src/github.com/beorn7/perks/quantile/quantile.test
generated
vendored
Normal file
BIN
Godeps/_workspace/src/github.com/beorn7/perks/quantile/quantile.test
generated
vendored
Normal file
Binary file not shown.
1
Godeps/_workspace/src/github.com/prometheus/client_golang/_vendor/goautoneg/MANIFEST
generated
vendored
1
Godeps/_workspace/src/github.com/prometheus/client_golang/_vendor/goautoneg/MANIFEST
generated
vendored
|
@ -1 +0,0 @@
|
||||||
Imported at 75cd24fc2f2c from https://bitbucket.org/ww/goautoneg.
|
|
|
@ -18,11 +18,9 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_model/go"
|
|
||||||
|
|
||||||
"github.com/matttproud/golang_protobuf_extensions/ext"
|
"github.com/matttproud/golang_protobuf_extensions/ext"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
type metricFamilyProcessor struct{}
|
type metricFamilyProcessor struct{}
|
||||||
|
|
|
@ -20,8 +20,6 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/prometheus/prometheus/utility/test"
|
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -47,7 +45,8 @@ func (s *testProcessor001ProcessScenario) test(t testing.TB, set int) {
|
||||||
options := &ProcessOptions{
|
options := &ProcessOptions{
|
||||||
Timestamp: test001Time,
|
Timestamp: test001Time,
|
||||||
}
|
}
|
||||||
if err := Processor001.ProcessSingle(reader, s, options); !test.ErrorEqual(s.err, err) {
|
err = Processor001.ProcessSingle(reader, s, options)
|
||||||
|
if s.err != err && (s.err == nil || err == nil || err.Error() != s.err.Error()) {
|
||||||
t.Fatalf("%d. expected err of %s, got %s", set, s.err, err)
|
t.Fatalf("%d. expected err of %s, got %s", set, s.err, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,6 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/prometheus/prometheus/utility/test"
|
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -50,7 +48,8 @@ func (s *testProcessor002ProcessScenario) test(t testing.TB, set int) {
|
||||||
options := &ProcessOptions{
|
options := &ProcessOptions{
|
||||||
Timestamp: test002Time,
|
Timestamp: test002Time,
|
||||||
}
|
}
|
||||||
if err := Processor002.ProcessSingle(reader, s, options); !test.ErrorEqual(s.err, err) {
|
err = Processor002.ProcessSingle(reader, s, options)
|
||||||
|
if s.err != err && (s.err == nil || err == nil || err.Error() != s.err.Error()) {
|
||||||
t.Fatalf("%d. expected err of %s, got %s", set, s.err, err)
|
t.Fatalf("%d. expected err of %s, got %s", set, s.err, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
3
Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/desc.go
generated
vendored
3
Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/desc.go
generated
vendored
|
@ -11,9 +11,8 @@ import (
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_model/go"
|
|
||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -17,10 +17,8 @@ import (
|
||||||
"runtime"
|
"runtime"
|
||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_model/go"
|
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func NewCallbackMetric(desc *prometheus.Desc, callback func() float64) *CallbackMetric {
|
func NewCallbackMetric(desc *prometheus.Desc, callback func() float64) *CallbackMetric {
|
||||||
|
|
|
@ -21,11 +21,9 @@ import (
|
||||||
"runtime"
|
"runtime"
|
||||||
"sort"
|
"sort"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_model/go"
|
|
||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleGauge() {
|
func ExampleGauge() {
|
||||||
|
|
3
Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/expvar_test.go
generated
vendored
3
Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/expvar_test.go
generated
vendored
|
@ -19,9 +19,8 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_model/go"
|
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleExpvarCollector() {
|
func ExampleExpvarCollector() {
|
||||||
|
|
1
Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/histogram.go
generated
vendored
1
Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/histogram.go
generated
vendored
|
@ -21,7 +21,6 @@ import (
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
dto "github.com/prometheus/client_model/go"
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
6
Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/registry.go
generated
vendored
6
Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/registry.go
generated
vendored
|
@ -33,13 +33,11 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_model/go"
|
"bitbucket.org/ww/goautoneg"
|
||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/_vendor/goautoneg"
|
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
"github.com/prometheus/client_golang/text"
|
"github.com/prometheus/client_golang/text"
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
6
Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/summary.go
generated
vendored
6
Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/summary.go
generated
vendored
|
@ -20,12 +20,10 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/beorn7/perks/quantile"
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_model/go"
|
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/_vendor/perks/quantile"
|
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
// A Summary captures individual observations from an event or sample stream and
|
// A Summary captures individual observations from an event or sample stream and
|
||||||
|
|
3
Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/value.go
generated
vendored
3
Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/value.go
generated
vendored
|
@ -20,9 +20,8 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_model/go"
|
|
||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ValueType is an enumeration of metric types that represent a simple value.
|
// ValueType is an enumeration of metric types that represent a simple value.
|
||||||
|
|
5
Godeps/_workspace/src/github.com/prometheus/client_golang/text/bench_test.go
generated
vendored
5
Godeps/_workspace/src/github.com/prometheus/client_golang/text/bench_test.go
generated
vendored
|
@ -16,12 +16,11 @@ package text
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"compress/gzip"
|
"compress/gzip"
|
||||||
|
"github.com/matttproud/golang_protobuf_extensions/ext"
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"testing"
|
"testing"
|
||||||
dto "github.com/prometheus/client_model/go"
|
|
||||||
|
|
||||||
"github.com/matttproud/golang_protobuf_extensions/ext"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Benchmarks to show how much penalty text format parsing actually inflicts.
|
// Benchmarks to show how much penalty text format parsing actually inflicts.
|
||||||
|
|
3
Godeps/_workspace/src/github.com/prometheus/client_golang/text/parse.go
generated
vendored
3
Godeps/_workspace/src/github.com/prometheus/client_golang/text/parse.go
generated
vendored
|
@ -22,10 +22,9 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_model/go"
|
|
||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
// A stateFn is a function that represents a state in a state machine. By
|
// A stateFn is a function that represents a state in a state machine. By
|
||||||
|
|
1
Godeps/_workspace/src/github.com/prometheus/client_golang/text/proto.go
generated
vendored
1
Godeps/_workspace/src/github.com/prometheus/client_golang/text/proto.go
generated
vendored
|
@ -19,7 +19,6 @@ import (
|
||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
"github.com/matttproud/golang_protobuf_extensions/ext"
|
"github.com/matttproud/golang_protobuf_extensions/ext"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_model/go"
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue