Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics SDK v0 #9691

Closed
6 of 10 tasks
AbhiPrasad opened this issue Nov 28, 2023 · 2 comments
Closed
6 of 10 tasks

Metrics SDK v0 #9691

AbhiPrasad opened this issue Nov 28, 2023 · 2 comments
Assignees

Comments

@AbhiPrasad
Copy link
Member

AbhiPrasad commented Nov 28, 2023

Problem Statement

Sentry is adding support for metrics! See getsentry/sentry#58584 for more details.

This GH issue tracks the progress for metrics in the SDK

Solution Brainstorm

First less establish the core interfaces that make up the metrics SDK

Core

Preview Give feedback
  1. AbhiPrasad
  2. AbhiPrasad

Then let's build a simple metrics aggregator that is meant to be used in the browser. It does not have any jitter mechanisms via a rollup window because it's meant to be used on the FE - we try to minimize bundle size.

Browser

Preview Give feedback
  1. AbhiPrasad

When this is ready, we can cut a release and test this on the Sentry frontend. Also an opportunity for us to revisits API, and do bundle size optimizations.

After let's create a more complex metrics aggregator that will take into account rollup windows - we can just this for all of our server runtimes.

Server runtime

Preview Give feedback
  1. anonrig

Testing

Preview Give feedback
@AbhiPrasad
Copy link
Member Author

The current plan is for there to be a MetricsAggregator object/class that lives on the client.

The browser will have this as an optional implementation, while it will always be implemented for server runtime client.

@AbhiPrasad
Copy link
Member Author

Given we have #9938 and #9973, closing this issue for v0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant