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

Examining Zoltar API traffic by users #252

Open
Khoale1096 opened this issue Sep 8, 2020 · 6 comments
Open

Examining Zoltar API traffic by users #252

Khoale1096 opened this issue Sep 8, 2020 · 6 comments

Comments

@Khoale1096
Copy link

Khoale1096 commented Sep 8, 2020

A couple of metrics to keep track (more can be added if deem necessary).

Zoltar traffic report brainstorm (google doc)

  • Weekly:

    • How many users submitted a query?
    • How many queries total?
    • Median number of queries by each user?
    • How many rows served in total?
    • Median number of rows per query?
    • Breakdown by score vs forecast queries?
  • Overall:

    • same as above but across all time

Initial list (old?)

  • How many queries per day per user? Potential: Heroku throughput metrics divided by number of zoltar users?
  • How many rows downloaded per day?
  • What tables are being queried more frequently?
@ayushkhd
Copy link

Ran Exploratory Data Analysis on Zoltar Jobs Table to derive valuable metrics & information.

Derived the following metrics -

  1. The types of activities running on Zoltar, sorted from most to least common
  2. List of activities done by a particular user along with the dates they were done on
  3. Most active users
  4. The models that are being queried the most, along with the dates they have been queried on
  5. Most queried models, from high to low
  6. List of all deleted forecasts with dates

@ayushkhd
Copy link

Next up - working on developing a dashboard visualization for all the data gathered

@matthewcornell
Copy link
Member

That all sounds good. How are you planning on creating the dashboard?

I reviewed lots of Python visualization libraries and then settled on https://vega.github.io/vega-lite/ for the forecast heatmap. I plan on using it for other graphics down the road. If you don't have a strong reason for using a different library, please consider using vega-lite. I'm happy to take you through it.

Also, once you have output that @nickreich and you like, I'll work with you to get it into Zoltar, if that's what we want. Thanks! --m

@ayushkhd
Copy link

Generated a report for user activities & shared with Prof Nick

@matthewcornell
Copy link
Member

Would you please put a copy here, or point me to its location? Also, I'd like to see any code that you think might be useful for possibly adding to Zoltar. Thank you.

@ayushkhd
Copy link

ayushkhd commented Nov 2, 2020

@matthewcornell Sure, I'll send you the report and the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants