-
- All Implemented Interfaces:
-
tech.harmonysoft.oss.micrometer.auto.ContextTagsProvider
public final class ReflectionContextTagsProvider implements ContextTagsProvider
Utility ContextTagsProvider implementation which picks all string constants from the given class and exposes them as ContextTagsProvider.contextTags
-
-
Field Summary
Fields Modifier and Type Field Description private final Set<String>contextTags
-
Constructor Summary
Constructors Constructor Description ReflectionContextTagsProvider(KClass<?> objectClass, String toExclude)
-
Method Summary
Modifier and Type Method Description Set<String>getContextTags()A set of tags which might be available in the current context. -
-
Method Detail
-
getContextTags
Set<String> getContextTags()
A set of tags which might be available in the current context.
This interface is a bridge between library stats collection and end application (library user).
All tags exposed by the current property and used in stats publishing (the values are picked up from ExecutionContextManager during stats data point creation)
-
-
-
-