Exemple #1
0
            public MbxConfiguration(PerfLogCounterTrigger.TriggerConfiguration triggerConfiguration, HashSet <string> excludedInstances) : base(triggerConfiguration, excludedInstances)
            {
                string triggerPrefix = triggerConfiguration.TriggerPrefix;
                string text          = triggerPrefix + "RpcOperationsPerSecondThreshold";

                this.rpcOperationPerSecondThreshold = Configuration.GetConfigDouble(text, double.MinValue, double.MaxValue, 50.0);
            }
Exemple #2
0
            public CasConfiguration(double requestsPerSecondThreshold, PerfLogCounterTrigger.TriggerConfiguration triggerConfiguration, HashSet <string> excludedInstances) : base(triggerConfiguration, excludedInstances)
            {
                string triggerPrefix = triggerConfiguration.TriggerPrefix;
                string text          = triggerPrefix + "RequestsPerSecondThreshold";

                this.defaultRequestsPerSecondThreshold = requestsPerSecondThreshold;
                this.requestsPerSecondThreshold        = Configuration.GetConfigDouble(text, double.MinValue, double.MaxValue, requestsPerSecondThreshold);
            }
Exemple #3
0
            public TransportGatedConfiguration(double gatingCounterThreshold, PerfLogCounterTrigger.TriggerConfiguration triggerConfiguration, HashSet <string> excludedInstances) : base(triggerConfiguration, excludedInstances)
            {
                string triggerPrefix = triggerConfiguration.TriggerPrefix;
                string text          = triggerPrefix + "GatingCounterThreshold";

                this.defaultGatingCounterThreshold = gatingCounterThreshold;
                this.gatingCounterThreshold        = Configuration.GetConfigDouble(text, double.MinValue, double.MaxValue, gatingCounterThreshold);
            }
Exemple #4
0
 protected CASTriggerBase(IJob job, string counterNamePattern, PerfLogCounterTrigger.TriggerConfiguration configuration, DiagnosticMeasurement requestsPerSecondMeasurement, double requestsPerSecondThreshold, HashSet <DiagnosticMeasurement> additionalCounters, HashSet <string> excludedInstances) : this(job, counterNamePattern, new CASTriggerBase.CasConfiguration(requestsPerSecondThreshold, configuration, excludedInstances), additionalCounters, requestsPerSecondMeasurement)
 {
 }
 protected TransportOverThresholdGatedTrigger(IJob job, string counterNamePattern, double gatingCounterThreshold, PerfLogCounterTrigger.TriggerConfiguration configuration, HashSet <DiagnosticMeasurement> additionalCounters, HashSet <string> excludedInstances) : base(job, counterNamePattern, gatingCounterThreshold, configuration, additionalCounters, excludedInstances)
 {
 }