Skip to content
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

Merged
merged 6 commits into from
Sep 21, 2023
Merged

Conversation

CommanderStorm
Copy link
Member

This PR migrates our metrics system from influx to prometheus.

log.WithError(err).Error("Could not send background notification")
return ErrCouldNotSendNotification
}

influx.LogIOSBackgroundRequest(deviceID, campusRequestToken.RequestType, res.Reason)
Copy link
Member Author

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)
Copy link
Member Author

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?)

@CommanderStorm CommanderStorm force-pushed the feature/prometeus-based-metrics branch from ba8ae11 to fdd8624 Compare September 20, 2023 22:13
@CommanderStorm CommanderStorm enabled auto-merge (squash) September 21, 2023 19:36
@CommanderStorm CommanderStorm merged commit 608c390 into main Sep 21, 2023
3 checks passed
@CommanderStorm CommanderStorm deleted the feature/prometeus-based-metrics branch September 21, 2023 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant