diff options
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/notifications.ts | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/packages/taler-util/src/notifications.ts b/packages/taler-util/src/notifications.ts index d0095dcd2..023eb8ef4 100644 --- a/packages/taler-util/src/notifications.ts +++ b/packages/taler-util/src/notifications.ts @@ -111,17 +111,18 @@ export interface RequestProgressNotification { export enum ObservabilityEventType { HttpFetchStart = "http-fetch-start", - HttpFetchFinishError = "http-fetch-finish-success", - HttpFetchFinishSuccess = "http-fetch-finish-error", + HttpFetchFinishError = "http-fetch-finish-error", + HttpFetchFinishSuccess = "http-fetch-finish-success", DbQueryStart = "db-query-start", - DbQueryFinishSuccess = "db-query-finish-error", - DbQueryFinishError = "db-query-finish-success", + DbQueryFinishSuccess = "db-query-finish-success", + DbQueryFinishError = "db-query-finish-error", RequestStart = "request-start", RequestFinishSuccess = "request-finish-success", RequestFinishError = "request-finish-error", - TaskStart = "start-task", - TaskStop = "stop-task", - TaskReset = "reset-task", + TaskStart = "task-start", + TaskStop = "task-stop", + TaskReset = "task-reset", + ShepherdTaskResult = "sheperd-task-result", DeclareTaskDependency = "declare-task-dependency", CryptoStart = "crypto-start", CryptoFinishSuccess = "crypto-finish-success", @@ -194,6 +195,10 @@ export type ObservabilityEvent = | { type: ObservabilityEventType.CryptoFinishError; operation: string; + } + | { + type: ObservabilityEventType.ShepherdTaskResult; + resultType: string; }; export interface BackupOperationErrorNotification { |