Closed chancefeick closed 8 years ago
Discussed with @chancefeick in Slack, we should try to keep the interface metrics distinct. We'll have to update our prefabs too.
As discussed in our 1:1, let's continue with the aggregated statistics as originally intended (prior to my last comment). However, we need to support both API formats (pre- and post-v1.21).
@obfuscurity handling backward compatibility in af6c19e217619ea1492af69397833b1808d7fe52. Looks good while testing on docker version: 1.9.1/API version: 1.21
and docker version: 1.7.1/API version: 1.19
.
Looks good, thanks!
Bugfix for network stats. Docker Remote API v1.21 introduced the following breaking change:
Builds aggregated network stats for all network interfaces from new
"networks"
key. Maintains legacy metric namespace (librato.docker.network
) to prevent any breaking changes to existing dashboards.