ComposantsComponents › Logs & ErreursLogs & Errors
Reçoit les messages envoyés par les tFlowMeter du job et les sort sous forme de lignes, une par message, avec un schéma fixe de quinze colonnes : date, job, libellé, nombre de lignes. Sans lui, les tFlowMeter ne produisent rien.Receives the messages sent by the tFlowMeter of the job and outputs them as rows, one per message, with a fixed schema of fifteen columns: date, job, label, number of rows. Without it, the tFlowMeter produce nothing.
EntréeInput
Aucun flux : il commence son sous-job, déclenché par le job à la fin d'un flux mesuré.No flow: it starts its subjob, triggered by the job at the end of a measured flow.
SortieOutput
Un lien Main (une ligne par message) ou Iterate.One Main link (one row per message) or Iterate.
DéclencheursTriggers
On Subjob Ok On Subjob Error On Component Ok On Component Error Run ifOn Subjob Ok On Subjob Error On Component Ok On Component Error Run if
Le tFlowMeterCatcher n'est relié à rien d'autre que sa sortie. Il se déclenche tout seul quand le flux mesuré se termine.The tFlowMeterCatcher is connected to nothing but its output. It is triggered on its own when the measured flow ends.
Le schéma est fixe : la table de suivi a toujours les mêmes quinze colonnes, quel que soit le job.The schema is fixed: the tracking table always has the same fifteen columns, whatever the job.
tFlowMeter dans les flux à mesurer.Place one or more tFlowMeter in the flows to measure.tLogRow, un fichier ou une table.Connect its output to a tLogRow, a file or a table.Le libellé est celui de l'onglet Composant ; le nom technique, en gris, est celui du paramètre dans le fichier du job. Le composant n'a pas de paramètres avancés propres.The label is that of the Component tab; the technical name, in grey, is the parameter name in the job file. The component has no advanced settings of its own.
| ParamètreSetting | DéfautDefault | VisibleShown | Description |
|---|---|---|---|
| SchémaSchemaSCHEMA | 15 colonnes15 columns | ToujoursAlways | Le seul paramètre. Le schéma est en lecture seule : ni ajout, ni retrait, ni changement de type.The only setting. The schema is read-only: no addition, no removal, no type change. |
| ColonneColumn | TypeType | Longueur / modèleLength / pattern | ContenuContent |
|---|---|---|---|
momentmoment | DateDate | yyyy-MM-dd HH:mm:ssyyyy-MM-dd HH:mm:ss | Date et heure de création du message : la fin du flux du tFlowMeter.Date and time the message was created: the end of the flow of the tFlowMeter. |
pidpid | StringString | 2020 | Identifiant de cette exécution du job, tiré au hasard à chaque lancement.Identifier of this run of the job, drawn at random at every start. |
father_pidfather_pid | StringString | 2020 | Identifiant de l'exécution du job père. Égal à pid pour un job lancé seul.Identifier of the run of the parent job. Equal to pid for a job started on its own. |
root_pidroot_pid | StringString | 2020 | Identifiant de l'exécution du premier job de la chaîne. Égal à pid pour un job lancé seul.Identifier of the run of the first job of the chain. Equal to pid for a job started on its own. |
system_pidsystem_pid | LongLong | 88 | Numéro du processus Java dans le système d'exploitation.Number of the Java process in the operating system. |
projectproject | StringString | 5050 | Nom technique du projet.Technical name of the project. |
jobjob | StringString | 255255 | Nom du job.Name of the job. |
job_repository_idjob_repository_id | StringString | 255255 | Identifiant du job dans le référentiel du projet.Identifier of the job in the repository of the project. |
job_versionjob_version | StringString | 255255 | Version du job.Version of the job. |
contextcontext | StringString | 5050 | Environnement de contexte de l'exécution.Context environment of the run. |
originorigin | StringString | 255255 | Nom du tFlowMeter qui a envoyé le message (tFlowMeter_1).Name of the tFlowMeter that sent the message (tFlowMeter_1). |
labellabel | StringString | 255255 | Libellé du tFlowMeter : le nom de son lien d'entrée, ou son Libellé.Label of the tFlowMeter: the name of its input link, or its Label. |
countcount | IntegerInteger | 33 | Nombre de lignes passées par le tFlowMeter.Number of rows that went through the tFlowMeter. |
referencereference | IntegerInteger | 33 | Mode Relatif : nombre de lignes passées par le lien de référence. null en mode Absolu.Relative mode: number of rows that went through the reference link. null in Absolute mode. |
thresholdsthresholds | StringString | 255255 | Seuils du tFlowMeter : libellé|bas|haut|rouge|vert|bleu, séparés par #. Vide sans seuil.Thresholds of the tFlowMeter: label|low|top|red|green|blue, separated by #. Empty without thresholds. |
Le composant ne démarre pas avec le job. Le code généré l'appelle à la fin de chaque sous-job qui contient un tFlowMeter, une fois tous ses composants terminés ; il sort alors une ligne par message en attente, puis les oublie.The component does not start with the job. The generated code calls it at the end of each subjob containing a tFlowMeter, once all its components are finished; it then outputs one row per pending message, and forgets them.
Les colonnes du job (pid, project, job, context…) sont remplies par le tFlowMeterCatcher ; moment, origin, label, count et thresholds viennent du message.The columns of the job (pid, project, job, context…) are filled by the tFlowMeterCatcher; moment, origin, label, count and thresholds come from the message.
Le composant ne déclare aucune variable globale. Tout est dans les lignes qu'il produit.The component declares no global variable. Everything is in the rows it produces.
Il ne reçoit que les messages des tFlowMeter de son propre job : le modèle du tFlowMeter cherche les tFlowMeterCatcher dans le job où il se trouve (lu dans le modèle ; le cas d'un job fils lancé par tRunJob n'a pas été exécuté pour cette page).It only receives the messages of the tFlowMeter of its own job: the tFlowMeter template looks for the tFlowMeterCatcher in the job where it is (read in the template; the case of a child job started by tRunJob was not run for this page).
Sorties copiées telles quelles depuis une exécution des jobs (Java 21, Windows). Les durées, les dates et les identifiants d'exécution changent à chaque lancement : vous n'obtiendrez pas les mêmes valeurs.Outputs copied as is from a run of the jobs (Java 21, Windows). Durations, dates and run identifiers change at every run: you will not get the same values.
Cinq lignes dans le flux ; tFlowMeter par défaut ; tLogRow_2 en mode vertical (le tableau de tLogRow_1 n'est pas repris ici).Five rows in the flow; default tFlowMeter; tLogRow_2 in vertical mode (the table of tLogRow_1 is not repeated here).
.----------------------------------------------. | #1. tLogRow_2 | +-------------------+--------------------------+ | key | value | +-------------------+--------------------------+ | moment | 2026-11-18 14:31:31 | | pid | D8zml7 | | father_pid | D8zml7 | | root_pid | D8zml7 | | system_pid | 14156 | | project | DEMO | | job | JOB_DocLC_Meter_A_defaut | | job_repository_id | _PNRgfNd8G64ddu7PhAGwEB | | job_version | 0.1 | | context | Default | | origin | tFlowMeter_1 | | label | row1 | | count | 5 | | reference | null | | thresholds | | +-------------------+--------------------------+
pid, father_pid et root_pid sont identiques : le job a été lancé seul. project est le nom technique du projet Demo.pid, father_pid and root_pid are identical: the job was started on its own. project is the technical name of the Demo project.
tLogRow_2 dans son mode par défaut : les quinze colonnes sur une ligne, séparées par |.tLogRow_2 in its default mode: the fifteen columns on one line, separated by |.
2026-11-18 14:31:36|yBIUgO|yBIUgO|yBIUgO|24624|DEMO|JOB_DocLC_Meter_C_basique|_wUj_D0X38jIxV9NyEAbrIB|0.1|Default|tFlowMeter_1|row1|5||
reference (null) et thresholds (vide) n'affichent rien : la ligne se termine par deux séparateurs.reference (null) and thresholds (empty) display nothing: the line ends with two separators.
Le premier sous-job (5 lignes, libellé "First") lance le second (2 lignes, "Second") par On Subjob Ok, puis un tJava écrit End of the job. tLogRow_3 ne garde que label et count et affiche son nom.The first subjob (5 rows, label "First") starts the second one (2 rows, "Second") with On Subjob Ok, then a tJava writes End of the job. tLogRow_3 only keeps label and count and displays its name.
1|Paris 2|Lyon 3|Lille 4|Nantes 5|Brest [tLogRow_3] First|5 1|Paris 2|Lyon [tLogRow_3] Second|2 End of the job
Chaque message sort dès la fin de son sous-job, avant le sous-job suivant, et non à la fin du job.Each message comes out as soon as its subjob ends, before the next subjob, and not at the end of the job.
Le job du premier exemple avec un second tFlowMeterCatcher suivi de son tLogRow, tous deux en mode basique :The job of the first example with a second tFlowMeterCatcher followed by its tLogRow, both in basic mode:
2026-11-18 14:32:07|5A3znt|5A3znt|5A3znt|76980|DEMO|JOB_DocLC_Meter_K_deux_catchers|_I81MgxEy2QS90Rlfwo4FiA|0.1|Default|tFlowMeter_1|row1|5|| 2026-11-18 14:32:07|5A3znt|5A3znt|5A3znt|76980|DEMO|JOB_DocLC_Meter_K_deux_catchers|_I81MgxEy2QS90Rlfwo4FiA|0.1|Default|tFlowMeter_1|row1|5||
Chaque tFlowMeterCatcher reçoit sa copie du message : l'un peut écrire dans la console, l'autre dans une table.Each tFlowMeterCatcher receives its copy of the message: one can write to the console, the other to a table.
Deux tFlowMeter dans le même flux, avant et après un filtre ; le second est en mode Relatif avec row1 pour référence.Two tFlowMeter in the same flow, before and after a filter; the second one is in Relative mode with row1 as reference.
.-------------------+------+----------+--------+----------+-------+----------------------+-----------------------+-----------+-------+------------+-----+-----+---------+----------. | tLogRow_2 | |=------------------+------+----------+--------+----------+-------+----------------------+-----------------------+-----------+-------+------------+-----+-----+---------+---------=| |moment |pid |father_pid|root_pid|system_pid|project|job |job_repository_id |job_version|context|origin |label|count|reference|thresholds| |=------------------+------+----------+--------+----------+-------+----------------------+-----------------------+-----------+-------+------------+-----+-----+---------+---------=| |2026-11-18 14:32:01|WRdcvF|WRdcvF |WRdcvF |38948 |DEMO |JOB_DocLC_Meter_I_deux|_86jvrDN6MuxFtzqZZoW5aB|0.1 |Default|tFlowMeter_1|Read |5 |null | | |2026-11-18 14:32:01|WRdcvF|WRdcvF |WRdcvF |38948 |DEMO |JOB_DocLC_Meter_I_deux|_86jvrDN6MuxFtzqZZoW5aB|0.1 |Default|tFlowMeter_2|Kept |2 |5 | | '-------------------+------+----------+--------+----------+-------+----------------------+-----------------------+-----------+-------+------------+-----+-----+---------+----------'
Si le sous-job mesuré s'arrête sur une erreur, le tFlowMeter n'envoie pas son message et le tFlowMeterCatcher n'est pas appelé : aucune ligne, même pour les lignes déjà passées. Voir l'exemple sur la page du tFlowMeter.If the measured subjob stops on an error, the tFlowMeter does not send its message and the tFlowMeterCatcher is not called: no row, even for the rows already through. See the example on the tFlowMeter page.
Il ne capte que les messages des tFlowMeter. Les erreurs vont au tLogCatcher, les statistiques des composants au tStatCatcher.It only catches the messages of the tFlowMeter. Errors go to the tLogCatcher, component statistics to the tStatCatcher.
reference est un nombre de lignes, pas un taux. Le rapport count / reference est à calculer après, dans un tMap ou dans l'outil qui lit la table.reference is a number of rows, not a rate. The count / reference ratio is to be computed afterwards, in a tMap or in the tool reading the table.
Le modèle de date du schéma s'arrête à la seconde : deux messages d'un même flux portent le même moment. Utilisez origin pour les distinguer.The date pattern of the schema stops at the second: two messages of the same flow carry the same moment. Use origin to tell them apart.
Quinze colonnes sur une ligne se lisent mal : pendant la mise au point, réglez le tLogRow en mode vertical, ou retirez de son schéma les colonnes inutiles.Fifteen columns on one line are hard to read: while developing, set the tLogRow to vertical mode, or remove the useless columns from its schema.
pid est le même pour tous les messages d'une exécution, et change à la suivante : c'est la clé pour regrouper les comptes d'un même lancement dans une table de suivi.pid is the same for all the messages of a run, and changes at the next one: it is the key to group the counts of one run in a tracking table.
tFlowMeter · produit les messagesproduces the messagestLogRow · afficher les messages dans la consoledisplay the messages in the consoletLogCatcher · capter les erreurs et avertissementscatch errors and warningstStatCatcher · capter les statistiques des composantscatch the statistics of componentstAssertCatcher · capter les résultats des tAssertcatch the results of the tAsserttFileOutputDelimited · garder les comptes dans un fichierkeep the counts in a file