Skip to content

Instantly share code, notes, and snippets.

@mattiaswolff
Last active December 16, 2015 13:39
Show Gist options
  • Save mattiaswolff/5443575 to your computer and use it in GitHub Desktop.
Save mattiaswolff/5443575 to your computer and use it in GitHub Desktop.
Mediusflow XI: New relic custom functions
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (c) 2008-2014 New Relic, Inc. All rights reserved. --><!--
When you edit this file, please use an XML aware editor (such as Visual Studio),
and pair with the companion file extension.xsd to minimize the
chance of introducing typos that may confuse the agent when it is run.
--><extension xmlns="urn:newrelic-extension">
<instrumentation>
<tracerFactory>
<match assemblyName="Medius.Core.Platform" className="Medius.Core.Platform.Services.TaskManager">
<exactMethodMatcher methodName="CompleteTask" />
<exactMethodMatcher methodName="ShouldSaveTask" />
</match>
<match assemblyName="Medius.Core.Platform" className="Medius.Core.Platform.Services.TaskDispatcher">
<exactMethodMatcher methodName="CompleteTask" />
</match>
<match assemblyName="Medius.Platform" className="Medius.Platform.Workflows.WorkflowManager">
<exactMethodMatcher methodName="BeginResume" />
<exactMethodMatcher methodName="EndResume" />
<exactMethodMatcher methodName="Resume" />
<exactMethodMatcher methodName="GetLoadedWorkflowApplicationById" />
<exactMethodMatcher methodName="GetWorkflowInfoById" />
</match>
<match assemblyName="Medius.Core.Platform" className="Medius.Core.Platform.Inbox.QueryHelper">
<exactMethodMatcher methodName="ParseFolderQueryCondition" />
</match>
<match assemblyName="Medius.Core.Platform" className="Medius.Core.Platform.Inbox.SearchCriteriaParser">
<exactMethodMatcher methodName="Parse" />
<exactMethodMatcher methodName="ParseDocumentConditions" />
<exactMethodMatcher methodName="ParseTaskConditions" />
</match>
<match assemblyName="Medius.Core.Platform" className="Medius.Core.Platform.Services.InboxManager">
<exactMethodMatcher methodName="GetFolderTasks" />
<exactMethodMatcher methodName="GetFolder" />
<exactMethodMatcher methodName="GetConfiguredTypes" />
<exactMethodMatcher methodName="GetDocumentTasks" />
</match>
<match assemblyName="Medius.Core.Platform" className="Medius.Core.Platform.Repository.InboxDataRepository">
<exactMethodMatcher methodName="GetActiveTasksForUser" />
<exactMethodMatcher methodName="GetTasksForUser" />
<exactMethodMatcher methodName="FetchIdList" />
<exactMethodMatcher methodName="AddActiveTaskCondition" />
</match>
<match assemblyName="Medius.Platform" className="Medius.Platform.Data.Repository">
<exactMethodMatcher methodName="RunQueryForCurrentSession" />
<exactMethodMatcher methodName="Get" />
<exactMethodMatcher methodName="ExecuteQuery" />
</match>
<match assemblyName="Medius.Platform" className="Medius.Platform.Workflows.WorkflowDescription.WorkflowDescriptionRepository">
<exactMethodMatcher methodName="GetWorkflowInfoDescriptionByGuid" />
</match>
<match assemblyName="Medius.Core.Platform" className="Medius.Core.Platform.Services.TaskManager">
<exactMethodMatcher methodName="GetTaskWithPerspective" />
<exactMethodMatcher methodName="AcquireLock" />
</match>
<match assemblyName="Medius.Core.Platform" className="Medius.Core.Platform.Repository">
<exactMethodMatcher methodName="AcquireLock" />
</match>
<match assemblyName="Medius.Platform" className="Medius.Platform.Data.EntityManagement">
<exactMethodMatcher methodName="DetachWithPerspective" />
</match>
<match assemblyName="Medius.Enterprise.Platform" className="Medius.Enterprise.Platform.Services">
<exactMethodMatcher methodName="GetAccountingObjectWithLines" />
<exactMethodMatcher methodName="GetDimensionValuesForCoding" />
<exactMethodMatcher methodName="InitializePerspectiveAndDetach" />
<exactMethodMatcher methodName="ValidateCodeString" />
</match>
<match assemblyName="Medius.Enterprise.Platform" className="Medius.Enterprise.Platform.Helpers">
<exactMethodMatcher methodName="CustomActionRepository" />
</match>
<match assemblyName="Medius.Enterprise.Platform" className="Medius.Enterprise.Platform.Repositories">
<exactMethodMatcher methodName="GetWithLines" />
<exactMethodMatcher methodName="GetWithLinesOptimized" />
</match>
<match assemblyName="Medius.Enterprise.Platform" className="Medius.Enterprise.Platform.ContextData.AccountingObjectContext">
<exactMethodMatcher methodName="InitializePerspective" />
</match>
<match assemblyName="Medius.Platform" className="Medius.Platform.Services.RawHttp.RawHttpTransport.Serialization">
<exactMethodMatcher methodName="Serialize" />
</match>
</tracerFactory>
</instrumentation>
</extension>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment