// 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