Skip to content

Commit ad14d37

Browse files
chore(metrics): drop the dead billed_teams_count gauge (firecrawl#4011)
The gauge read scard("billed_teams"). That set's feeders were removed (firecrawl#3992) and its drain — the index-worker tally loop — is removed in firecrawl#4010, so the set is permanently empty and the gauge reported a constant 0. Its "billed but not yet tallied" label describes a pipeline that no longer exists (Autumn is the source of truth for credits), so it was misleading. Co-authored-by: firecrawl-spring[bot] <254786068+firecrawl-spring[bot]@users.noreply.github.com> Co-authored-by: micahstairs <micah@sideguide.dev>
1 parent 7044682 commit ad14d37

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

apps/api/src/controllers/v0/admin/metrics.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ concurrency_limit_queue_job_count_total ${totalJobCount}
4141
# TYPE concurrency_limit_queue_team_count gauge
4242
concurrency_limit_queue_team_count ${teamCount}
4343
44-
# HELP billed_teams_count The number of teams that have been billed but not yet tallied
45-
# TYPE billed_teams_count gauge
46-
billed_teams_count ${await getRedisConnection().scard("billed_teams")}
47-
4844
${nuqGetLocalMetrics()}
4945
${semaphoreMetrics}`);
5046
}

0 commit comments

Comments
 (0)