Difference between revisions of "StatsSystem"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Reverted edits by 1153528875 (Talk); changed back to last version by Xtophe)
Line 77: Line 77:
 
** Add some logging facility to httpd
 
** Add some logging facility to httpd
 
** RRD output (muwahahahaha)
 
** RRD output (muwahahahaha)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<div  style="display:none">
 
[We are delicate. We do not delete your content.]
 
 
 
[http://eurekabag.blog.naszemiasto.pl/ eureka vacuum bag]
 
[http://magna-rx.blog.naszemiasto.pl/ magna rx]
 
[http://diaper-bag.blog.naszemiasto.pl/ diaper bag]
 
[http://norwegian-cruise-line.blog.naszemiasto.pl/ norwegian cruise line]
 
[http://bulochka.blog.naszemiasto.pl/ norwegian cruise lines]
 
[http://bra-and-pantie.jo.pl/ bra and pantie]
 
[http://bra-and-panties-match.jo.pl/ bra and panties match]
 
[http://bra-and-panties.jo.pl/ bra and panties]
 
[http://bulma-bra.td.pl/ bulma bra]
 
[http://sheer-bra.td.pl/ sheer bra]
 
[http://nursing-bra.td.pl/ nursing bra]
 
[http://www.dablogs.com/?u=vico vicodin no prescription]
 
[http://www.dablogs.com/?u=tramah tramadol hcl]
 
[http://www.dablogs.com/?u=tramac tramadol cod]
 
[http://www.dablogs.com/?u=diethylpropion diethylpropion ]
 
[http://nurse-anesthetist-programs.td.pl/ nurse anesthetist programs]
 
[http://soccer-replica-jersey.jo.pl/ soccer replica jersey]
 
[http://philippine-airline.jo.pl/ philippine airline]
 
[http://wireless-dog-fence.td.pl/ wireless dog fence]
 
[http://clenbuterol.blog.naszemiasto.pl/ clenbuterol]
 
[http://westjet.blog.naszemiasto.pl/ westjet]
 
[http://atv-tire.blog.naszemiasto.pl/ atv tire]
 
[http://coffee-roaster.blog.naszemiasto.pl/ coffee roaster]
 
[http://feng-shui-products.blog.naszemiasto.pl/ feng shui products]
 
[http://feng-shui-tips.blog.naszemiasto.pl/ feng shui tips]
 
[http://wilsontenr.blog.naszemiasto.pl/ wilson tennis racket]
 
[http://skylights.blog.naszemiasto.pl/ skylights]
 
[http://beach-wedding-favors.blog.naszemiasto.pl/ beach wedding favors]
 
[http://personalized-wedding-favors.blog.naszemiasto.pl/ personalized wedding favors]
 
[http://wedfb.blog.naszemiasto.pl/ wedding favor boxes]
 
 
[http://simmons-beauty-rest-mattress.jo.pl/ simmons beauty rest mattress]
 
[http://pur-water-filter.jo.pl/ pur water filter]
 
[http://purifier-water.jo.pl/ purifier water]
 
[http://softener-water.jo.pl/ softener water]
 
[http://lonnie-waters.jo.pl/ lonnie waters]
 
[http://muddy-waters.jo.pl/ muddy waters]
 
[http://schlitterbahn-water-park.jo.pl/ schlitterbahn water park]
 
[http://tankless-water-heater.jo.pl/ tankless water heater]
 
[http://elkay-water-cooler.jo.pl/ elkay water cooler]
 
[http://water-cooler-dispenser.jo.pl/ water cooler dispenser]
 
[http://bottled-water-cooler.jo.pl/ bottled water cooler]
 
[http://igloo-water-cooler.jo.pl/ igloo water cooler]
 
[http://oasis-water-cooler.jo.pl/ oasis water cooler]
 
 
</div>
 

Revision as of 14:42, 22 July 2006

Requirements

Goal

Central system for storing statistics and timings

Stored data

What we might want to collect:

  • per-stream/global decoded, dropped frames
  • per-stream/global packets read/errors
  • per-stream/global packets/bytes sent/errors (if sout)
  • stats about httpd/vod, per request

Each thing could be stored as average, max, counter, ...

Data access

  • Access stats from the GUI (simple)
  • Dump HTTP server access data
  • Dump some raw access data to output

Design

Data storage

Stats object

Stored as a singleton in p_libvlc

Counters

counter_sample_t
{
   value
   date
}

counter_elem_t
{
   name
   type
   pp_samples / i_samples
}
  • Name contains the originating object id, like "267.frames_displayed" .How to separate by http request ? "httpd_object_id.request_id.XXX" ?
  • Type is one of MAX, LAST, COUNTER, DERIVATIVE, ...

Timing

timing_elem_t
{
   name

   last_time,

   total_time,
   total_samples,

   running,
   start_time   
}

Reporting

  • In GUI:
    • Integrated in streams and media information for relevant items (make it available for VLM streams too)
    • Where to put global data ?
  • Data log:
    • Make global options to enable and driver logger module
    • Add some logging facility to httpd
    • RRD output (muwahahahaha)