Skip to content

Commit

Permalink
fix: add time fragment to alarms and events (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller authored Jun 27, 2023
1 parent a6b80f0 commit 580c2d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions routes/proposal1/telemetry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ routes:
message: tedge.getExternalDeviceSource(topic, meta) + {
type: tedge.getType(topic),
text: message.text,
time: std.native('Now')(),
} + message,
}
Expand All @@ -86,6 +87,7 @@ routes:
message: tedge.getExternalServiceSource(topic, meta) + {
type: tedge.getType(topic),
text: message.text,
time: std.native('Now')(),
} + message,
}
Expand All @@ -106,6 +108,7 @@ routes:
message: tedge.getExternalDeviceSource(topic, meta) + {
type: tedge.getType(topic),
severity: 'CRITICAL', // default
time: std.native('Now')(),
} + message,
}
Expand All @@ -125,6 +128,7 @@ routes:
message: tedge.getExternalServiceSource(topic, meta) + {
type: tedge.getType(topic),
severity: 'CRITICAL', // default
time: std.native('Now')(),
} + message,
}
Expand Down

0 comments on commit 580c2d6

Please sign in to comment.