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 record
Nested 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 AppEngineConfiguration
protected final ObjectProvider<AppEngineConfiguration>
protected final FlowableIncidentMeterConfig
protected ScheduledExecutorService
protected final org.slf4j.Logger
Fields 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.DistributionStatisticConfig
protected AppEngineConfiguration
protected TimeUnit
protected double
getThreshold
(io.micrometer.core.instrument.DistributionSummary distributionSummary) protected double
getThreshold
(io.micrometer.core.instrument.Timer timer) protected double
getValue
(io.micrometer.core.instrument.DistributionSummary distributionSummary) protected void
protected void
protected void
publish()
void
start
(ThreadFactory threadFactory) Methods inherited from class io.micrometer.core.instrument.step.StepMeterRegistry
close, newCounter, newDistributionSummary, newFunctionCounter, newFunctionTimer, newGauge, newLongTaskTimer, newMeter, newTimer, stop
Methods inherited from class io.micrometer.core.instrument.push.PushMeterRegistry
getLastScheduledPublishStartTime, isPublishing, start, startMessage, waitForInProgressScheduledPublish
Methods 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:
publish
in 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:
defaultHistogramConfig
in classio.micrometer.core.instrument.step.StepMeterRegistry
-
getBaseTimeUnit
- Specified by:
getBaseTimeUnit
in classio.micrometer.core.instrument.MeterRegistry
-
start
- Overrides:
start
in classio.micrometer.core.instrument.step.StepMeterRegistry
-
getAppEngineConfiguration
-
createExtraInfo
-
createExtraInfo
-