You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The total downloads API response currently includes numbers from GitHub and Docker image pulls. This feature request is to extend the download numbers to also include download numbers from packages.adoptium.net.
The method for tracking the packages downloads made from packages.adoptium.net is best performed via counting successful retrievals. Historically this was difficult to determine since some packages are served from the JFrog backing store, some from the Fastly CDN cache, and some from the CloudFlare cache. We can now get the sum of these download numbers from CloudFlare since all requests come through the packages.adoptium.net DNS.
CloudFlare provides a GraphQL API to get the required information. An example is provided here. Note that the duration of statistics that can be requested is bounded by CloudFlare, and the CloudFlare query API is rate limited, so we will likely need some local storage to maintain the statistics over time.
The proposal is to enhance the API that provides the download stats to include packages, such as this mock-up:
The Adoptium API currently provides statistics about the total downloads and daily download tracking.
The total downloads API response currently includes numbers from GitHub and Docker image pulls. This feature request is to extend the download numbers to also include download numbers from
packages.adoptium.net
.The method for tracking the packages downloads made from
packages.adoptium.net
is best performed via counting successful retrievals. Historically this was difficult to determine since some packages are served from the JFrog backing store, some from the Fastly CDN cache, and some from the CloudFlare cache. We can now get the sum of these download numbers from CloudFlare since all requests come through thepackages.adoptium.net
DNS.CloudFlare provides a GraphQL API to get the required information. An example is provided here. Note that the duration of statistics that can be requested is bounded by CloudFlare, and the CloudFlare query API is rate limited, so we will likely need some local storage to maintain the statistics over time.
The proposal is to enhance the API that provides the download stats to include packages, such as this mock-up:
We can discuss whether the tracking API should also be enhanced to include package downloads in the daily totals it reports.
The text was updated successfully, but these errors were encountered: