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 Details

    • CallSiteTagGenerator

      public CallSiteTagGenerator()
  • Method Details