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

Prepend apiid to path #1918

Closed
wants to merge 2 commits into from
Closed

Prepend apiid to path #1918

wants to merge 2 commits into from

Conversation

joshblakeley
Copy link
Member

@joshblakeley joshblakeley commented Sep 24, 2018

Fixes #860

This make endpoints in aggregate become namespaced by apiid and path so endpoint popularity graphs will be fixed.

i.e. When record has trackPath=true record.path becomes apiid/path

First path element before forward slash will always be apiid in aggregate collections.

@joshblakeley joshblakeley changed the title Prepend APIID to path when tracking endpoint Prepend b64 containing api name and paiid to path when tracking endpoint Oct 26, 2018
@joshblakeley
Copy link
Member Author

joshblakeley commented Oct 29, 2018

@buger confirmed as enough for frontend to have working endpoint popularity functions by @lghiur - can you plz review

@joshblakeley joshblakeley changed the title Prepend b64 containing api name and paiid to path when tracking endpoint Prepend apiid to path Nov 1, 2018
@joshblakeley
Copy link
Member Author

We are back to just apiid again as using api name wouldnt be good due to it being possible to change over time - meaning records could become out of date with old names.

@buger
Copy link
Member

buger commented Nov 10, 2018

@joshblakeley I just realized that probably better place for this code can be actually a Pump, and only mongo pumps. It should be more backward compatible, since if person already use ES pump or similar, they setup will be broken with this code.

@joshblakeley
Copy link
Member Author

That sounds good to me. Not sure why we didnt think about that at this point. I'll close this and open pump PR.

@furkansenharputlu furkansenharputlu deleted the endpointpath branch June 22, 2023 19:55
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.

None yet

2 participants