import QosMonitor from './QosMonitor'; /** * Object members correspond to auto alerting monitors. * Information about monitors: https://onedrive.visualstudio.com/WEX!/_wiki/wikis/WEX!.wiki/30583/Current-Monitors * * @internal */ export declare const AutoAlertableMonitorType: { /** * If QoS drops below a static threshold of 95 for a period, a sev 4 is fired. */ readonly StaticReliabilityQos95Sev4: "StaticReliabilityQos95Sev4"; /** * If QoS drops below some dynamic threshold "Medium" sensitivity (as defined by Geneva) * calculated from historical monitor data, a sev 4 is fired. */ readonly DynamicReliabilityQosMediumSev4: "DynamicReliabilityQosMediumSev4"; /** * If the number of expected errors increases past a "High" dynamic threshold sensitivity * (as defined by Geneva) calculated from historical monitor data OR QoS drops below some * dynamic threshold "Medium" sensitivity, a sev 4 is fired. */ readonly DynamicReliabilityExpectedFailureHighSev4: "DynamicReliabilityExpectedFailureHighSev4"; }; /** * The type members represent the alerting monitors. * * @internal */ export type AutoAlertableMonitorType = (typeof AutoAlertableMonitorType)[keyof typeof AutoAlertableMonitorType]; /** * Qos logger which enforces using an existing altering monitor as determined by the * AlertableMonitorType. * * @internal */ export declare class AutoAlertableQosMonitor extends QosMonitor { private _autoAlertableMonitorType; /** * Creates a QoS monitor (initializes it and logs the start event) that enforces that end events * fired include the alertableMonitorType property in extraData corresponding to the * * @param scenarioName - Unique name of the QoS scenario * @param autoAlertableMonitorType - Correspond to existing alerting monitor that will track the events. * @param copyToEngagement - Indicate whether this data should be used as Engagement as well. */ constructor(scenarioName: string, autoAlertableMonitorType: AutoAlertableMonitorType, copyToEngagement?: boolean); /** * QoS monitor ends with success. Also writes AutoAlertableMonitorType to extraData. * You will see success tag: SPPages.ScenarioName.Success */ writeSuccess(extraData?: { [key: string]: any; }): void; /** * QoS monitor ends with failure. Also writes AutoAlertableMonitorType to extraData. * You will see failure tag: SPPages.ScenarioName..Failure. * will be filled with param tagName */ writeUnexpectedFailure(tagNameSuffix?: string, ex?: Error, extraData?: { [key: string]: any; }): void; writeExpectedFailure(tagNameSuffix?: string, ex?: Error, extraData?: { [key: string]: any; }): void; /** * Gets the extraData with additional auto alertable dimensions to indicate this uses the easy * alerting monitors. */ private _getExtraDataWithAutoAlertableFields; } //# sourceMappingURL=AutoAlertableQosMonitor.d.ts.map