mirror of
https://github.com/weaveworks/scope.git
synced 2026-05-05 00:39:04 +00:00
* 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)
16 lines
347 B
JavaScript
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;
|