Skip to content

Instantly share code, notes, and snippets.

View mkmrgn's full-sized avatar

Mike Morgan mkmrgn

  • Buildkite
  • Vancouver, BC
View GitHub Profile
using AppOptics.Instrumentation;
namespace ConsoleExampleApp
{
class Program
{
private const string CONSOLE_SPAN_NAME = "console-example-app";
static void Main(string[] args)
{
import time
import appoptics
#import the loader so modules get instrumented
from appoptics import loader
loader.load_inst_modules()
#functions using the log_method decorator will show up as custom spans in AppOptics
@appoptics.log_method('function_1_layer')
def function_1():

Keybase proof

I hereby claim:

  • I am mkmrgn on github.
  • I am mkmrgn (https://keybase.io/mkmrgn) on keybase.
  • I have a public key whose fingerprint is BC7A 02F8 37E5 B541 5F51 907B E169 8628 B8B0 654F

To claim this, I am signing this object: