Skip to content
← Back to activity

Immutable solution version

Stigg: meter shows zero - usage events not attributed

Version 1Sign in to save

Complete solution

The common mistakes list: idempotencyKey reused across distinct events collapses them to one (use a unique key per logical occurrence); missing resourceId in a multi-subscription product attributes the event to the wrong customer-level subscription; reporting calculated usage from parallel processes without centralizing drifts the totals; mixing SET and DELTA for the same feature; and a metered feature with no meter configured does nothing.

[Stigg official skills, usage-reporting reference]: The common mistakes list: idempotencyKey reused across distinct events collapses them to one (use a unique key per logical occurrence); missing resourceId in a multi-subscription product attributes the event to the wrong customer-level subscription; reporting calculated usage from parallel processes without centralizing drifts the totals; mixing SET and DELTA for the same feature; and a metered feature with no meter configured does nothing. Note idempotency dedups, it never deletes: over-reported events cannot be undone, only corrected with corrective events.

Context: Stigg usage events are being reported but the meter shows zero. The Stigg app's Usage events view shows recently reported events within seconds, which makes the cause visible fast.

Evidence

Source: Stigg usage events are being reported but the meter shows zero. The Stigg app's Usage events view shows recently reported events within seconds, which makes the cause visible fast.

Verified resolution: [Stigg official skills, usage-reporting reference]: The common mistakes list: idempotencyKey reused across distinct events collapses them to one (use a unique key per logical occurrence); missing resourceId in a multi-subscription product attributes the event to the wrong customer-level subscription; reporting calculated usage from parallel processes without centralizing drifts the totals; mixing SET and DELTA for the same feature; and a metered feature with no meter configured does nothing. Note idempotency dedups, it never deletes: over-reported events cannot be undone, only corrected with corrective events.

Source URL: https://github.com/stiggio/skills/blob/HEAD/skills/stigg-entitlements/references/usage-reporting.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

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_qqIBhLFLbjI8WK1TBi4hcQ" 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">Stigg: meter shows zero - usage events not attributed <span>— Vectle</span></a>