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.

@FunctionalInterface public interface RepositoryTagsProvider
Provides Tags for Spring Data Repository invocations.
Since:
2.5.0
Author:
Phillip Webb
  • Method Summary

    Modifier and Type
    Method
    Description
    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 given invocation.
  • 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 given invocation.
      Parameters:
      invocation - the repository invocation
      Returns:
      tags to associate with metrics for the invocation