Ejemplo n.º 1
0
 public InstrumentationTarget(IMethodDetails target, string metricName, string name, string transactionNamingPriority, Metric metric)
 {
     this.Target = target;
     this.MetricName = metricName;
     this.Name = name;
     this.TransactionNamingPriority = transactionNamingPriority;
     this.Metric = metric;
 }
Ejemplo n.º 2
0
 public InstrumentationTarget(IMethodDetails target, string metricName, string name, string transactionNamingPriority, Metric metric)
 {
     this.Target     = target;
     this.MetricName = metricName;
     this.Name       = name;
     this.TransactionNamingPriority = transactionNamingPriority;
     this.Metric = metric;
 }
 protected virtual InstrumentationTarget GetInstrumentationTarget(IMethodDetails method, InstrumentAttribute context)
 {
     return new InstrumentationTarget(method, context.MetricName, context.Name, context.TransactionNamingPriority, context.Metric);
 }
 protected virtual InstrumentationTarget GetInstrumentationTarget(IMethodDetails method, InstrumentAttribute context)
 {
     return(new InstrumentationTarget(method, context.MetricName, context.Name, context.TransactionNamingPriority, context.Metric));
 }