Skip to content

Operator-visible logging for the live runner lifecycle #24

@rickstaa

Description

@rickstaa

What

Add operator-visible logging for the live runner lifecycle, so "is my runner connected, and at what price?" can be read from logs instead of inferred from /discovery.

Lifecycle events to surface:

Dynamic runners

  • live runner registered — new-runner branch of Heartbeat
  • live runner deregistered — with a reason (heartbeat timeout on crash/OOM/network loss/hard kill, unregister on graceful SDK shutdown)

Static runners

  • static live runner registered — first registration only
  • static live runner health changed — on ready <-> unavailable transitions

Pricing

  • live runner price set — debug level, on first set and on actual change

Why

Better logging makes the runner lifecycle observable for developers and operators running the live runner via the Python SDK.

Implementation

The go-livepeer side is implemented in livepeer/go-livepeer#3943.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions