Skip to content

Commit 0b515b3

Browse files
committed
Use github.com/pkcll/prometheus
1 parent d029b91 commit 0b515b3

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ require (
3030
github.com/marcboeker/go-duckdb v1.8.3
3131
github.com/pelletier/go-toml/v2 v2.2.0
3232
github.com/pkcll/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.115.0-promotel-v1.0.0
33+
github.com/pkcll/prometheus v0.54.1-promotel-v1.0.0
3334
github.com/prometheus/client_golang v1.20.5
3435
github.com/prometheus/client_model v0.6.1
3536
github.com/prometheus/common v0.60.1
@@ -279,4 +280,3 @@ require (
279280
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
280281
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
281282
)
282-

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,8 @@ github.com/pierrec/lz4/v4 v4.1.21 h1:yOVMLb6qSIDP67pl/5F7RepeKYu/VmTyEXvuMI5d9mQ
641641
github.com/pierrec/lz4/v4 v4.1.21/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
642642
github.com/pkcll/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.115.0-promotel-v1.0.0 h1:ghQhu2wwJuQrtGTfoNijEG0UejdPzDAGUfpwQUoIbx0=
643643
github.com/pkcll/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.115.0-promotel-v1.0.0/go.mod h1:KFapOsRoV+AZNQGU0PR/9I2uvLY66vlbhVt+Fbol9vo=
644+
github.com/pkcll/prometheus v0.54.1-promotel-v1.0.0 h1:l/D4DS8vkMQ9QQERH/b5wcw3Kydu4rFaghIfy2hGP4s=
645+
github.com/pkcll/prometheus v0.54.1-promotel-v1.0.0/go.mod h1:l2cSWikV7trFiHhYm20COxoV7Ea5YCCs/h+UY00XI7Q=
644646
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ=
645647
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c/go.mod h1:7rwL4CYBLnjLxUqIJNnCWiEdr3bn6IUYi15bNlnbCCU=
646648
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=

pkg/promotel/promotel_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import (
99
"testing"
1010
"time"
1111

12+
"github.com/pkcll/prometheus/scrape"
1213
"github.com/prometheus/client_golang/prometheus"
1314
"github.com/prometheus/prometheus/model/exemplar"
1415
"github.com/prometheus/prometheus/model/histogram"
1516
"github.com/prometheus/prometheus/model/labels"
1617
"github.com/prometheus/prometheus/model/metadata"
17-
"github.com/prometheus/prometheus/scrape"
1818
"github.com/prometheus/prometheus/storage"
1919
"github.com/stretchr/testify/require"
2020
)

0 commit comments

Comments
 (0)