Class CallSiteTagGenerator
java.lang.Object
org.zalando.riptide.micrometer.tag.CallSiteTagGenerator
- All Implemented Interfaces:
TagGenerator
@API(status=EXPERIMENTAL)
public final class CallSiteTagGenerator
extends Object
implements TagGenerator
Beware that some meter registries, e.g. Prometheus, only
allow a fixed set of tag keys for the same metric. That means if tags are
being passed from a call site they should be passed for all calls. Either
by adjusting all call sites or by defining a custom tag generator that
provides default values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIterable<io.micrometer.core.instrument.Tag>onRequest(RequestArguments arguments) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.zalando.riptide.micrometer.tag.TagGenerator
onError, onResponse
-
Constructor Details
-
CallSiteTagGenerator
public CallSiteTagGenerator()
-
-
Method Details
-
onRequest
- Specified by:
onRequestin interfaceTagGenerator
-