Skip to content

Instantly share code, notes, and snippets.

@dkuebric
Created December 3, 2012 22:40
Show Gist options
  • Save dkuebric/4198795 to your computer and use it in GitHub Desktop.
Save dkuebric/4198795 to your computer and use it in GitHub Desktop.
python - custom post instrumentation
try:
import oboe
except ImportError, e
pass
...
if 'oboe' in sys.modules:
oboe.log('info', None, keys={'Post-length': len(my_post_field), 'Post-data': my_post_field[0:256]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment