Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: net_info in detailed stats is undocumented #655

Closed
twoseat opened this issue Jul 28, 2016 · 2 comments
Closed

Doc: net_info in detailed stats is undocumented #655

twoseat opened this issue Jul 28, 2016 · 2 comments
Labels

Comments

@twoseat
Copy link

twoseat commented Jul 28, 2016

Issue

The documentation for 'Get detailed stats for a STARTED App' (http://apidocs.cloudfoundry.org/239/apps/get_detailed_stats_for_a_started_app.html) does not mention a net_info object, but one is being returned.

Steps to Reproduce

$ cf curl v2/apps/6a5601d5-ae48-4b5c-b440-580b245bb4f0/stats
{
   "0": {
      "state": "RUNNING",
      "stats": {
         "name": "test-application-lclah",
         "uris": [
            "test-application-lclah.xxxx"
         ],
         "host": "x.x.x.x",
         "port": xxxx,
         "net_info": {
            "address": "x.x.x.x",
            "ports": [
               {
                  "container_port": xxxx,
                  "host_port": xxxxx
               },
               {
                  "container_port": xxxx,
                  "host_port": xxxxx
               }
            ]
         },
         "uptime": xx,
         "mem_quota": 536870912,
         "disk_quota": 536870912,
         "fds_quota": 16384,
         "usage": {
            "time": "2016-07-28T09:31:15.164895799Z",
            "cpu": 0.0018390040377131692,
            "mem": 321777664,
            "disk": 170438656
         }
      }
   }
}

(Customer Ref: cloudfoundry/cf-java-client#540)

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/127270725

The labels on this github issue will be updated when the story is started.

@thausler786
Copy link
Contributor

@twoseat,

Thanks for bringing this to our attention! This field was added unintentionally so we've decided to remove it instead of adding it to the documentation. This work was done in 7685f6f, so if you continue to encounter the net_info field on this endpoint in the future please feel free to reopen this issue.

Best,

@thausler786
CAPI team member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants