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

adds urls for subs-graphql #525

Merged
merged 1 commit into from
Sep 20, 2023
Merged

adds urls for subs-graphql #525

merged 1 commit into from
Sep 20, 2023

Conversation

jamesr101
Copy link
Contributor

Adds the subs-graphql endpoints (test and prod) to the services
Usage in next-retention

@jamesr101 jamesr101 requested review from a team as code owners September 20, 2023 09:51
Comment on lines +317 to +318
'subs-graphql': /^https:\/\/(beta-)?api\.ft\.com\/subs\/query\/api\//,
'subs-graphql-test': /^https:\/\/(beta-)?api-t\.ft\.com\/subs\/query\/api\//,
Copy link
Contributor

Choose a reason for hiding this comment

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

Note: Just a thought for the future, when you convert some of the queries into canned queries it might be worth updating this to have a regex that matches specific canned queries so its easier to tell from the metrics the performance of individual canned queries.

Something like this

'subs-graphql-{query-name}': /^https:\/\/(beta-)?api\.ft\.com\/subs\/query\/api\/{query-name}/,

Where {query-name} is replaced in the key name and regex with the actual query name

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, great point

@jamesr101 jamesr101 merged commit d478c43 into main Sep 20, 2023
@jamesr101 jamesr101 deleted the adds-subs-graphql branch September 20, 2023 10:53
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