Skip to content

Commit

Permalink
move all telemetry to prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
adklempner committed Jan 1, 2025
1 parent 54a5313 commit 840f7ec
Show file tree
Hide file tree
Showing 5 changed files with 481 additions and 1,262 deletions.
6 changes: 4 additions & 2 deletions protocol/messenger.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,11 +528,13 @@ func NewMessenger(
options := []telemetry.TelemetryClientOption{
telemetry.WithPeerID(peerId.String()),
}
telemetryClient = telemetry.NewClient(logger, c.telemetryServerURL, c.account.KeyUID, nodeName, version, options...)
telemetryClient, err = telemetry.NewClient(logger, c.telemetryServerURL, c.account.KeyUID, nodeName, options...)
if err != nil {
return nil, err
}
if c.wakuService != nil {
c.wakuService.SetStatusTelemetryClient(telemetryClient)
}
telemetryClient.Start(ctx)
}

messenger = &Messenger{
Expand Down
Loading

0 comments on commit 840f7ec

Please sign in to comment.