Skip to content

Commit 4fbbdf4

Browse files
Update go.mod: move otlptranslator to direct dependency
Run go mod tidy to properly declare github.com/prometheus/otlptranslator as a direct dependency since we now use it directly in prometheus_exporter.go with WithTranslationStrategy(). Co-authored-by: MartinForReal <[email protected]>
1 parent a904d7d commit 4fbbdf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ require (
1313
github.com/prometheus/client_golang v1.23.2
1414
github.com/prometheus/client_model v0.6.2
1515
github.com/prometheus/common v0.67.4
16+
github.com/prometheus/otlptranslator v0.0.2
1617
github.com/prometheus/procfs v0.19.2
1718
github.com/shirou/gopsutil/v4 v4.25.11
1819
github.com/spf13/pflag v1.0.10
@@ -64,7 +65,6 @@ require (
6465
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
6566
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
6667
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
67-
github.com/prometheus/otlptranslator v0.0.2 // indirect
6868
github.com/tklauser/go-sysconf v0.3.16 // indirect
6969
github.com/tklauser/numcpus v0.11.0 // indirect
7070
github.com/x448/float16 v0.8.4 // indirect

0 commit comments

Comments
 (0)