Add instance_guid field in Process Stats response#2831
Conversation
|
@Gerg some additional context for this change: On Korifi we're wanting to support workloads other than |
|
I'm putting this into draft state. I was looking at the AppRecipeBuilder and noticed that |
|
It's a little odd that we call index
|
|
Yeah, I started calling it |
|
What about just |
f701464 to
5d7ac94
Compare
|
cc @zrob |
f87a6a9 to
519b8ce
Compare
I went with |
- Display the Diego instance identifier as part of the Process Stats response. This id is unique for each actual LRP instance and can be used as a substitute for the integer index id. - Issue: #2819
519b8ce to
1a39571
Compare
|
The docs failure is unrelated to my change. It looks like some of the npm packages we're using for the doc link checker are not working with modern node.js? I don't have much experience with all that so not sure, but I feel like we can ignore this for this PR. |
Changes in cloud_controller_ng:
- Add instance_guid field in Process Stats response
PR: cloudfoundry/cloud_controller_ng#2831
Author: Tim Downey <tcdowney@users.noreply.github.com>
A short explanation of the proposed change:
response. This id is unique for each actual LRP instance and can be used
as a substitute for the integer index id.
variant of the instances stats reporter returns an empty string for this
field. In the future, if Eirini is enhanced to provide this we can
update that client.
instance_idin Process Stats response #2819An explanation of the use cases your change solves:
The issue (#2819) describes this use case in more detail. The summary though is this can help developers debug their apps (this id is logged by app containers) and provide a pathway for clients to provide other container ids than just the integer index.
I have reviewed the contributing guide
I have viewed, signed, and submitted the Contributor License Agreement
I have made this pull request to the
mainbranchI have run all the unit tests using
bundle exec rakeI have run CF Acceptance Tests