Commit 0460021
Feat/heartbeat count (#769)
<!-- Describe what has changed in this PR -->
**What changed?**
This adds a field for counting the total number of heartbeats given to
an activity, as received by the server (as an aside, this may be less
than the client activity.RecordHeartbeat() calls due to the client's
throttling of this call.
For this change, I'm just commandeering the work already done by
@fretz12.
<!-- Tell your future self why have you made these changes -->
**Why?**
This is to provide this information about the total number of heartbeats
in the DescribeActivity API call / CLi invocation.
<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
Should be backwards compatible.
<!-- If this breaks the Server, please provide the Server PR to merge
right after this PR was merged. -->
**Server PR**
Should be backwards compatible.
Co-authored-by: Fred Tzeng <fred.tzeng@temporal.io>1 parent 1515646 commit 0460021
3 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11443 | 11443 | | |
11444 | 11444 | | |
11445 | 11445 | | |
| 11446 | + | |
| 11447 | + | |
| 11448 | + | |
| 11449 | + | |
| 11450 | + | |
11446 | 11451 | | |
11447 | 11452 | | |
11448 | 11453 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8243 | 8243 | | |
8244 | 8244 | | |
8245 | 8245 | | |
| 8246 | + | |
| 8247 | + | |
| 8248 | + | |
8246 | 8249 | | |
8247 | 8250 | | |
8248 | 8251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| |||
0 commit comments