Skip to content

Add projects with status checks to ping

What does this MR do and why?

  • Adds a total count of projects that contain an external status check to the service ping.

## Database review

 Aggregate  (cost=4.79..4.80 rows=1 width=8) (actual time=0.137..0.138 rows=1 loops=1)
   Buffers: shared hit=10
   I/O Timings: read=0.000 write=0.000
   ->  Index Only Scan using idx_on_external_status_checks_project_id_external_url on public.external_status_checks  (cost=0.14..4.55 rows=94 width=8) (actual time=0.015..0.026 rows=94 loops=1)
         Heap Fetches: 0
         Buffers: shared hit=2
         I/O Timings: read=0.000 write=0.000
Time: 0.341 ms  
  - planning: 0.117 ms  
  - execution: 0.224 ms  
    - I/O read: 0.000 ms  
    - I/O write: 0.000 ms  
  
Shared buffers:  
  - hits: 10 (~80.00 KiB) from the buffer pool  
  - reads: 0 from the OS file cache, including disk I/O  
  - dirtied: 0  
  - writes: 0  

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #334967 (closed)

Merge request reports