chore(deps): observability 0.9.0 for the /health timing fields - #86
Merged
Conversation
Adds timings, durationMs, checkedAt, instance and reasons to this service's /health envelope, and bounds the facts producer with a timeout. Additive; no source changes needed.
|
✅ CI - Verify PASSED Commit:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Picks up
@agentage/observability@0.9.0, which adds five fields to the/healthenvelope:timings(per check, plus facts),durationMs,checkedAt,instanceandreasons.They answer questions the status word cannot: whether a check ran a real query or returned a memoized value, whether the payload was computed now or served from a cache, how much of a probe’s round trip was the service versus the wire, and whether two differing responses mean a cache, a redeploy or a second replica.
The admin console reads and explains them (agentage/admin#43). Until each service is on 0.9.0 its row simply shows what it shows today, so this bump is what makes the console useful for this service.
Also in 0.9.0: the facts producer is now bounded by a timeout like every check already was. Unbounded, a fact off a wedged database outlives the container
HEALTHCHECK --timeoutand Swarm kills a task that was only ever slow to count rows.No source changes - additive fields, and nothing here references the kit types directly.