Skip to content

(DOCS) Document Custom Performance Metrics #5257

Closed
@smeubank

Description

@smeubank

Intro:

Developers wishing to collect custom performance metrics,
will need some documentation explaining how to use it and some example implementation,
so that they can send these metrics to Sentry and visualize them in product

Checklist:

  • start with JS browser setMeasurements
  • intro
    • what is it, and what is it not?
    • differentiate between built-in measurements and custom measurements
  • how does it work - high level - set (singular, plural, types etc) and attach to transaction
    • public setMeasurement(name: string, value: number, unit: MeasurementUnit = ''): void { this._measurements[name] = { value, unit };
  • how to use it
  • example snippets
  • ensure we cover the boundaries in which they can collect custom metrics
  • ideally reference product docs for DnD features where developers could visualize these docs

Related:

follow up

  • needs developer docs
  • platforms where it is not supported?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions