JerseyTagsProvider that collects tags from multiple providers.JerseyTagsProvider that always returns constant tags.ApplicationEventListener which registers CounterRequestEventListener for counting Jersey server requests.RequestEventListener that increases a Micrometer counter once the request is
finished.HttpMetricsTagProvider that adds headers as tags based on the whitelisted header
names from the system prop.MetricsBinder which adds Tenant Id tag(s) extracted using TenantIdFromHostHeaderTagsProvider.other if URI matches one of
the patterns.JerseyTagsProvider that can extract path params as tags.JerseyEnvironment, based on the MetricsBinder.meterListenerConfig and MetricsBinder.counterListenerConfig.ConfigurationSourceProvider which will try to locate configuration file
using 3 possibilities, in descending order of precedence
Explicit System Property of form "stargate.configurationFile.${MODULENAME}" specifying
exact filename of the configuration file to use
File "${CONFIG_NAME} (like restapi-config.yaml -- same name as the default config
resource -- in the Current Working Directory: if found, will be used
Classpath Resource with name "${CONFIG_NAME}"
(where "${MODULENAME}" and "${CONFIG_NAME} are passed as arguments; former typically being
something like "restapi" (former) and "restapi-config.yaml" (latter))MetricsListenerConfig that is based on the system properties.JerseyTagsProvider used to extract Tenant Id from "Host" HTTP header.Copyright © 2022. All rights reserved.