Skip to content

[Bug]: Perps & Predict: missing metrics for gasless #23415

@bschorchit

Description

@bschorchit

Describe the bug

We want more metrics to be able to drill down into any issues that happen with the feature in prod.

This ticket is about Perps and Predict, but we actually want these metrics everywhere. So if we can implement this in a generic way that also benefits Perps and Predict, this is desired.

Here are the new properties to be added to Transaction * events:

gas_insufficient_native_asset:
type: boolean
description: tracks wether the user has sufficient native asset to pay for gas
gas_paid_with:
type: string
description: token symbol used to pay gas with
gas_payment_tokens_available:
type: array
description: list of tokens symbols that user has balance and can choose to pay gas with

Note: the third one is more relevant for transactions overall and not Perps and Predict given we don't give the user the option to select what token to pay with on those.

Expected behavior

No response

Screenshots/Recordings

No response

Steps to reproduce

  1. Do a gasless Perps or Predict deposit, claim or withdraw

Error messages or log output

Detection stage

During release testing

Version

7.61.0

Build number

3184

Build type

None

Device

iphone 11

Operating system

iOS

Additional context

No response

Severity

No response

Metadata

Metadata

Assignees

Labels

needs-triageIssue needs to be triagedregression-RC-7.61.0Regression bug that was found in release candidate (RC) for release 7.61.0release-7.62.0Issue or pull request that will be included in release 7.62.0release-blockerThis bug is blocking the next releaseteam-confirmationsPush issues to confirmations teamtype-bugSomething isn't working

Type

Projects

Status

To be triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions