Some metrics are being emitted using Twill run id

Description

Some metrics like system.resources.used.containers, system.resources.used.memory and system.resources.used.vcores are emitted using Twill run id or Twill internal id for a container.

Twill run ids are not exposed through CDAP and does not make sense to our users. We should instead use CDAP run id and/or instance id for such metrics.

For instance -

In the above query -

  • 78341031-3bdc-11e5-8bd2-42010af04085 is CDAP run id

  • 88725e7e-84e5-423b-91a6-9bff35ae2fec is Twill run id

  • c4c3e063-44d4-402c-aff7-01d8491dee36-0, 872bbf5c-355f-4293-b2f4-954b1f867b76-0 and e7e25178-4c8c-434e-b16c-6b9c1559b0c5-0 are Twill internal container run ids.

Release Notes

None

Activity

Show:
Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Components

Priority

Created August 6, 2015 at 2:01 AM
Updated June 9, 2020 at 1:27 AM
Resolved June 9, 2020 at 1:27 AM