export custom metrics

This commit is contained in:
2025-12-17 11:17:46 +01:00
parent 31dd5ec559
commit dec195e619

View File

@@ -66,6 +66,24 @@ abstract class Action extends Entity
];
}
public function exportMetrics(
?string $entry = null,
?array $entries = null,
?string $filter = null,
?array $metrics = null
)
{
return [
'json' => [
'type' => 'export-metrics',
'entry' => $entry,
'entries' => $entries,
'filter' => $filter,
'metrics' => $metrics,
],
];
}
public function error(string $message)
{
return [