hashicorp / hashicorp/nomad

Batch job UI Timestamps and Duration

Open
#4,263 0 comments 0 reactions 0 assignees View on GitHub
theme/ui type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

This is a suggestion to add some information to the web UI for batch jobs.

One of my questions when on `/ui/jobs` with a batch job is "how long has this been running?" or "when did this start?"

![image](https://user-images.githubusercontent.com/846194/39727833-347048f0-5209-11e8-8cae-e495d141e0be.png)

Following this job to its specific page, eg `/ui/jobs/demo`:

![image](https://user-images.githubusercontent.com/846194/39727907-71433a6c-5209-11e8-826e-2ac19e08856d.png)

I'm still not seeing this type of information surfaced. I'm also more interested in the _dispatched_ job than the registered one. So if I click through to the dispatched job at the bottom and arrive at `/ui/jobs/demo%2Fdispatch-1525490256-cef8e537`:

![image](https://user-images.githubusercontent.com/846194/39727943-948625d4-5209-11e8-9dd0-172a7e80be68.png)

Clicking through again to task groups (eg `/ui/jobs/demo%2Fdispatch-1525490256-cef8e537/api`), I'm given a modified timestamp:

![image](https://user-images.githubusercontent.com/846194/39728016-dd99f14c-5209-11e8-8995-75dc14bb013f.png)

This sort gets me what I want, assuming there haven't been modifications since launch (with some UTC conversion! 😛) but it took me a while to get a clear answer to my original question -- "how long has this batch job been running?". A more thorough view is in the events or the task, again, deeper / more clicking.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.