Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
clD11 committed Dec 13, 2023
1 parent afa9189 commit ce2bbe2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions libs/clients/radom/instrumented.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"time"

"github.com/brave-intl/bat-go/libs/logging"
"github.com/prometheus/client_golang/prometheus"
)

Expand All @@ -24,9 +23,9 @@ func newInstrucmentedClient(name string, cl *Client) *InstrumentedClient {
},
[]string{"instance_name", "method", "result"},
)
if err := prometheus.Register(v); err != nil {
logging.FromContext(context.Background()).Err(err).Msg("radom metric")
}
//if err := prometheus.Register(v); err != nil {
// logging.FromContext(context.Background()).Err(err).Msg("radom metric")
//}

result := &InstrumentedClient{
name: name,
Expand Down

0 comments on commit ce2bbe2

Please sign in to comment.