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

Switch timing hints to use fieldLatencies query #22

Merged
merged 1 commit into from
Sep 15, 2021

Conversation

glasser
Copy link
Member

@glasser glasser commented Sep 9, 2021

This query is backed by a more efficient data store than fieldStats. (We plan
to keep old versions of the plugin working by eventually aliasing fieldStats
to fieldLatencies, but fieldLatencies is the more appropriate field to use going
forward.)

┆Issue is synchronized with this Jira Task by Unito

@glasser glasser requested a review from jgzuke September 9, 2021 23:41
@glasser
Copy link
Member Author

glasser commented Sep 9, 2021

@jgzuke I'd love to get your help to merge this and do a release tomorrow.

Copy link
Contributor

@jgzuke jgzuke left a comment

Choose a reason for hiding this comment

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

Looks good!

const { schemaTags, fieldStats } =
await engineClient.loadSchemaTagsAndFieldStats(serviceID);
const { schemaTags, fieldLatencies } =
await engineClient.loadSchemaTagsAndFieldLatencies(serviceID);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need to update the function being called as well

Copy link
Member Author

Choose a reason for hiding this comment

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

picky, picky.
(forgot to save a file, whoops!)

This query is backed by a more efficient data store than fieldStats. (We plan
to keep old versions of the plugin working by eventually aliasing fieldStats
to fieldLatencies, but fieldLatencies is the more appropriate field to use going
forward.)
@glasser glasser force-pushed the glasser/field-latencies branch from 26bfefe to 7d5bad3 Compare September 9, 2021 23:53
@glasser glasser merged commit 6240846 into main Sep 15, 2021
@glasser glasser deleted the glasser/field-latencies branch September 15, 2021 22:10
glasser added a commit that referenced this pull request Sep 17, 2021
@github-actions github-actions bot mentioned this pull request Oct 16, 2023
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.

2 participants