AppD Archive

AppDynamics and Citrix, Cannot create performance counter

CommunityUser
Splunk Employee
Splunk Employee

So we're trying to get AppDynamics setup in our Citrix XenApp environment (we're running provisioned servers through Citrix Provisioning Services), other than the servers being provisioned, they're essentially normal servers.  We can get the Agent to show up in the console but when the .Net application we want to monitor starts up, there's errors in the logs that state the following:

2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR Memory, Name: # bytes in all heaps, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )
2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR Memory, Name: Gen 0 heap size, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )
2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR Memory, Name: Gen 1 heap size, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )
2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR Memory, Name: Gen 2 heap size, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )
2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR Memory, Name: # Induced GC, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )
2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR Memory, Name: # of Sink Blocks in use, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )
2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR Memory, Name: Large Object Heap size, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )
2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR Memory, Name: % Time in GC, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )
2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR Memory, Name: # Total committed Bytes, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )
2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR LocksAndThreads, Name: # of current logical Threads, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )
2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR LocksAndThreads, Name: # of current physical Threads, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )
2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR LocksAndThreads, Name: Contention Rate / Sec, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )
2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR Loading, Name: Current Classes Loaded, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )
2014-12-15 10:31:03.6533 7784 dllhost 1 7 Info AgentCoordinator Cannot create performance counter - disabling for 1 hours. Category: .NET CLR Loading, Name: Total Classes Loaded, Procid: 14284, Exception: System.InvalidOperationException: Instance 'ContactCenterDesktop' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at AppDynamics.Agent.CLRPerfCounters.ly.b(List`1 )

Anybody have any ideas?  We're not seeing any performance data hitting the console and i'm suspecting because of these errors in the AgentLog.  Thanks!

0 Karma

Jay_Davis
New Member

Did this get resolved? 

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...