Display Snapshot Monitor Data
With ST-PI Support Package 20 we have introduced a new transaction which allows to generate graphics to display the snapshot monitoring data collected by transaction /SDF/MON or /SDF/SMON.
see also SAP note 3210905 – Display Snapshot Monitor Data
The new transaction is compatible with SAPGUI, WebGUI and JavaGUI.
In order to use the new transaction /SDF/SMON_DISPLAY (or report /SDF/SMON_DISPLAY) the following prerequisites must be fulfilled:
- The snapshot monitor /SDF/MON or /SDF/SMON must be scheduled.
- A SAPGUI version of release 7.70 or later is recommended with Edge based on chromium enabled. (See SAPGUI Options > Interaction Design > Control Settings)
If you do not trust an externally hosted library, you can download a library version of your choice, test this library and then host this library on a trusted server and use the URL to this trusted location. (we recommend using the minimized versions like plotly-basic-x.xx.x.min.js – more versions are available at https://cdnjs.com/libraries/plotly.js).You must maintain the URL to the plotly library in table /SDF/PLOTLYCONF for ID = PLOTLY_LIBRARY. (SE11 > Table: /SDF/PLOTLYCONF >Utilities > Table Content > Create Entries)
- If you choose an external library location the front end must have internet/network connection to access and download this library.
Application Server (leave empty for all servers)
Date and Time of the snapshot. extended monitoring data from /SDF/SMON will be automatically de-clustered if required.
Last n minutes
Only select and display the last n minutes of data for the current day. If this option is selected, the input fields Date/Time are disabled and calculated automatically with each refresh.
Round Time to n seconds
The timestamps from SDFMON will be rounded to the next multiple of the specified number of seconds (max. rounding to 3600 seconds)
Up to three different measurements can be specified.
If the data is rounded to n seconds or if multiple application servers are selected one can specify how the data is aggregated – the following options are available:
- AVG Average
- SUM Total
- MAX Maximum Value
- MIN Minimum Value
- CNT Number of values (count)
The data selection and display will be repeated automatically every n seconds. This functionality is only available if the last n seconds are chosen.
URL to plotly library (display only)
You must maintain the URL to the plotly library in table /SDF/PLOTLYCONF for ID = PLOTLY_LIBRARY.
The graphic options for a selected measurement are saved locally within the cache of the frontend PC. If you select that the CPU (User) should be displayed as a line chart with blue color, then those settings will be applied in each system as long as you do not clear the browser cache.
In order to select the graphic options, you need to hover the mouse over the graphic until a data point is highlighted as shown in the screenshot below or click on the legend if multiple series are available.
then just left-click and a modal popup will appear where you can configure the following settings.
Available Parameters/Options are:
- Axis (left/right)
- Size/Style (point size or line width) and Style (linear/steps/spline)
- Graphic Type (Scatter/Line, Bar, Area)
- Mode (Line, Marker, Line+Marker)
with the color selector you can select the color for the selected data series
Here we can define how the data points are connected. Available options are
- Linear (points are connected with direct lines)
- Steps (a horizontal line is drawn through the data points)
- Spline (a round bezier/spline curve is drawn through the data points)
One can choose between three different chart types: Bar-Charts, Scatter/Line Charts and Area Charts.
With Opacity one can influence how transparent the colors are drawn. The values are between 0 (invisible) to 1 (no transparency)
|Opacity = 0.10||Opacity = 0.50||Opacity = 0.90|
Here we can specify if we want to draw only a marker, a line or both, Marker and Lines
|Marker||Line||Marker + Line|
Only available if a Mode Marker or Line+Marker is selected. Available options are:
Additionally, one can select if the axis scaling is linear or logarithmic.
Additional Interactive Options (available when cursor is above graph)
Additional functionality is available if you hover the mouse over the graphic (upper right).
Hope you find this blog helpful. The intention of this blog is to give an overview of the transaction /SDF/SMON_DISPLAY which can directly display graphics for the data collected by the snapshot monitor /SDF/MON or /SDF/SMON.