Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Latest commit

 

History

History

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

framework

customizing

transaction ZAMP_CONFIG

customizing example provider

ustomizing example provider

authorization checks

All checks are in class zcl_amp_auth_checker.

Checks are implemented for the provider, scraper and the deleting programm of the metrics store.

The authorization object ZAMP_AUTH is used in each case, with the field values PROVIDER, SCRAPER, DELETER.

compontent provider

modul collector

A collector is a class with the interface zif_amp_collector.

This classes can be assigned to a scenario.

compontent scrapper

modul converter

The converter get the scenario from the URL parameter scenario. The URL should look like http://vhcalnplci:8000/amp/metrics?sap-client=001&scenario=test

All predefined converter are listed in this UML.

metrics

The collectors classes are marked with a C e.g. zcl_amp_c_runtime_errors.

All collectors are in this UML

runtimte errors (ST22)

zcl_amp_c_runtime_errors

Selects all runtime errors from the table SNAP for the current Day.

jobs (SM37)

zcl_amp_c_jobs

Selects all jobs for the current Day and create a metric for each status.

workloads (ST03N)

zcl_amp_c_workloads

Select the workload of the system.

SQL monitor data (SQLM)

zcl_amp_c_sql_monitor

Selects the sum of total DB time for the top five statements in the last hour.

transactional RFCs (SM58)

zcl_amp_c_transactional_rfcs

Selects the transactional RFCs for the current Day and create a metric for each status.

queued RFCs (SMQ1/SMQ2)

zcl_amp_c_queued_rfcs

Selects the queued RFCs (inbound and outbound) for the current Day and create a metric for each status.

transport states (STMS)

zcl_amp_c_transport_states

Selects the transport states for the current Day and create a metric for command and return code.

Business Application Log (BAL)

zcl_amp_c_bal_logs

Counts all logs for the current day and groups by Object and Subobject. Also provides the number of different message types per Bal Object.

Batch Input Jobs (SM35)

zcl_amp_c_batch_input

Collect count of batch sessions for the current day.

work processes (SM50/SM51)

zcl_amp_c_work_processes

Collect count of all work process types of all servers