Class DefaultRepositoryTagsProvider
java.lang.Object
org.springframework.boot.actuate.metrics.data.DefaultRepositoryTagsProvider
- All Implemented Interfaces:
RepositoryTagsProvider
Default
RepositoryTagsProvider implementation.- Since:
- 2.5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIterable<io.micrometer.core.instrument.Tag>repositoryTags(org.springframework.data.repository.core.support.RepositoryMethodInvocationListener.RepositoryMethodInvocation invocation) Provides tags to be associated with metrics for the giveninvocation.
-
Constructor Details
-
DefaultRepositoryTagsProvider
public DefaultRepositoryTagsProvider()
-
-
Method Details
-
repositoryTags
public Iterable<io.micrometer.core.instrument.Tag> repositoryTags(org.springframework.data.repository.core.support.RepositoryMethodInvocationListener.RepositoryMethodInvocation invocation) Description copied from interface:RepositoryTagsProviderProvides tags to be associated with metrics for the giveninvocation.- Specified by:
repositoryTagsin interfaceRepositoryTagsProvider- Parameters:
invocation- the repository invocation- Returns:
- tags to associate with metrics for the invocation
-