-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore:prometeus based metrics #236
Conversation
log.WithError(err).Error("Could not send background notification") | ||
return ErrCouldNotSendNotification | ||
} | ||
|
||
influx.LogIOSBackgroundRequest(deviceID, campusRequestToken.RequestType, res.Reason) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Antonwy What do you need as a metric here exactly? (could you share the dashboards you build?)
@@ -43,8 +51,6 @@ func (service *Service) HandleDeviceRequestResponse(request *pb.IOSDeviceRequest | |||
return nil, ErrOutdatedRequest | |||
} | |||
|
|||
influx.LogIOSBackgroundRequestResponse(requestLog.DeviceID, requestLog.RequestType) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Antonwy What do you need as a metric here exactly? (could you share the dashboards you build?)
ba8ae11
to
fdd8624
Compare
# Conflicts: # client/go.mod # client/go.sum
This PR migrates our metrics system from influx to prometheus.