mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 06:17:27 -08:00
Remove/replace last references to github.com/matttproud/...
This commit is contained in:
parent
6d7c043b33
commit
06ace4941d
|
@ -21,7 +21,7 @@ action if some condition is observed to be true.
|
|||
4. goprotobuf: the code generator and runtime library: (http://code.google.com/p/goprotobuf/).
|
||||
5. Levigo, a Go-wrapper around LevelDB's C library: (https://github.com/jmhodges/levigo).
|
||||
6. GoRest, a RESTful style web-services framework: (http://code.google.com/p/gorest/).
|
||||
7. Prometheus Client, Prometheus in Prometheus (https://github.com/matttproud/golang_instrumentation).
|
||||
7. Prometheus Client, Prometheus in Prometheus (https://github.com/prometheus/client_golang).
|
||||
8. Snappy, a compression library for LevelDB and Levigo (code.google.com/p/snappy/).
|
||||
|
||||
## Getting started
|
||||
|
|
|
@ -217,12 +217,12 @@ func yylex() int {
|
|||
return 0
|
||||
}
|
||||
var S_TARGETS yystartcondition = 1027
|
||||
var S_GLOBAL_LABELS yystartcondition = 1025
|
||||
var S_JOB yystartcondition = 1026
|
||||
var S_TARGET_LABELS yystartcondition = 1028
|
||||
var S_GLOBAL yystartcondition = 1024
|
||||
var S_GLOBAL_LABELS yystartcondition = 1025
|
||||
var S_COMMENTS yystartcondition = 1029
|
||||
var yystartconditionexclmap = map[yystartcondition]bool{S_COMMENTS: true, S_TARGETS: false, S_GLOBAL_LABELS: false, S_JOB: false, S_TARGET_LABELS: false, S_GLOBAL: false, }
|
||||
var S_TARGET_LABELS yystartcondition = 1028
|
||||
var yystartconditionexclmap = map[yystartcondition]bool{S_GLOBAL: false, S_GLOBAL_LABELS: false, S_COMMENTS: true, S_TARGET_LABELS: false, S_TARGETS: false, S_JOB: false, }
|
||||
var yyrules []yyrule = []yyrule{{regexp.MustCompile("[^\\n]"), nil, []yystartcondition{}, false, func() (yyar yyactionreturn) {
|
||||
defer func() {
|
||||
if r := recover(); r != nil {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
package config
|
||||
|
||||
import "fmt"
|
||||
import "github.com/matttproud/prometheus/model"
|
||||
import "github.com/prometheus/prometheus/model"
|
||||
%}
|
||||
|
||||
%union {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
package config
|
||||
|
||||
import "fmt"
|
||||
import "github.com/matttproud/prometheus/model"
|
||||
import "github.com/prometheus/prometheus/model"
|
||||
|
||||
//line parser.y:21
|
||||
type yySymType struct {
|
||||
|
|
|
@ -39,14 +39,14 @@ brew install leveldb protobuf
|
|||
go get code.google.com/p/goprotobuf/{proto,protoc-gen-go}
|
||||
go get github.com/jmhodges/levigo
|
||||
go get code.google.com/p/gorest
|
||||
go get github.com/matttproud/{prometheus,golang_instrumentation}
|
||||
go get github.com/prometheus/{prometheus,client_golang}
|
||||
```
|
||||
|
||||
|
||||
## Build
|
||||
|
||||
```bash
|
||||
cd ${GOPATH}/src/github.com/matttproud/prometheus
|
||||
cd ${GOPATH}/src/github.com/prometheus/prometheus
|
||||
make build
|
||||
```
|
||||
|
||||
|
|
|
@ -19,9 +19,5 @@ parser.y.go: parser.y
|
|||
lexer.l.go: parser.y.go lexer.l
|
||||
golex lexer.l
|
||||
|
||||
test: all
|
||||
go test -i github.com/matttproud/prometheus/rules
|
||||
go test github.com/matttproud/prometheus/rules
|
||||
|
||||
clean:
|
||||
rm lexer.l.go parser.y.go
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
package rules
|
||||
|
||||
import (
|
||||
"github.com/matttproud/prometheus/model"
|
||||
"github.com/prometheus/prometheus/model"
|
||||
"strconv"
|
||||
)
|
||||
%}
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"sort"
|
||||
)
|
||||
import (
|
||||
"github.com/matttproud/prometheus/model"
|
||||
"github.com/prometheus/prometheus/model"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
package rules
|
||||
|
||||
import "fmt"
|
||||
import "github.com/matttproud/prometheus/model"
|
||||
import "github.com/matttproud/prometheus/rules/ast"
|
||||
import "github.com/prometheus/prometheus/model"
|
||||
import "github.com/prometheus/prometheus/rules/ast"
|
||||
%}
|
||||
|
||||
%union {
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
package rules
|
||||
|
||||
import "fmt"
|
||||
import "github.com/matttproud/prometheus/model"
|
||||
import "github.com/matttproud/prometheus/rules/ast"
|
||||
import "github.com/prometheus/prometheus/model"
|
||||
import "github.com/prometheus/prometheus/rules/ast"
|
||||
|
||||
//line parser.y:22
|
||||
type yySymType struct {
|
||||
|
|
Loading…
Reference in a new issue