19 lines
475 B
TypeScript
19 lines
475 B
TypeScript
export interface MetricWithDims<D> {
|
|
readonly namespace: string;
|
|
readonly metricName: string;
|
|
readonly statistic: string;
|
|
readonly dimensionsMap: D;
|
|
}
|
|
export declare class TransferMetrics {
|
|
static bytesInSum(this: void, dimensions: {
|
|
ServerId: string;
|
|
}): MetricWithDims<{
|
|
ServerId: string;
|
|
}>;
|
|
static bytesOutSum(this: void, dimensions: {
|
|
ServerId: string;
|
|
}): MetricWithDims<{
|
|
ServerId: string;
|
|
}>;
|
|
}
|