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

Investigate Mapbox API usage to inform billing #19984

Open
1 task
jilladams opened this issue Nov 27, 2024 · 1 comment
Open
1 task

Investigate Mapbox API usage to inform billing #19984

jilladams opened this issue Nov 27, 2024 · 1 comment
Labels
Facilities Facilities products (VAMC, Vet Center, etc) Facility Locator product owned by Facilities team Needs refining Issue status Regional office CMS managed VBA product owned by the Facilities team sitewide VAMC CMS managed product owned by Facilities team Vet Center CMS managed product owned by Facilities team

Comments

@jilladams
Copy link
Contributor

Description

Via #19201 we learned that our Mapbox Temporary Geocoding API usage aligns with Facility Locator search calls.

Our monthly invoicing includes calls to many other APIs, and we'd like to try to align those to usage to determine whether:

  1. Calls being made are useful / necessary
  2. Calls are being made from Sitewide products

Usage

API September 2024 usage October 2024 usage
Permanent Geocoding API 4 requests 9 requests
Map Loads for Web 837,440 loads 871,572 loads
Static Images API 1,053,302 requests 1,168,345 requests
Matrix API 130,356 matrix elements

task list, maybe

  • Check content-build and vets-website code for Mapbox calls
  • Gather a list of which kinds of pages make which kinds of calls
  • Ask Product to help compare those pages to analytics / traffic, in order to know if our usage amounts to the API call volume

ACs

  • Document which pages make which API calls in the Mapbox docs (which are in FL, and may need to move later)
  • [ ]
@jilladams jilladams added Needs refining Issue status sitewide VAMC CMS managed product owned by Facilities team Facilities Facilities products (VAMC, Vet Center, etc) Regional office CMS managed VBA product owned by the Facilities team Vet Center CMS managed product owned by Facilities team Facility Locator product owned by Facilities team labels Nov 27, 2024
@jilladams
Copy link
Contributor Author

From product sync:

  • We don't think this ticket blocks autocomplete next steps.
  • We need engineering to help assess where we make calls.
  • Product will then need to map those uses to analytics to know the multiplier for which calls end up being expensive in terms of page views or number of times we're making the calls.
  • Then: we can figure out where we can be more efficient -- alternate ways to achieve the same functionality with fewer Mapbox calls, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Facilities Facilities products (VAMC, Vet Center, etc) Facility Locator product owned by Facilities team Needs refining Issue status Regional office CMS managed VBA product owned by the Facilities team sitewide VAMC CMS managed product owned by Facilities team Vet Center CMS managed product owned by Facilities team
Projects
None yet
Development

No branches or pull requests

1 participant