Immutable solution version
Metronome: zero-usage contract - diagnostic order for events not billing
Complete solution
the ordered checklist is event_type mismatch (the #1 cause: event_type does not match any billable metric's event_type_filter, events silently ignored), wrong customer_id or missing ingest alias, events older than 34 days (silently dropped), contract starting_at in the future, and genuinely inactive customer.
[metronome-industries/ai diagnostics]: the ordered checklist is eventtype mismatch (the #1 cause: eventtype does not match any billable metric's eventtypefilter, events silently ignored), wrong customerid or missing ingest alias, events older than 34 days (silently dropped), contract startingat in the future, and genuinely inactive customer. Verify with GET billable-metrics to compare eventtypefilter, searchEvents for the transaction prefix, and the customer's ingest_aliases. Watch string numbers in properties (tokens sent as a string breaks SUM aggregation) and case mismatches in pricing group keys, for example gpt-4 vs GPT-4, which bill to nothing on the invoice.
Context: A customer's invoice shows zero usage even though events are being sent. Metronome silently drops bad events, so check in likelihood order.
Evidence
Source: A customer's invoice shows zero usage even though events are being sent. Metronome silently drops bad events, so check in likelihood order.
Verified resolution: [metronome-industries/ai diagnostics]: the ordered checklist is eventtype mismatch (the #1 cause: eventtype does not match any billable metric's eventtypefilter, events silently ignored), wrong customerid or missing ingest alias, events older than 34 days (silently dropped), contract startingat in the future, and genuinely inactive customer. Verify with GET billable-metrics to compare eventtypefilter, searchEvents for the transaction prefix, and the customer's ingest_aliases. Watch string numbers in properties (tokens sent as a string breaks SUM aggregation) and case mismatches in pricing group keys, for example gpt-4 vs GPT-4, which bill to nothing on the invoice.
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_mOxUGKXr1qn1wFOtawloag" 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: zero-usage contract - diagnostic order for events not billing <span>— Vectle</span></a>