microsoft / CSS-Exchange

Exchange Server support tools and scripts
MIT License
1.21k stars 332 forks source link

[Issue]ExPerfWiz adds counters incorrectly to datacollector #2119

Open nourdinb opened 1 week ago

nourdinb commented 1 week ago

Describe the issue With "Version 23.01.13.1832" adding or creating a new ExPerfwiz datacollector, some counters are not added properly and thus data is missing in the resulting performance log. The list of counters are provided within the $xml131619 variable. e.g. <Counter>\.NET CLR LocksAndThreads( * )\Contention Rate / sec</Counter>

Use relog.exe -q Experfwiz.blg -o Experfwiz.txt and validate the text file for the list of counters.

Expected behavior All counters added properly giving a perflog that contains the data you'd expect.

Script Output n/a, no error.

Additional context The issue is caused by the spaces around the in '( )\' and can be fixed by replacing it with "(*)\".

dpaulson45 commented 1 week ago

I would recommend using https://microsoft.github.io/CSS-Exchange/Performance/SimplePerf/ instead of ExPerfwiz in the meantime.

nourdinb commented 1 week ago

David, no problem as I can fix it myself easily by replacing the “( )” with “()”. But thanks for pointing this out.

From: David Paulson @.> Sent: Tuesday, 25 June 2024 17:50 To: microsoft/CSS-Exchange @.> Cc: Nourdin Boulassel @.>; Author @.> Subject: Re: [microsoft/CSS-Exchange] [Issue]ExPerfWiz adds counters incorrectly to datacollector (Issue #2119)

I would recommend using https://microsoft.github.io/CSS-Exchange/Performance/SimplePerf/ instead of ExPerfwiz in the meantime.

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/CSS-Exchange/issues/2119#issuecomment-2189318872, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI3MIHR5G3WWGOUIFUZ56YDZJGGTFAVCNFSM6AAAAABJ4DNQJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBZGMYTQOBXGI. You are receiving this because you authored the thread.Message ID: @.**@.>>