Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Why am I not getting any values on basic performance counters?

Why am I not getting any values on basic performance counters?

Scheduled Pinned Locked Moved .NET (Core and Framework)
questioncsharpwcfcomperformance
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Snowjim
    wrote on last edited by
    #1

    Hi, I have a WCF(TCP/WAS) service communicating with a winform application. I have tried to get the following performance counters from this service : ServiceModelService 4.0.0.0 ServiceModelOperation 4.0.0.0 ServiceModelEndPoint 4.0.0.0 I do hoverver never get any values on these counters. This solution : TestProject shows how my solution is setup but this test project do work with performance counters. The question is what would make the performance counters to not record any values? I have invested alot of hours to locate diffrences in this testproject and the real one but havent found anything yet?

    J 1 Reply Last reply
    0
    • S Snowjim

      Hi, I have a WCF(TCP/WAS) service communicating with a winform application. I have tried to get the following performance counters from this service : ServiceModelService 4.0.0.0 ServiceModelOperation 4.0.0.0 ServiceModelEndPoint 4.0.0.0 I do hoverver never get any values on these counters. This solution : TestProject shows how my solution is setup but this test project do work with performance counters. The question is what would make the performance counters to not record any values? I have invested alot of hours to locate diffrences in this testproject and the real one but havent found anything yet?

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #2

      As a guess - performance counters require an 'install' step that involves (I believe) adding some specific values to the registry (or something similar) which allows windows to know about the values being collected.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups