I cannot figure this out for the life of me all of the sudden one of my queries started returning seemingly random results
select count(*) as ct from batch_service.batch_record_status_history where batch_record_status in ('ERROR','PENDING_RETRY') AND entered_at >= current_timestamp - interval '1 minutes';
Query consistenly returns 0 when I check it . but prometheus-sql is returning
HELP query_result_batch_record_error Result of an SQL query
# TYPE query_result_batch_record_error gauge
query_result_batch_record_error 7660
I cannot figure this out for the life of me all of the sudden one of my queries started returning seemingly random results
Query consistenly returns 0 when I check it . but prometheus-sql is returning