This repository was archived by the owner on Apr 2, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ require (
7
7
github.com/OneOfOne/xxhash v1.2.5 // indirect
8
8
github.com/allegro/bigcache v1.2.1
9
9
github.com/docker/go-connections v0.4.0
10
+ github.com/edsrzf/mmap-go v1.0.0
10
11
github.com/go-kit/kit v0.10.0
11
12
github.com/gogo/protobuf v1.3.1
12
13
github.com/golang-migrate/migrate/v4 v4.9.1
@@ -18,6 +19,7 @@ require (
18
19
github.com/jackc/pgtype v1.2.0
19
20
github.com/jackc/pgx/v4 v4.4.1
20
21
github.com/jamiealquiza/envy v1.1.0
22
+ github.com/opentracing/opentracing-go v1.1.0
21
23
github.com/pkg/errors v0.9.1
22
24
github.com/prometheus/client_golang v1.5.1
23
25
github.com/prometheus/client_model v0.2.0
@@ -27,6 +29,7 @@ require (
27
29
github.com/testcontainers/testcontainers-go v0.5.1
28
30
google.golang.org/genproto v0.0.0-20200420144010-e5e8543f8aeb
29
31
google.golang.org/grpc v1.29.0
32
+ github.com/uber/jaeger-client-go v2.23.0+incompatible
30
33
)
31
34
32
35
replace github.com/jackc/pgconn => github.com/JLockerman/pgconn v1.5.3-0.20200513205926-64cd2ce264ca
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ import (
12
12
"github.com/NYTimes/gziphandler"
13
13
"github.com/pkg/errors"
14
14
"github.com/prometheus/common/model"
15
- "github.com/prometheus/prometheus/promql"
16
15
"github.com/prometheus/prometheus/promql/parser"
17
16
"github.com/timescale/timescale-prometheus/pkg/log"
17
+ "github.com/timescale/timescale-prometheus/pkg/promql"
18
18
"github.com/timescale/timescale-prometheus/pkg/query"
19
19
)
20
20
Original file line number Diff line number Diff line change 6
6
7
7
"github.com/NYTimes/gziphandler"
8
8
"github.com/pkg/errors"
9
- "github.com/prometheus/prometheus/promql"
10
9
"github.com/timescale/timescale-prometheus/pkg/log"
10
+ "github.com/timescale/timescale-prometheus/pkg/promql"
11
11
"github.com/timescale/timescale-prometheus/pkg/query"
12
12
)
13
13
Original file line number Diff line number Diff line change 1
1
package query
2
2
3
3
import (
4
- "github.com/go-kit/kit/log"
5
- "github.com/prometheus/client_golang/prometheus"
6
- "github.com/prometheus/prometheus/promql"
7
4
"math"
8
5
"time"
6
+
7
+ "github.com/go-kit/kit/log"
8
+ "github.com/prometheus/client_golang/prometheus"
9
+ "github.com/timescale/timescale-prometheus/pkg/promql"
9
10
)
10
11
11
12
func NewEngine (logger log.Logger , queryTimeout time.Duration ) * promql.Engine {
You can’t perform that action at this time.
0 commit comments