Interface MongoCommandTagsProvider
- All Known Implementing Classes:
DefaultMongoCommandTagsProvider
- 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 Mongo command metrics.- Since:
- 1.7.0
-
Method Summary
Modifier and TypeMethodDescriptioncommandTags(com.mongodb.event.CommandEvent commandEvent)
Provides tags to be associated with metrics for the given Mongo command.
-
Method Details
-
commandTags
Provides tags to be associated with metrics for the given Mongo command.- Parameters:
commandEvent
- the Mongo command- Returns:
- tags to associate with metrics recorded for the command
-