René's URL Explorer Experiment


Title: Network stats is null · Issue #382 · docker-java/docker-java · GitHub

Open Graph Title: Network stats is null · Issue #382 · docker-java/docker-java

X Title: Network stats is null · Issue #382 · docker-java/docker-java

Description: I'm using the StatsCmd to pull stats from a running docker container. All stats are present except for the network statistics. I'm testing against docker version 1.9 (machine/boot2docker) running with docker-java 2.1.2 2015-11-24 11:24:4...

Open Graph Description: I'm using the StatsCmd to pull stats from a running docker container. All stats are present except for the network statistics. I'm testing against docker version 1.9 (machine/boot2docker) running w...

X Description: I'm using the StatsCmd to pull stats from a running docker container. All stats are present except for the network statistics. I'm testing against docker version 1.9 (machine/boot2docker) r...

Opengraph URL: https://github.com/docker-java/docker-java/issues/382

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Network stats is null","articleBody":"I'm using the `StatsCmd` to pull stats from a running docker container. All stats are present except for the network statistics. I'm testing against docker  version 1.9  (machine/boot2docker) running with docker-java 2.1.2\n\n```\n2015-11-24 11:24:43,808 DEBUG r.c.v.c.e.docker.DockerExecutor [] []- Received stats #2: com.github.dockerjava.api.model.Statistics@2c1e3fba[read=2015-11-24T10:24:43.802284194Z\n,networkStats=\u003cnull\u003e,memoryStats={usage=14782464, max_usage=14782464, stats={active_anon=0, active_file=14635008, cache=14696448, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=9223372036854771712, inactive_anon=53248, inactive_file=57344, mapped_file=45056, pgfault=1713, pgmajfault=1, pgpgin=5048, pgpgout=1447, rss=53248, rss_huge=0, swap=0, total_active_anon=0, total_active_file=14635008, total_cache=14696448, total_inactive_anon=53248, total_inactive_file=57344, total_mapped_file=45056, total_pgfault=1713, total_pgmajfault=1, total_pgpgin=5048, total_pgpgout=1447, total_rss=53248, total_rss_huge=0, total_swap=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, failcnt=0, limit=1044160512},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=49152}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=49152}, {major=8, minor=0, op=Total, value=49152}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=2}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2}, {major=8, minor=0, op=Total, value=2}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=353197358, percpu_usage=[353197358, 0, 0, 0], usage_in_kernelmode=180000000, usage_in_usermode=20000000}, system_cpu_usage=54367350000000, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]\n```\n\nthe code which produces this is pretty much the one in the tests:\n\n```\n        dockerClient.statsCmd().withContainerId(id).exec(statsCallback);\n\n[..]\n\n private class StatsCallback extends ResultCallbackTemplate\u003cStatsCallback, Statistics\u003e {\n\n\n        List\u003cStatistics\u003e statisticsList = new LinkedList\u003c\u003e();\n\n        @Override\n        public void onNext(Statistics stats) {\n            LOG.debug(\"Received stats #{}: {}\", statisticsList.size(), stats);\n            LOG.debug(\"network {}\", stats.getNetworkStats());\n            statisticsList.add(stats);\n        }\n\n        public List\u003cStatistics\u003e getStatisticsList() {\n            return statisticsList;\n        }\n    }\n\n```\n\nDebug output\n\n```\n\n2015-11-24 11:35:32,799 DEBUG c.g.d.jaxrs.DockerCmdExecFactoryImpl [] []- 2 * Client response received on thread pool-2-thread-1\n2 \u003c 200\n2 \u003c Content-Length: -1\n2 \u003c Content-Type: application/json; charset=utf-8\n2 \u003c Date: Tue, 24 Nov 2015 10:35:32 GMT\n2 \u003c Server: Docker/1.9.0 (linux)\n2 \u003c Transfer-Encoding: chunked\n{\"read\":\"2015-11-24T10:35:32.802091898Z\",\"precpu_stats\":{\"cpu_usage\":{\"total_usage\":0,\"percpu_usage\":null,\"usage_in_kernelmode\":0,\"usage_in_usermode\":0},\"system_cpu_usage\":0,\"throttling_data\":{\"periods\":0,\"throttled_periods\":0,\"throttled_time\":0}},\"cpu_stats\":{\"cpu_usage\":{\"total_usage\":29378848,\"percpu_usage\":[29378848,0,0,0],\"usage_in_kernelmode\":0,\"usage_in_usermode\":20000000},\"system_cpu_usage\":56960550000000,\"throttling_data\":{\"periods\":0,\"throttled_periods\":0,\"throttled_time\":0}},\"memory_stats\":{\"usage\":122880,\"max_usage\":6160384,\"stats\":{\"active_anon\":49152,\"active_file\":16384,\"cache\":53248,\"hierarchical_memory_limit\":9223372036854771712,\"hierarchical_memsw_limit\":9223372036854771712,\"inactive_anon\":0,\"inactive_file\":0,\"mapped_file\":0,\"pgfault\":1764,\"pgmajfault\":0,\"pgpgin\":1499,\"pgpgout\":1474,\"rss\":49152,\"rss_huge\":0,\"swap\":0,\"total_active_anon\":49152,\"total_active_file\":16384,\"total_cache\":53248,\"total_inactive_anon\":0,\"total_inactive_file\":0,\"total_mapped_file\":0,\"total_pgfault\":1764,\"total_pgmajfault\":0,\"total_pgpgin\":1499,\"total_pgpgout\":1474,\"total_rss\":49152,\"total_rss_huge\":0,\"total_swap\":0,\"total_unevictable\":0,\"total_writeback\":0,\"unevictable\":0,\"writeback\":0},\"failcnt\":0,\"limit\":1044160512},\"blkio_stats\":{\"io_service_bytes_recursive\":[],\"io_serviced_recursive\":[],\"io_queue_recursive\":[],\"io_service_time_recursive\":[],\"io_wait_time_recursive\":[],\"io_merged_recursive\":[],\"io_time_recursive\":[],\"sectors_recursive\":[]},\"networks\":{\"eth0\":{\"rx_bytes\":51729,\"rx_packets\":41,\"rx_errors\":0,\"rx_dropped\":0,\"tx_bytes\":2205,\"tx_packets\":36,\"tx_errors\":0,\"tx_dropped\":0}}}\n```\n\nLE: \n\nit seems that the json field name is `networks` (plural) while [Statistics.java](https://github.com/docker-java/docker-java/blob/master/src/main/java/com/github/dockerjava/api/model/Statistics.java) expects `network` ( singular)\n","author":{"url":"https://github.com/cosu","@type":"Person","name":"cosu"},"datePublished":"2015-11-24T10:32:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/382/docker-java/issues/382"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ddcf980e-125c-25b2-56a2-e76d82e66d47
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id98E0:3DD152:31F1F5C:410A1AE:6974E686
html-safe-nonce797ac8a0b2a564130dcdf1cbaae3811ec292c8dd03f28600ffcce6572755961c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEUwOjNERDE1MjozMUYxRjVDOjQxMEExQUU6Njk3NEU2ODYiLCJ2aXNpdG9yX2lkIjoiODY2NTc0NDAzNTAxMzc4MTEyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac636bdf072c7789a210cd4f85bc83a4e3275f058d924886059d88cb94b4ba1ec8
hovercard-subject-tagissue:118577715
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/docker-java/docker-java/382/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bd1559e7cb2f06debe61bd230510dad03f2d880281018d90e1cb01942b250f3d/docker-java/docker-java/issues/382
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bd1559e7cb2f06debe61bd230510dad03f2d880281018d90e1cb01942b250f3d/docker-java/docker-java/issues/382
og:image:altI'm using the StatsCmd to pull stats from a running docker container. All stats are present except for the network statistics. I'm testing against docker version 1.9 (machine/boot2docker) running w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecosu
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
go-importgithub.com/docker-java/docker-java git https://github.com/docker-java/docker-java.git
octolytics-dimension-user_id7772003
octolytics-dimension-user_logindocker-java
octolytics-dimension-repository_id20415251
octolytics-dimension-repository_nwodocker-java/docker-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20415251
octolytics-dimension-repository_network_root_nwodocker-java/docker-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/docker-java/docker-java/issues/382#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-java%2Fdocker-java%2Fissues%2F382
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-java%2Fdocker-java%2Fissues%2F382
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=docker-java%2Fdocker-java
Reloadhttps://github.com/docker-java/docker-java/issues/382
Reloadhttps://github.com/docker-java/docker-java/issues/382
Reloadhttps://github.com/docker-java/docker-java/issues/382
docker-java https://github.com/docker-java
docker-javahttps://github.com/docker-java/docker-java
Notifications https://github.com/login?return_to=%2Fdocker-java%2Fdocker-java
Fork 1.1k https://github.com/login?return_to=%2Fdocker-java%2Fdocker-java
Star 3.2k https://github.com/login?return_to=%2Fdocker-java%2Fdocker-java
Code https://github.com/docker-java/docker-java
Issues 37 https://github.com/docker-java/docker-java/issues
Pull requests 49 https://github.com/docker-java/docker-java/pulls
Discussions https://github.com/docker-java/docker-java/discussions
Actions https://github.com/docker-java/docker-java/actions
Projects 0 https://github.com/docker-java/docker-java/projects
Security 0 https://github.com/docker-java/docker-java/security
Insights https://github.com/docker-java/docker-java/pulse
Code https://github.com/docker-java/docker-java
Issues https://github.com/docker-java/docker-java/issues
Pull requests https://github.com/docker-java/docker-java/pulls
Discussions https://github.com/docker-java/docker-java/discussions
Actions https://github.com/docker-java/docker-java/actions
Projects https://github.com/docker-java/docker-java/projects
Security https://github.com/docker-java/docker-java/security
Insights https://github.com/docker-java/docker-java/pulse
New issuehttps://github.com/login?return_to=https://github.com/docker-java/docker-java/issues/382
New issuehttps://github.com/login?return_to=https://github.com/docker-java/docker-java/issues/382
Network stats is nullhttps://github.com/docker-java/docker-java/issues/382#top
https://github.com/cosu
https://github.com/cosu
cosuhttps://github.com/cosu
on Nov 24, 2015https://github.com/docker-java/docker-java/issues/382#issue-118577715
Statistics.javahttps://github.com/docker-java/docker-java/blob/master/src/main/java/com/github/dockerjava/api/model/Statistics.java
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.