INNER CODE UNIT · Java

createBaggageInScope

micrometer-metrics/tracing · micrometer-tracing/src/main/java/io/micrometer/tracing/BaggageManager.java:69

        public BaggageInScope createBaggageInScope(TraceContext traceContext, String name, String value) {
            return BaggageInScope.NOOP;
        }
    };

    /**
     * @return mapping of all baggage entries from the given scope
     */
    Map<String, String> getAllBaggage();

    /**
     * @param traceContext trace context with baggage. If {@code null} will try to get all
     * baggage from current available context
     * @return mapping of all baggage entries from the given scope
     */
    default Map<String, String> getAllBaggage(@Nullable TraceContext traceContext) {
        if (traceContext == null) {
            return getAllBaggage();

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…