aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik van Roode (JIRA)" <>
Subject [jira] [Commented] (AURORA-653) Make Job.instances value available through the IDL
Date Thu, 14 Aug 2014 22:27:18 GMT


Erik van Roode commented on AURORA-653:

correct. I want the original value so I can keep an eye on application health (detect instances
not restarting).

So if one instance out of 5 dies and doesn't restart: (5-1)/5=0.8. Multiple by 100 to get
a percentage if needed.

> Make Job.instances value available through the IDL
> --------------------------------------------------
>                 Key: AURORA-653
>                 URL:
>             Project: Aurora
>          Issue Type: Story
>          Components: Scheduler
>            Reporter: Erik van Roode
> Why:
>   I would like to be able to determine the health of an app, as in the ratio of how many
instances are running
> and how many instances were configured to run (Job.instances).
>   I can find the "Active" number in various places, but I cannot find the "Configured"
> As far as I can tell every instance of "Instances/instanceCount" is actually the number
of active jobs/tasks.
>    Eg, JobConfiguration contains instanceCount, but it is not Job.instances. I created
a job with 5 instances,
> killed one, and instanceCount dropped to 4.

This message was sent by Atlassian JIRA

View raw message