Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20490

Re: Can the SDK be used to extract SAM component statistical data into CSV?

$
0
0

In the Orion SAM database, component statistic data seems to reside in the [APM_PortEvidence_Detail], [APM_PortEvidence_Daily], and [APM_PortEvidence_Hourly] tables according to the configured data retention periods.  In the SWQL tool, there is a data structure called

Orion.APM.PortEvidence that appears to return min/max/average statistic values like they exist in the daily, hourly, and detail PortEvidence tables in the database, but doesn't give access to the raw statistic polling data.  There are a few views into current component stats and details as well, but they also don't contain what I need.  Am I missing anything?

 

For example, I wrote this SQL (not SWQL) query against the SAM database to return all statistic data for a given ComponentID, assuming the component actually stores statistic data.

select 
cd.TimeStamp,
a.Name,
c.Name,
apd.StatisticData,
cd.Availability,
cd.PercentAvailability
from [dbo].[APM_ComponentStatus_Detail] cd 
inner join dbo.APM_Application a on a.ID=cd.ApplicationID
inner join dbo.APM_Component c on c.ID=cd.ComponentID
inner join [dbo].[APM_PortEvidence_Detail] apd on apd.ComponentStatusID=cd.ID
where cd.ComponentID=1489 --enter component ID here
order by cd.TimeStamp desc

Viewing all articles
Browse latest Browse all 20490

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>