Files
weave-scope/client/app/scripts/components/node-details/node-details-table-node-metric.js
David Kaltschmidt 7d73590ced Enable metric feeder also for health overflow items
* tried activating it for child tables too, but that became quite CPU
  intensive, and feed intervals became out of sync (host CPU < container
  CPU, which is hard to believe)
2016-02-04 17:17:11 +01:00

16 lines
347 B
JavaScript

import React from 'react';
import { formatMetric } from '../../utils/string-utils';
class NodeDetailsTableNodeMetric extends React.Component {
render() {
return (
<td className="node-details-table-node-metric">
{formatMetric(this.props.value, this.props)}
</td>
);
}
}
export default NodeDetailsTableNodeMetric;