Collecting microservice metrics - Cloud

Talend Remote Engine User Guide for Linux

author
Talend Documentation Team
EnrichVersion
Cloud
EnrichProdName
Talend Cloud
task
Design and Development
Installation and Upgrade
EnrichPlatform
Talend Remote Engine
When an Artifact is deployed, a limited set of metric data from its execution is collected in Talend Remote Engine - Data Service Runner and accessible in Talend Cloud Management Console.

Before you begin

You must provide the metric_path context parameter as part of your Task definition in Talend Cloud Management Console, and provide a value for it in when deploying the Task. The value of the metric_path parameter is used to look up the JMX-MBean/Jolokia URL of the Data Service or Route specific metric.

Use the name of the REST Data Service Artifact as the value of the metric_path parameter. For microservice Routes, this parameter is optional, but it is recommended to set within each Data Service and Route Task you want to collect and view metric data for in Talend Cloud Management Console.

About this task

For Data Services, the following metrics are captured:
  • OneMinuteRate
  • FiveMinuteRate
  • FifteenMinute
  • Count
For Routes, the following metrics are captured:
  • Context_ExchangesCompleted
  • Context_ExchangesFailed
  • Context_ExchangesTotal
  • Context_MeanProcessingTime
  • Context_LastProcessingTime

Metric collection is enabled by default. When the Remote Engine is restarted, metric collection start again automatically. However, the metric values above, for example, Count for Service Calls or Context_ExchangesTotal, will be 0, as the JMX metric represents the number since the last start operation, not the total number over time.

Procedure

To change the polling interval (in seconds), edit the metric.collection.interval property in the org.talend.ipaas.rt.dsrunner.metrics.collector.cfg file.
60
default value
0
the metric collection is disabled
10
minimum value
900
maximum value