Package de.dlr.proseo.monitor.apimetrics
Class Metrics
java.lang.Object
de.dlr.proseo.monitor.apimetrics.Metrics
This class contains the functions to calculate each metric
- Author:
- Ernst Melchinger
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringString constantsstatic final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionMetrics(MonitorConfiguration config, org.springframework.transaction.PlatformTransactionManager txManager, jakarta.persistence.EntityManager em) Constructor of a Metric instance -
Method Summary
Modifier and TypeMethodDescriptionvoidCumulative size ofby of mission platform ( . ) downloaded (by ) in Bytes One entry for the complete time period voidoriginToPublication(Duration period) Daily/monthly minimum, maximum and average time difference in seconds between OriginDate and PRIP PublicationDate ofof mission platform ( . ) (sliding window of 24 hours/1 month). voidCumulative volume of data produced byfor mission platform ( . ) in Bytes One entry for the complete time period voidvoidsensingToPublication(Duration period) Daily/monthly minimum, maximum and average time difference in seconds between sensing time (ContentDate/End) and PRIP PublicationDate ofof mission platform ( . ) (sliding window of 24 hours/1 month). voidsubmissionToCompletedOrder(Duration period) Minimum, maximum and average time from ProductionOrder SubmissionDate to CompletedDate on the On-Demand PRIP (sliding window of 24 hours/1 month)
-
Field Details
-
N_SIZE
String constants- See Also:
-
N_COUNT
- See Also:
-
N_FAILED
- See Also:
-
N_COMPLETED
- See Also:
-
N_SENSING_TO_PUBLICATION
- See Also:
-
N_ORIGIN_TO_PUBLICATION
- See Also:
-
N_SUBMISSION_TO_COMPLETION
- See Also:
-
N_DOWNLOAD
- See Also:
-
N_DAILY
- See Also:
-
N_MONTHLY
- See Also:
-
N_MIN
- See Also:
-
N_MAX
- See Also:
-
N_AVG
- See Also:
-
N_TIME
- See Also:
-
-
Constructor Details
-
Metrics
public Metrics(MonitorConfiguration config, org.springframework.transaction.PlatformTransactionManager txManager, jakarta.persistence.EntityManager em) Constructor of a Metric instance- Parameters:
config- The monitor configurationtxManager- The transaction managerem- The JPA entity manager
-
-
Method Details
-
producedBytesAndCountForType
public void producedBytesAndCountForType() -
producedBytesAndCount
public void producedBytesAndCount()Cumulative volume of data produced byfor mission platform ( . ) in Bytes One entry for the complete time period -
downloadSize
public void downloadSize()Cumulative size ofby of mission platform ( . ) downloaded (by ) in Bytes One entry for the complete time period -
sensingToPublication
Daily/monthly minimum, maximum and average time difference in seconds between sensing time (ContentDate/End) and PRIP PublicationDate ofof mission platform ( . ) (sliding window of 24 hours/1 month). This is only applicable to the Systematic Production. - Parameters:
period- The period to retrieve
-
originToPublication
Daily/monthly minimum, maximum and average time difference in seconds between OriginDate and PRIP PublicationDate ofof mission platform ( . ) (sliding window of 24 hours/1 month). This is only applicable to the Systematic Production. - Parameters:
period- The period to retrieve
-
submissionToCompletedOrder
Minimum, maximum and average time from ProductionOrder SubmissionDate to CompletedDate on the On-Demand PRIP (sliding window of 24 hours/1 month)- Parameters:
period- The period to retrieve
-