Skip to content

Using performance’s custom metrics #9687

Answered by AbhiPrasad
present-g asked this question in Q&A
Discussion options

You must be logged in to vote

it would be great to improve types so that this field can be specified only with type: 'transaction'

yeah we need to do some work to improve typing here.

Do I understand correctly that captureEvent is the best way to send several dozen custom metrics at once?

Currently measurements are only supported as being attached to transactions, so Sentry.startTransaction is the recommended API.

We are actively working on supporting flushing metrics directly to Sentry! Please see #9691 and getsentry/sentry#58584, we should have something ready for early next year to test with!

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@present-g
Comment options

@AbhiPrasad
Comment options

@present-g
Comment options

@AbhiPrasad
Comment options

Answer selected by present-g
@present-g
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants