[
https://issues.apache.org/jira/browse/AURORA-653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14097807#comment-14097807
]
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: https://issues.apache.org/jira/browse/AURORA-653
> 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" anywhere.
> 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
(v6.2#6252)