UNPKG

@hashgraph/solo

Version:

An opinionated CLI tool to deploy and manage private Hedera Networks.

18 lines 650 B
// SPDX-License-Identifier: Apache-2.0 import { Metrics } from './metrics.js'; export class PodMetrics extends Metrics { namespace; podName; constructor(namespace, podName, cpuInMillicores, memoryInMebibytes) { super(cpuInMillicores, memoryInMebibytes); this.namespace = namespace; this.podName = podName; } toString() { return (`{"namespace": "${this.namespace.name}", ` + `"podName": "${this.podName.name}", ` + `"cpuInMillicores": ${this.cpuInMillicores}, ` + `"memoryInMebibytes": ${this.memoryInMebibytes}}`); } } //# sourceMappingURL=pod-metrics.js.map