kashifrazzaqui / vyked

A python asyncio driven service oriented architecture framework
MIT License
52 stars 23 forks source link

add default endpoints for service checkup and stats in both HTTP and TCP #19

Open kashifrazzaqui opened 9 years ago

nerandell commented 9 years ago

/stats : Per api call count since the service started /checkup : Hook that services will implement corresponding to their individual needs

kashifrazzaqui commented 9 years ago

Use this https://github.com/omergertel/pyformance

kashifrazzaqui commented 9 years ago

capture

bhanuvrat commented 9 years ago

@kashifrazzaqui @nerandell ` /stats

/health

what are service and api concurrency?

kashifrazzaqui commented 9 years ago

all of this is generally good

On Thu, Sep 10, 2015 at 4:44 PM Anuvrat Parashar notifications@github.com wrote:

@kashifrazzaqui https://github.com/kashifrazzaqui @nerandell https://github.com/nerandell ` /stats

  • api_call_count
  • average response time
  • error count by error code.
  • api caller count indexed by from_id.
  • cpu_load by service process
  • memory consumed by service process.

/health

  • free memory - for the system?
  • total memory - for the system?
  • count of running processes - again for system?

what are service and api concurrency?

— Reply to this email directly or view it on GitHub https://github.com/kashifrazzaqui/vyked/issues/19#issuecomment-139206692 .