Skip to content

Instantly share code, notes, and snippets.

@GrahamDumpleton
Created August 1, 2012 10:56
Show Gist options
  • Save GrahamDumpleton/3225782 to your computer and use it in GitHub Desktop.
Save GrahamDumpleton/3225782 to your computer and use it in GitHub Desktop.
Sample of agent configuration of instrumenting pycassa.
# This would go in the existing [newrelic] section of agent configuration file.
# There should already be a empty setting in sample configuration file.
transaction_tracer.function_trace = pycassa.columnfamily:ColumnFamily.xget
pycassa.columnfamily:ColumnFamily.get
pycassa.columnfamily:ColumnFamily.get_indexed_slices
pycassa.columnfamily:ColumnFamily.multiget
... add other methods
pycassa.columnfamilymap:ColumnFamilyMap.combine_columns
pycassa.columnfamilymap:ColumnFamilyMap.get
... add other methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment