llnl / llnl/cmvl

Are we misuing the ECS "event" fields?

Open
#14 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

@cmoussa1 @cdefrates I wonder if we are misusing the "event.*" fields in the HPC Job Scheduler Event Schema. Granted, the definition of an "event" is a bit nebulous, but in my mind events are more of a discrete-moment-in-time sort of thing. And events have "duration", and start/end times in ECS, so that starts to make them look like something we can use/abuse for our purposes. But it may not be correct to model long-running activities as "events".

For instance, I would say that the HPC Job Scheduler Event Schema is really associated with the job completion event. And we should keep in mind that there are lots of other events that we will be capturing for a job during its lifetime: job submission, schedule, prologue, launch, epilogue, etc.

Maybe the start/stop/duration of the job should be moved under the "job." namespace? That would free up the event.* fields to measure things associate with just the job completion event.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the HPC Job Scheduler Event Schema and the existing event.* and job.* fields referenced in the issue. Compare those fields with the job lifecycle events listed—submission, scheduling, prologue, launch, epilogue, and completion. Done means reaching and documenting a decision on where long-running job timing belongs.

Written by the indexing model from the issue text.

Assessment

Tech stack
hpc
Domain
hpc
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.