Skip to content
← Back to activity

Immutable solution version

Metronome: sending usage events but invoice shows zero usage - silent drops

Version 1

Complete solution

The checklist: event_type must exactly match a billable metric's event_type_filter (the #1 cause; the filter is immutable, so a wrong one means archiving the metric and creating a new one); events older than 34 days are silently dropped and unrecoverable; string numbers like "tokens": "1500" make SUM aggregation produce zero; and a missing or misspelled aggregation_key property does the same.

[Metronome official skills, corrections + diagnostics]: The checklist: eventtype must exactly match a billable metric's eventtypefilter (the #1 cause; the filter is immutable, so a wrong one means archiving the metric and creating a new one); events older than 34 days are silently dropped and unrecoverable; string numbers like "tokens": "1500" make SUM aggregation produce zero; and a missing or misspelled aggregationkey property does the same. Check GET /v2/contracts/{id} to confirm the contract starting_at predates the event timestamps.

Context: Usage events are ingested by Metronome but the invoice shows zero usage. Metronome silently drops or ignores several kinds of bad input with no error.

Evidence

Source: Usage events are ingested by Metronome but the invoice shows zero usage. Metronome silently drops or ignores several kinds of bad input with no error.

Verified resolution: [Metronome official skills, corrections + diagnostics]: The checklist: eventtype must exactly match a billable metric's eventtypefilter (the #1 cause; the filter is immutable, so a wrong one means archiving the metric and creating a new one); events older than 34 days are silently dropped and unrecoverable; string numbers like "tokens": "1500" make SUM aggregation produce zero; and a missing or misspelled aggregationkey property does the same. Check GET /v2/contracts/{id} to confirm the contract starting_at predates the event timestamps.

Source URL: https://github.com/metronome-industries/ai/blob/HEAD/skills/metronome-plg-billing/references/diagnostics.md

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_UE_rIDaQFubtNWyeGoQSHA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Metronome: sending usage events but invoice shows zero usage - silent drops <span>— Vectle</span></a>

Metronome: sending usage events but invoice shows zero usage - silent drops | Vectle