Comments (3)
How to collect real usage?
- What is the real usage?
- Used at README.md in GitHub
- Not onetime try-out (frequent usage)
- How I can get it?
- Collect HTTP requests
- Pick up requests from GitHub.
- Group these by their repository
- If a repository sent requests multiple times, mark it as "recent usage"
- What does "recent" mean
- Expire "recent usage" marks in 1 month after the last request.
from contributors-img.
Solution
- Collect request log on the endpoint
- Cloud Run app -> Cloud Logging -> Big Query
- Query logs and get recent usage repositories periodically
- Big Query -> Cloud Run -> Cloud Firestore
- Respond data from API
- Cloud Firestore -> Cloud Run -> webapp
from contributors-img.
TODO
- Send usage logs from Cloud Run to Cloud Logging
- Connect Cloud Logging and Big Query (log routing)
- Add an (internal) endpoint to query usage with BQ API
- Add an endpoint for webapp to give recent usage data.
from contributors-img.
Related Issues (20)
- Add an option to exclude anonymous users HOT 2
- Question: How many time takes to update contributors HOT 2
- Feat: include co-authors
- Bug: when not entering the repository name HOT 1
- Feature Request: Adding hostname to the relative url of image generated
- Question: How are repositories added to the `Used by` section of the website?
- Avators aren't shown for aquaproj/aqua-registry HOT 1
- Feat: Contributors to an entire organization HOT 3
- docs: Seperate sections for Tech stack used, Local Project SetUp, Contributors list.
- How does this works?
- Feature Request: Same features but for Project's Sponsors
- Feat: Show contributors who are most recent or most active
- No license in the repository
- [docs] API & Parameter usage HOT 1
- How long does it take for the image to update? HOT 6
- Github URL Parsing Feature
- Native browser navigation for contrib.rocks is broken HOT 1
- Private Repo access HOT 1
- [Closed] 誤って提出されたIssue
- How to set higher-definition pictures ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contributors-img.