Package tech.jhipster.config.metric
Class JHipsterMetricsEndpoint
java.lang.Object
tech.jhipster.config.metric.JHipsterMetricsEndpoint
JHipsterMetricsEndpoint class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstantMISSING_NAME_TAG_MESSAGE="Missing name tag for metric {}" -
Constructor Summary
ConstructorsConstructorDescriptionJHipsterMetricsEndpoint(io.micrometer.core.instrument.MeterRegistry meterRegistry) Constructor for JHipsterMetricsEndpoint. -
Method Summary
-
Field Details
-
MISSING_NAME_TAG_MESSAGE
ConstantMISSING_NAME_TAG_MESSAGE="Missing name tag for metric {}"- See Also:
-
-
Constructor Details
-
JHipsterMetricsEndpoint
public JHipsterMetricsEndpoint(io.micrometer.core.instrument.MeterRegistry meterRegistry) Constructor for JHipsterMetricsEndpoint.
- Parameters:
meterRegistry- aMeterRegistryobject.
-
-
Method Details
-
allMetrics
GET /management/jhi-metricsGive metrics displayed on Metrics page
- Returns:
- a Map with a String defining a category of metrics as Key and another Map containing metrics related to this category as Value
-