Skip to content

[percentile/forwarder] use v2 endpoint to forward sketch series#382

Merged
jeerim merged 1 commit intomasterfrom
jeerim/percentile_v2_endpoint
Jul 17, 2017
Merged

[percentile/forwarder] use v2 endpoint to forward sketch series#382
jeerim merged 1 commit intomasterfrom
jeerim/percentile_v2_endpoint

Conversation

@jeerim
Copy link
Copy Markdown
Contributor

@jeerim jeerim commented Jul 14, 2017

What does this PR do?

Uses v2 endpoint to forward sketch series.

Motivation

Using protobuf serialization for sketch payloads for their smaller size.

Additional Notes

I am using the exact same logic as the v1 submission for sketch payloads besides the endpoint and serialization. There's no further compression and the api key is passed in the query string. This will be changed to match the v2 submission of other payloads when they are finalized.

@jeerim jeerim requested a review from olivielpeau July 14, 2017 18:20
@olivielpeau olivielpeau self-assigned this Jul 17, 2017
Copy link
Copy Markdown
Member

@olivielpeau olivielpeau left a comment

Choose a reason for hiding this comment

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

👍 feel free to merge!

Not sure why in general we have SubmitV1, SubmitV2 and Submit methods for each type of payload in the forwarder (we should probably only keep SubmitV1 and SubmitV2), but I can clean that up once I have a better idea of what's happening here.

@jeerim jeerim merged commit 1afcf3b into master Jul 17, 2017
@jeerim jeerim deleted the jeerim/percentile_v2_endpoint branch July 18, 2017 13:25
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