Skip to content

last_seen in worker info page #2595

@quasiben

Description

@quasiben

When workers die or halted it can be useful to see when that worker was last seen by the scheduler. We should bubble this information up to the dashboard

client.scheduler_info()

'tcp://172.17.0.2:43161': {'type': 'Worker',
   'id': 'tcp://172.17.0.2:43161',
   'host': '172.17.0.2',
   'resources': {},
   'local_directory': '/notebooks/dask-worker-space/worker-k540965f',
   'name': 'tcp://172.17.0.2:43161',
   'ncores': 1,
   'memory_limit': 67619300864,
   'last_seen': 1554412409.6942942,
   'services': {'nanny': 46010, 'bokeh': 34120},
   'metrics': {'cpu': 101.7,
    'memory': 472141824,
    'time': 1554412409.1895998,
    'read_bytes': 10374.966431182967,
    'write_bytes': 38095.74065486942,
    'num_fds': 69,
    'executing': 1,
    'in_memory': 2,
    'ready': 2,
    'in_flight': 1}}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueClearly described and easy to accomplish. Good for beginners to the project.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions