Skip to content

h2oai/steam-stat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steam Stats App

App Goal: To take Driverless AI or H2O-3 STEAM Usage logs and generate Insights

Target Audience: H2O SE/AE/CSM/TAM, Customers

Industry: Horizontal

Actively Being Maintained: Yes

Last Updated: Jan 26, 2024 - to work with wave 1.0.0

Comes with Demo Mode (pre-loaded data, models, results, etc.): No

Allows for Uploading and Using New Data: Yes

Features:

  • Upload feature for uploading a driverless-report*.csv file
  • Group by on key fields to get row counts
  • Generate KPI Dashboard, Visuals
  • Download Usage Summary/Daily Peak Usage data
  • Choose timeline to filter rows for above to tell usage story

GitHub: http://www.github.com/h2oai/steam-stat


Author: karthik.guruswamy@h2o.ai

Where to find the Steam Driverless AI Logs ?

You need to be an Admin on Steam to access the logs. See below on where to get it from:

Screen Shot 2021-11-16 at 4 38 56 PM

Its a CSV file that has the name driverless-report-xyz.csv

It should have the entire historical usage of Driverless AI start/stops.

What Stats are possible in this App with Steam Logs ?

Main Dashboard

The main dashboard (after you upload the logs), shows you the logs themselves, which you can scroll/sort/group by on any column etc.,

The "Peak usage by the day" table basically breaks down day level information on the entire range of the data. Basically you get "Peak Sessions", "Peak CPUs", "Peak GPUs", "Unique Users" etc.,

Sessions: A session is basically a record in the log that represents the duration of a 'start'/'stop' event of a Driverless AI or H2O-3 instance. Depending on the workload, the session can last anywhere from a few minutes to a few days! So basically our reports chops those sessions into day activities and you get rollups per day!

The Summary table shows you the following info for the entire log duration:

  • Log Start
  • Log End
  • Total Hours of use
  • Total Sessions
  • # of Unique users
  • Max Daily Users
  • Max Daily CPUs
  • Max Daily GPUs
  • # of Days that there were no sessions ! (inactive day basically)

Both the Peak Usage and Summary information can be downloaded into a CSV, so you can format/chart it in Excel or an Editor of your choice.

Drill Down Charts

You can also get insights using drill down charts to see:
Unique users and Peak Sessions (basically day level count) for each day in the log duration - including days that there was no activity. You can also see the how many sessions were present across different versions of Driverless AI and H2O-3 installed on Steam

The top 10 power users in terms of in terms of # of Sessions and # of hours used is also available as chart

How to run it on your Desktop or an ubuntu server ?

  1. Create a virtualenv python 3.10 and above (which worked for me) and activate an environment

  2. Run
    pip install -r requirements.txt

  3. Get latest wave - you can get it with pip install above. I tested with h2o wave 1.0.0

  4. Run waved (wave server)

  5. Run
    wave run --no-reload steam_stats.py

  6. Go to http:<localhost|server ip>:10101 Screen Shot 2021-09-25 at 7 51 42 PM

  7. Get your steam logs from Steam (need admin account) and Click Browse and Upload to upload the log to the App

  8. View main Dashboard

Screen Shot 2021-11-22 at 6 53 30 AM

You can use the Grouping Feature on top, to group by individual fields. This gives you the individual rows per group and also counts per group

You can also use the Filter Timeline feature on the left , to filter rows based on various time periods, to compare usage, power users etc.,

9. Click "Drilldown" on the left to get nice graphs!

Screen Shot 2021-09-25 at 7 53 09 PM

10. Hit "Back" to go back to main Dashboard

Feature request or bugs

Bugs: Just file an issue from "issues" tab with a screenshot

Feature Request: Need info. on what kind of chart or table or a rollup would be interesting in your deployment. If the logs support underlying data, it should be easy for me to add that to the code. In most cases, you should be able to change the code yourself :) and let me know what you did and Im happy to merge that to the main code if it makes sense.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages