Skip to content

Upgrade Container metric#10

Closed
antechrestos wants to merge 1 commit intocloudfoundry:masterfrom
antechrestos:patch-1
Closed

Upgrade Container metric#10
antechrestos wants to merge 1 commit intocloudfoundry:masterfrom
antechrestos:patch-1

Conversation

@antechrestos
Copy link
Copy Markdown

Following the diego client implementation, I added the following attributes to ContainerMetric

  • absoluteCPUUsage
  • absoluteCPUEntitlement
  • absoluteCPUEntitlement

@cf-gitbot
Copy link
Copy Markdown

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

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

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Mar 18, 2020

CLA Check
The committers are authorized under a signed CLA.

Added the following attributes to ContainerMetric

* absoluteCPUUsage
* absoluteCPUEntitlement
* absoluteCPUEntitlement
@antechrestos
Copy link
Copy Markdown
Author

@bradylove I don't know if this project is still alive. I've just spotted ContainerMetric missed some attributes

@pianohacker
Copy link
Copy Markdown

We're currently looking to deprecate this protocol in favor of the v2 envelope format (and, if suitable, access to logs and metrics via syslog/Prometheus endpoints). Could you tell me more about your use case?

@antechrestos
Copy link
Copy Markdown
Author

antechrestos commented Mar 19, 2020

@pianohacker Thank you for your quick reply.
I currently work on the [python api client library](https://github.com/cloudfoundry-community/cf-python-client] and had this need .
Instead of upgrading the proto file on my side, I ended on your repo.

Shall I directly use the v2 enveloppe proto to decode log message instead?

@MasslessParticle
Copy link
Copy Markdown

MasslessParticle commented Apr 8, 2020

It would be better to use the v2 envelopes, for sure. As @pianohacker mentioned, the v1 API is deprecated and we're avoiding making changes to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants