Add payload for Tracking failed Service Pings for self-managed instances
What does this MR do and why?
This MR adds some basic metadata to Serivice Ping payload.
This is the first iteration, adds the following:
{
meta: {
generation: {
status: string,
duration: number
}
}
}
How to set up and validate locally
- Set up a license for the development, we can ask for a license using an AR I have a license with customer service enabled.
- start rails console
GITLAB_LICENSE_MODE=test rails c
- Generate a service ping
ServicePing::SubmitService.new.execute
- Check the meta field.
RawUsageData.last.payload['meta']
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #345389 (closed)
Edited by Niko Belokolodov