@flxbl-io/sfp
Version:
sfp is a CLI tool to help you manage your Salesforce projects in an artifact centric model
16 lines (15 loc) • 569 B
TypeScript
import { Logger } from '@flxbl-io/sfp-logger';
export declare abstract class NativeMetricSender {
protected logger: Logger;
constructor(logger: Logger);
abstract initialize(apiHost: string, apiKey: string): void;
abstract sendGaugeMetric(metric: string, value: number, tags: string[] | {
[key: string]: string;
}): void;
abstract sendCountMetric(metric: string, tags: string[] | {
[key: string]: string;
}): void;
protected transformTagsToStringArray(tags: {
[key: string]: string;
} | string[]): string[];
}