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

chore(llm-monitoring): Extract AI data from data instead of measurements #3630

Merged
merged 3 commits into from
May 22, 2024

Conversation

colin-sentry
Copy link
Member

@colin-sentry colin-sentry commented May 21, 2024

We need to start porting things over to data, since measurements is being deprecated and will be removed from the APIs.

For backcompat, this goes data -> measurement -> metric

@colin-sentry colin-sentry requested a review from a team as a code owner May 21, 2024 16:03
Copy link
Contributor

@phacops phacops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Long term, we only want data to stay. So, I would change the metric to read from data fields and extract measurements to those data fields if need be, otherwise the SDK will start sending them directly and no extraction needed.

Copy link
Member

@iambriccardo iambriccardo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@colin-sentry could you please expand the PR description to include the motivation for this change? Can be a one-liner.

Some(Value::U64(u)) => Some(*u as f64),
_ => None,
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@colin-sentry colin-sentry merged commit b61cba2 into master May 22, 2024
23 checks passed
@colin-sentry colin-sentry deleted the ai_data branch May 22, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants