Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Misrobody/Otkt-Instrument

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Otkt-Instrument

About

An instrumentation tool that works in tandem with OtktDSL.

Author

Daphné Larrivain [email protected]

Instrumentation

In order to instrument a given app with otkt, one would need to do the following:

  • decorate every functiong/method definition with @intrument
  • import the decorator from the otkt.tools.intrument module.

This tool does both of these in a "smart" manner. Just prepending every import to their files and every decorator to their function is prone to break things.

This tool instruments while respecting these two principles:

  • Taking context into account before adding code.
  • Not every file has to be instrumented (otherwise, it will break the app).

This process is not fool proof as it relies on conventions to avoid touching potentially app-breaking files. Consider this as a good basis to start your custom instrumentation.

Use --help for more info.

About

An instrumention tool made to work in tandem with OtktDSL.

Topics

Resources

Stars

Watchers

Forks

Languages