Merge pull request #86 from prometheus/unrewrite-godeps
Use non-rewritten Godep imports.
This commit is contained in:
commit
de5f7a2db9
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"ImportPath": "github.com/prometheus/client_golang",
|
"ImportPath": "github.com/prometheus/client_golang",
|
||||||
"GoVersion": "go1.4.1",
|
"GoVersion": "go1.4.2",
|
||||||
"Packages": [
|
"Packages": [
|
||||||
"./..."
|
"./..."
|
||||||
],
|
],
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/beorn7/perks/quantile"
|
"github.com/beorn7/perks/quantile"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Example_simple() {
|
func Example_simple() {
|
||||||
|
|
|
@ -45,7 +45,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
. "./testdata"
|
. "./testdata"
|
||||||
. "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
. "github.com/golang/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
var globalO *Buffer
|
var globalO *Buffer
|
||||||
|
|
|
@ -34,8 +34,9 @@ package proto_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
pb "./testdata"
|
pb "./testdata"
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var cloneTestMessage = &pb.MyMessage{
|
var cloneTestMessage = &pb.MyMessage{
|
||||||
|
|
|
@ -35,7 +35,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
pb "./testdata"
|
pb "./testdata"
|
||||||
. "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
. "github.com/golang/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Four identical base messages.
|
// Four identical base messages.
|
||||||
|
|
|
@ -35,7 +35,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
pb "./testdata"
|
pb "./testdata"
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestGetExtensionsWithMissingExtensions(t *testing.T) {
|
func TestGetExtensionsWithMissingExtensions(t *testing.T) {
|
||||||
|
|
|
@ -35,7 +35,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
pb "./proto3_proto"
|
pb "./proto3_proto"
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestProto3ZeroValues(t *testing.T) {
|
func TestProto3ZeroValues(t *testing.T) {
|
||||||
|
|
|
@ -37,7 +37,7 @@ import (
|
||||||
|
|
||||||
proto3pb "./proto3_proto"
|
proto3pb "./proto3_proto"
|
||||||
pb "./testdata"
|
pb "./testdata"
|
||||||
. "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
. "github.com/golang/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
var messageWithExtension1 = &pb.MyMessage{Count: Int32(7)}
|
var messageWithExtension1 = &pb.MyMessage{Count: Int32(7)}
|
||||||
|
|
|
@ -37,7 +37,7 @@ It has these top-level messages:
|
||||||
*/
|
*/
|
||||||
package testdata
|
package testdata
|
||||||
|
|
||||||
import proto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
import proto "github.com/golang/protobuf/proto"
|
||||||
import math "math"
|
import math "math"
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|
|
@ -38,7 +38,7 @@ import (
|
||||||
|
|
||||||
proto3pb "./proto3_proto"
|
proto3pb "./proto3_proto"
|
||||||
. "./testdata"
|
. "./testdata"
|
||||||
. "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
. "github.com/golang/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
type UnmarshalTextTest struct {
|
type UnmarshalTextTest struct {
|
||||||
|
|
|
@ -39,9 +39,10 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
proto3pb "./proto3_proto"
|
proto3pb "./proto3_proto"
|
||||||
pb "./testdata"
|
pb "./testdata"
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// textMessage implements the methods that allow it to marshal and unmarshal
|
// textMessage implements the methods that allow it to marshal and unmarshal
|
||||||
|
|
|
@ -21,8 +21,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"testing/quick"
|
"testing/quick"
|
||||||
|
|
||||||
. "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
. "github.com/golang/protobuf/proto"
|
||||||
. "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto/testdata"
|
. "github.com/golang/protobuf/proto/testdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestWriteDelimited(t *testing.T) {
|
func TestWriteDelimited(t *testing.T) {
|
||||||
|
|
2
Godeps/_workspace/src/github.com/matttproud/golang_protobuf_extensions/ext/decode.go
generated
vendored
2
Godeps/_workspace/src/github.com/matttproud/golang_protobuf_extensions/ext/decode.go
generated
vendored
|
@ -19,7 +19,7 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
var errInvalidVarint = errors.New("invalid varint32 encountered")
|
var errInvalidVarint = errors.New("invalid varint32 encountered")
|
||||||
|
|
2
Godeps/_workspace/src/github.com/matttproud/golang_protobuf_extensions/ext/encode.go
generated
vendored
2
Godeps/_workspace/src/github.com/matttproud/golang_protobuf_extensions/ext/encode.go
generated
vendored
|
@ -18,7 +18,7 @@ import (
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
// WriteDelimited encodes and dumps a message to the provided writer prefixed
|
// WriteDelimited encodes and dumps a message to the provided writer prefixed
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
package ext
|
package ext
|
||||||
|
|
||||||
import (
|
import (
|
||||||
. "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
. "github.com/golang/protobuf/proto"
|
||||||
. "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto/testdata"
|
. "github.com/golang/protobuf/proto/testdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
// FROM https://github.com/golang/protobuf/blob/master/proto/all_test.go.
|
// FROM https://github.com/golang/protobuf/blob/master/proto/all_test.go.
|
||||||
|
|
|
@ -22,7 +22,7 @@ It has these top-level messages:
|
||||||
*/
|
*/
|
||||||
package io_prometheus_client
|
package io_prometheus_client
|
||||||
|
|
||||||
import proto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
import proto "github.com/golang/protobuf/proto"
|
||||||
import math "math"
|
import math "math"
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -73,7 +73,7 @@ build: source_path dependencies
|
||||||
$(GO) build ./...
|
$(GO) build ./...
|
||||||
|
|
||||||
dependencies: source_path $(GOCC)
|
dependencies: source_path $(GOCC)
|
||||||
$(GO) get -d -t ./...
|
cp -a $(CURDIR)/Godeps/_workspace/src/* $(GOPATH)/src
|
||||||
|
|
||||||
example_random: source_path dependencies examples/random/main.go
|
example_random: source_path dependencies examples/random/main.go
|
||||||
$(GO) build -o example_random examples/random/main.go
|
$(GO) build -o example_random examples/random/main.go
|
||||||
|
|
|
@ -18,8 +18,10 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/matttproud/golang_protobuf_extensions/ext"
|
dto "github.com/prometheus/client_model/go"
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
|
||||||
|
"github.com/matttproud/golang_protobuf_extensions/ext"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ import (
|
||||||
"math"
|
"math"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestCounterAdd(t *testing.T) {
|
func TestCounterAdd(t *testing.T) {
|
||||||
|
|
|
@ -11,8 +11,9 @@ import (
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
dto "github.com/prometheus/client_model/go"
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
|
||||||
|
"github.com/golang/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -16,8 +16,10 @@ package prometheus_test
|
||||||
import (
|
import (
|
||||||
"runtime"
|
"runtime"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -21,8 +21,10 @@ import (
|
||||||
"runtime"
|
"runtime"
|
||||||
"sort"
|
"sort"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
dto "github.com/prometheus/client_model/go"
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
|
||||||
|
"github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,8 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
dto "github.com/prometheus/client_model/go"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"testing/quick"
|
"testing/quick"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func listenGaugeStream(vals, result chan float64, done chan struct{}) {
|
func listenGaugeStream(vals, result chan float64, done chan struct{}) {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestGoCollector(t *testing.T) {
|
func TestGoCollector(t *testing.T) {
|
||||||
|
|
|
@ -20,9 +20,10 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
// A Histogram counts individual observations from an event or sample stream in
|
// A Histogram counts individual observations from an event or sample stream in
|
||||||
|
|
|
@ -22,7 +22,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"testing/quick"
|
"testing/quick"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func benchmarkHistogramObserve(w int, b *testing.B) {
|
func benchmarkHistogramObserve(w int, b *testing.B) {
|
||||||
|
|
|
@ -19,7 +19,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
type respBody string
|
type respBody string
|
||||||
|
|
|
@ -16,7 +16,7 @@ package prometheus
|
||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
// A Metric models a single sample value with its meta data being exported to
|
// A Metric models a single sample value with its meta data being exported to
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
package prometheus
|
package prometheus
|
||||||
|
|
||||||
import "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/procfs"
|
import "github.com/prometheus/procfs"
|
||||||
|
|
||||||
func processCollectSupported() bool {
|
func processCollectSupported() bool {
|
||||||
if _, err := procfs.NewStat(); err == nil {
|
if _, err := procfs.NewStat(); err == nil {
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"regexp"
|
"regexp"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/procfs"
|
"github.com/prometheus/procfs"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestProcessCollector(t *testing.T) {
|
func TestProcessCollector(t *testing.T) {
|
||||||
|
|
|
@ -33,9 +33,11 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/bitbucket.org/ww/goautoneg"
|
"bitbucket.org/ww/goautoneg"
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
"github.com/prometheus/client_golang/text"
|
"github.com/prometheus/client_golang/text"
|
||||||
)
|
)
|
||||||
|
|
|
@ -25,8 +25,8 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
type fakeResponseWriter struct {
|
type fakeResponseWriter struct {
|
||||||
|
|
|
@ -20,9 +20,11 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/beorn7/perks/quantile"
|
"github.com/beorn7/perks/quantile"
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ import (
|
||||||
"testing/quick"
|
"testing/quick"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func benchmarkSummaryObserve(w int, b *testing.B) {
|
func benchmarkSummaryObserve(w int, b *testing.B) {
|
||||||
|
|
|
@ -20,8 +20,9 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
dto "github.com/prometheus/client_model/go"
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
|
||||||
|
"github.com/golang/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ValueType is an enumeration of metric types that represent a simple value.
|
// ValueType is an enumeration of metric types that represent a simple value.
|
||||||
|
|
|
@ -16,11 +16,12 @@ package text
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"compress/gzip"
|
"compress/gzip"
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/matttproud/golang_protobuf_extensions/ext"
|
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/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.
|
||||||
|
|
|
@ -27,8 +27,8 @@ import (
|
||||||
"math"
|
"math"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
// MetricFamilyToText converts a MetricFamily proto message into text format and
|
// MetricFamilyToText converts a MetricFamily proto message into text format and
|
||||||
|
|
|
@ -19,8 +19,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func testCreate(t testing.TB) {
|
func testCreate(t testing.TB) {
|
||||||
|
|
|
@ -22,8 +22,9 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
dto "github.com/prometheus/client_model/go"
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
|
||||||
|
"github.com/golang/protobuf/proto"
|
||||||
"github.com/prometheus/client_golang/model"
|
"github.com/prometheus/client_golang/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
var parser Parser
|
var parser Parser
|
||||||
|
|
|
@ -17,9 +17,10 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
"github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/matttproud/golang_protobuf_extensions/ext"
|
"github.com/matttproud/golang_protobuf_extensions/ext"
|
||||||
dto "github.com/prometheus/client_golang/Godeps/_workspace/src/github.com/prometheus/client_model/go"
|
|
||||||
|
dto "github.com/prometheus/client_model/go"
|
||||||
)
|
)
|
||||||
|
|
||||||
// WriteProtoDelimited writes the MetricFamily to the writer in delimited
|
// WriteProtoDelimited writes the MetricFamily to the writer in delimited
|
||||||
|
|
Loading…
Reference in New Issue