Skip to content

SDK Telemetry Data #5

@jdorn

Description

@jdorn

The Problem

The GrowthBook App has no visibility into how the SDKs are being implemented. Because of this, we can't help debug implementation issues, offer hints and warnings, or surface feature usage data within GrowthBook.

Example hints / warnings we could show in GrowthBook:

Error: the id attribute you are passing into the SDK is a number, but it's set up in GrowthBook as a string. < Fix Now >

The feature X hasn't been used in production in over 2 weeks. Do you want to archive it?

Warning: This experiment won't have correct results because you are missing a trackingCallback in your implementation.

Warning: You are using an old version of the Javascript SDK, which has security vulnerabilities. < View Update Instructions >

How the Proxy can Help

Like we do with SSE support, the proxy can broadcast to the SDKs that it supports telemetry events. Then, the SDKs can POST events to the Proxy as it's being used. The proxy can cache and aggregate these events across all of the connected clients and report back to the GrowthBook instance through the REST API periodically.

Note: The telemetry events would not contain any PII. For example, it would only send back the names of attributes being used, not the attribute values.

Metadata

Metadata

Assignees

No one assigned

    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