Answered by:
How to write SDK-inserted Performance Counters to Data Warehouse

Question
-
Hi,We have an MP that used SDK to insert performance counters and we need also to post some of these counters into DW. The counters are associated with a specific class - lets say "MyClass".We tried defining the following rule:
<Rule ID="ozsoft.sap.dw.WritePerformanceDataToDW"Comment="this rule writes my performance data to DW"Enabled="true"Target="MyClass"ConfirmDelivery="true"Remotable="true"Priority="Normal"DiscardLevel="100"><Category>PerformanceCollection</Category><DataSources><DataSource ID="DataSource" TypeID="SC!Microsoft.SystemCenter.TargetEntitySdkPerformanceDataProvider" /></DataSources><WriteActions><WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/></WriteActions></Rule>
but it seems to have no effect (no errors either).Can someone shed light on this? what ware we doing wrong?
Thanks,DavidFriday, July 30, 2010 4:44 PM
Answers
-
Hi,
I would like to share the following with you for your reference and hope this can give some hints:
Performance Data
http://msdn.microsoft.com/en-us/library/ff472332.aspx
Collect and View Performance Data
http://technet.microsoft.com/en-us/library/dd919154.aspx
Thanks.
Nicholas Li - MSFT
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.- Marked as answer by Nicholas Li Thursday, September 2, 2010 7:45 AM
Monday, August 2, 2010 9:38 AM -
Hi,
Please refer to:
How to Create a Rule
http://technet.microsoft.com/en-us/library/dd362538.aspx
How to Test and Debug a Management Pack
http://technet.microsoft.com/en-us/library/dd362604.aspx
Thanks.
Nicholas Li - MSFT
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.- Marked as answer by Nicholas Li Thursday, September 2, 2010 7:44 AM
Tuesday, August 3, 2010 2:51 AM -
Found the following blog as well which might help.
http://blogs.msdn.com/b/jakuboleksy/archive/2006/09/05/inserting-operational-data.aspx
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm- Marked as answer by Nicholas Li Thursday, September 2, 2010 7:44 AM
Wednesday, August 4, 2010 7:28 PM
All replies
-
Hi,
I would like to share the following with you for your reference and hope this can give some hints:
Performance Data
http://msdn.microsoft.com/en-us/library/ff472332.aspx
Collect and View Performance Data
http://technet.microsoft.com/en-us/library/dd919154.aspx
Thanks.
Nicholas Li - MSFT
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.- Marked as answer by Nicholas Li Thursday, September 2, 2010 7:45 AM
Monday, August 2, 2010 9:38 AM -
Thx,
This is pretty much what I used when implementing the rule. Is there a way to debug/log the rule execution?
Monday, August 2, 2010 7:44 PM -
Hi,
Please refer to:
How to Create a Rule
http://technet.microsoft.com/en-us/library/dd362538.aspx
How to Test and Debug a Management Pack
http://technet.microsoft.com/en-us/library/dd362604.aspx
Thanks.
Nicholas Li - MSFT
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.- Marked as answer by Nicholas Li Thursday, September 2, 2010 7:44 AM
Tuesday, August 3, 2010 2:51 AM -
Found the following blog as well which might help.
http://blogs.msdn.com/b/jakuboleksy/archive/2006/09/05/inserting-operational-data.aspx
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm- Marked as answer by Nicholas Li Thursday, September 2, 2010 7:44 AM
Wednesday, August 4, 2010 7:28 PM