Interface RepositoryTagsProvider
- All Known Implementing Classes:
DefaultRepositoryTagsProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides
Tags for Spring Data Repository
invocations.- Since:
- 2.5.0
-
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.
-
Method Details
-
repositoryTags
Iterable<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.- Parameters:
invocation- the repository invocation- Returns:
- tags to associate with metrics for the invocation
-