newrelic / nri-perfmon

Windows Perfmon / WMI On-Host Integration for New Relic Infrastructure
Other
13 stars 19 forks source link

Events not showing up in New Relic website #41

Closed tangw123-ot closed 2 years ago

tangw123-ot commented 2 years ago

Hi:

I added this Windows performance counter (Processor Information/% Processor Time" in the config.json and from the nri-perfmon trace log I can see the performance counter values are captured and an outgoing metrics event are created but I do not see the events show up in either Metrics Explorer or Events Explorer in New Relic website .

Thanks

config.json

{
  "provider": "PerfCounter",
  "category": "Processor Information",
  "counters": [
    {
      "counter": "% Processor Time"
    }
  ]
},      

nri-perfmon trace log

Thread-1 : Adding PerfCounter Processor Information% Processor Time0,2 Thread-1 : Adding PerfCounter Processor Information% Processor Time0,3 Thread-1 : Adding PerfCounter Processor Information% Processor Time_Total Thread-1 : Adding PerfCounter Processor Information% Processor Time0,1 Thread-1 : Adding PerfCounter Processor Information% Processor Time0,0 Thread-1 : Adding PerfCounter Processor Information% Processor Time0,_Total

Thread-1 : Collecting Perf Counter: Processor Information/% Processor Time Thread-1 : Perf Counter result: Processor Information/% Processor Time: 5.23476 Thread-1 : Collecting Perf Counter: Processor Information/% Processor Time Thread-1 : Perf Counter result: Processor Information/% Processor Time: 3.976498 Thread-1 : Collecting Perf Counter: Processor Information/% Processor Time Thread-1 : Perf Counter result: Processor Information/% Processor Time: 5.420753 Thread-1 : Collecting Perf Counter: Processor Information/% Processor Time Thread-1 : Perf Counter result: Processor Information/% Processor Time: 6.318534 Thread-1 : Collecting Perf Counter: Processor Information/% Processor Time Thread-1 : Perf Counter result: Processor Information/% Processor Time: 6.162399 Thread-1 : Collecting Perf Counter: Processor Information/% Processor Time Thread-1 : Perf Counter result: Processor Information/% Processor Time: 5.41151

Thread-1 : Metric output: { "event_type": "Processor_Information", "name": "0,2", "PercentProcessorTime": 5.23476028 }, { "event_type": "Processor_Information", "name": "0,3", "PercentProcessorTime": 3.976498 }, { "event_type": "Processor_Information", "name": "_Total", "PercentProcessorTime": 5.42075348 }, { "event_type": "Processor_Information", "name": "0,1", "PercentProcessorTime": 6.31853437 }, { "event_type": "Processor_Information", "name": "0,0", "PercentProcessorTime": 6.162399 }, { "event_type": "Processor_Information", "name": "0,_Total", "PercentProcessorTime": 5.41151047 },

tangw123-ot commented 2 years ago

Btw, I am using the latest version, 0.6.1.

tangw123-ot commented 2 years ago

I found the place where the performance counters is logged. The counter values can be found in Data Explorer under Events.