Skip to content

Commit e15a0e9

Browse files
committed
fix tracing
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
1 parent dc853e6 commit e15a0e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
flags "github.com/jessevdk/go-flags"
1919
"github.com/prometheus/client_golang/prometheus/promhttp"
2020
log "github.com/sirupsen/logrus"
21-
"github.com/webdevops/go-common/prometheus/azuretracing"
21+
"github.com/webdevops/go-common/azuresdk/prometheus/tracing"
2222
yaml "gopkg.in/yaml.v3"
2323

2424
auditor "github.com/webdevops/azure-auditor/auditor"
@@ -387,7 +387,7 @@ func startHttpServer() {
387387
func(w http.ResponseWriter, r *http.Request) {
388388
azureAuditor.MetricsLock().RLock()
389389
defer azureAuditor.MetricsLock().RUnlock()
390-
azuretracing.RegisterAzureMetricAutoClean(promhttp.Handler()).ServeHTTP(w, r)
390+
tracing.RegisterAzureMetricAutoClean(promhttp.Handler()).ServeHTTP(w, r)
391391
},
392392
))
393393

0 commit comments

Comments
 (0)