Skip to content

Support sampling in replay instrumentation #1797

@Blinkuu

Description

@Blinkuu

Description

The experimental @grafana/faro-instrumentation-replay currently does not support any form of sampling. When this new instrumentation is enabled, it will always emit events via the Events API, regardless of whether session itself was sampled.

Proposed solution

We would like @grafana/faro-instrumentation-replay to:

  1. Integrate with the session sampling. We only start recording if the associated session was sampled.
  2. Add sampling option to the replay instrumentation that works "on top of" the session sampling, allowing greater granularity.

Context

N/A

Metadata

Metadata

Assignees

Labels

featureRequest a new feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions