Filter `license_scanning_jobs` out of Service Ping payload
What does this MR do and why?
counts.license_scanning_jobs
should not be included in Service Ping.
The metric was renamed with d0362748 and d4ea1e41
The removal of the metric was changed here !72083 (merged)
With this MR we revert this pat from !72083 (merged)
#in rails console
# 1 stub License.current method
class License
def self.current
nil
end
end
# 2 collect payload
payload = ServicePing::BuildPayloadService.new.execute
# 3 check that unwanted key is present
payload[:counts].key? :license_scanning_jobs
Screenshots or screen recordings
#in rails console
# 1 stub License.current method
class License
def self.current
nil
end
end
# 2 collect payload
payload = ServicePing::BuildPayloadService.new.execute
# 3 check that unwanted key is present
payload[:counts].key? :license_scanning_jobs
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
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 #347309 (closed)
Edited by Alina Mihaila