Topics

[Proposal] Deprecation /containermetrics endpoint on the loggregator_trafficcontroller

Johannes Tuchscherer
 

Hi there,

we haven't heard from anyone who is currently consuming the /containermetrics endpoint. We went ahead an removed it. It will be gone as of loggregator release 105.

Please let us know if you have any questions. You can reach us in the Cloud Foundry slack in the #loggregator channel.

Best,
Johannes

On Mon, Feb 4, 2019 at 12:03 PM Johannes Tuchscherer <jtuchscherer@...> wrote:
Hi there,

the loggregator team would like to remove the /containermetrics endpoint on the loggregator_trafficcontroller (see here: https://github.com/cloudfoundry/loggregator-release/blob/master/docs/trafficcontroller.md#endpoints). This endpoint originally was introduced as an endpoint for the Cloud Controller to fetch metrics about the running container.
As of cf-deployment v7.2 (https://github.com/cloudfoundry/cf-deployment/releases/tag/v7.2.0), Cloud Controller now reaches out to log-cache to fetch the container metrics. 
Therefore, we would like to remove this endpoint to keep our API and code base lean and clean. If there are consumers of this endpoint besides the Cloud Controller, please let us know. 

Thanks,
Johannes

Johannes Tuchscherer
 

Hi there,

the loggregator team would like to remove the /containermetrics endpoint on the loggregator_trafficcontroller (see here: https://github.com/cloudfoundry/loggregator-release/blob/master/docs/trafficcontroller.md#endpoints). This endpoint originally was introduced as an endpoint for the Cloud Controller to fetch metrics about the running container.
As of cf-deployment v7.2 (https://github.com/cloudfoundry/cf-deployment/releases/tag/v7.2.0), Cloud Controller now reaches out to log-cache to fetch the container metrics. 
Therefore, we would like to remove this endpoint to keep our API and code base lean and clean. If there are consumers of this endpoint besides the Cloud Controller, please let us know. 

Thanks,
Johannes