Class FlowableIncidentReportingMeterRegistry
java.lang.Object
io.micrometer.core.instrument.MeterRegistry
io.micrometer.core.instrument.push.PushMeterRegistry
io.micrometer.core.instrument.step.StepMeterRegistry
com.flowable.platform.service.incident.FlowableIncidentReportingMeterRegistry
public class FlowableIncidentReportingMeterRegistry
extends io.micrometer.core.instrument.step.StepMeterRegistry
- Author:
- Filip Hrisafov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final recordNested classes/interfaces inherited from class io.micrometer.core.instrument.MeterRegistry
io.micrometer.core.instrument.MeterRegistry.Config, io.micrometer.core.instrument.MeterRegistry.More -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AppEngineConfigurationprotected final ObjectProvider<AppEngineConfiguration>protected final FlowableIncidentMeterConfigprotected ScheduledExecutorServiceprotected final org.slf4j.LoggerFields inherited from class io.micrometer.core.instrument.MeterRegistry
clock -
Constructor Summary
ConstructorsConstructorDescriptionFlowableIncidentReportingMeterRegistry(FlowableIncidentMeterConfig config, ObjectProvider<AppEngineConfiguration> appEngineConfigurationProvider) FlowableIncidentReportingMeterRegistry(FlowableIncidentMeterConfig config, ObjectProvider<AppEngineConfiguration> appEngineConfigurationProvider, io.micrometer.core.instrument.Clock clock) -
Method Summary
Modifier and TypeMethodDescriptioncreateExtraInfo(io.micrometer.core.instrument.Meter.Id id, String tagToIgnore) createExtraInfo(io.micrometer.core.instrument.Meter.Id id, String tagToIgnore, Function<String, String> tagMapper) createIncidentEntry(io.micrometer.core.instrument.DistributionSummary timer, double threshold, double value) createIncidentEntry(io.micrometer.core.instrument.Timer timer, double threshold, double value) protected io.micrometer.core.instrument.distribution.DistributionStatisticConfigprotected AppEngineConfigurationprotected TimeUnitprotected doublegetThreshold(io.micrometer.core.instrument.DistributionSummary distributionSummary) protected doublegetThreshold(io.micrometer.core.instrument.Timer timer) protected doublegetValue(io.micrometer.core.instrument.DistributionSummary distributionSummary) protected voidprotected voidprotected voidpublish()voidstart(ThreadFactory threadFactory) Methods inherited from class io.micrometer.core.instrument.step.StepMeterRegistry
close, newCounter, newDistributionSummary, newFunctionCounter, newFunctionTimer, newGauge, newLongTaskTimer, newMeter, newTimer, stopMethods inherited from class io.micrometer.core.instrument.push.PushMeterRegistry
getLastScheduledPublishStartTime, isPublishing, start, startMessage, waitForInProgressScheduledPublishMethods inherited from class io.micrometer.core.instrument.MeterRegistry
clear, config, counter, counter, find, forEachMeter, gauge, gauge, gauge, gauge, gaugeCollectionSize, gaugeMapSize, get, getConventionName, getConventionTags, getMeters, isClosed, meterRegistrationFailed, more, newLongTaskTimer, newTimeGauge, remove, remove, removeByPreFilterId, summary, summary, timer, timer
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
config
-
appEngineConfigurationProvider
-
appEngineConfiguration
-
gaugePollingService
-
-
Constructor Details
-
FlowableIncidentReportingMeterRegistry
public FlowableIncidentReportingMeterRegistry(FlowableIncidentMeterConfig config, ObjectProvider<AppEngineConfiguration> appEngineConfigurationProvider) -
FlowableIncidentReportingMeterRegistry
public FlowableIncidentReportingMeterRegistry(FlowableIncidentMeterConfig config, ObjectProvider<AppEngineConfiguration> appEngineConfigurationProvider, io.micrometer.core.instrument.Clock clock)
-
-
Method Details
-
pollGaugesSafely
protected void pollGaugesSafely() -
pollGauges
protected void pollGauges() -
publish
protected void publish()- Specified by:
publishin classio.micrometer.core.instrument.push.PushMeterRegistry
-
getThreshold
protected double getThreshold(io.micrometer.core.instrument.Timer timer) -
getValue
protected double getValue(io.micrometer.core.instrument.DistributionSummary distributionSummary) -
getThreshold
protected double getThreshold(io.micrometer.core.instrument.DistributionSummary distributionSummary) -
createIncidentEntry
protected FlowableIncidentReportingMeterRegistry.IncidentEntry createIncidentEntry(io.micrometer.core.instrument.Timer timer, double threshold, double value) -
createIncidentEntry
protected FlowableIncidentReportingMeterRegistry.IncidentEntry createIncidentEntry(io.micrometer.core.instrument.DistributionSummary timer, double threshold, double value) -
defaultHistogramConfig
protected io.micrometer.core.instrument.distribution.DistributionStatisticConfig defaultHistogramConfig()- Overrides:
defaultHistogramConfigin classio.micrometer.core.instrument.step.StepMeterRegistry
-
getBaseTimeUnit
- Specified by:
getBaseTimeUnitin classio.micrometer.core.instrument.MeterRegistry
-
start
- Overrides:
startin classio.micrometer.core.instrument.step.StepMeterRegistry
-
getAppEngineConfiguration
-
createExtraInfo
-
createExtraInfo
-