Java Code Examples for brave.baggage.BaggageField#getAllValues()

The following examples show how to use brave.baggage.BaggageField#getAllValues() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ExtraFieldPropagation.java    From brave with Apache License 2.0 4 votes vote down vote up
/** @deprecated Since 5.11 use {@link BaggageField#getAll()} */
@Deprecated public static Map<String, String> getAll() {
  return BaggageField.getAllValues();
}
 
Example 2
Source File: ExtraFieldPropagation.java    From brave with Apache License 2.0 4 votes vote down vote up
/** @deprecated Since 5.11 use {@link BaggageField#getAll(TraceContextOrSamplingFlags)} */
@Deprecated public static Map<String, String> getAll(TraceContextOrSamplingFlags extracted) {
  if (extracted.context() != null) return getAll(extracted.context());
  return BaggageField.getAllValues(extracted);
}
 
Example 3
Source File: ExtraFieldPropagation.java    From brave with Apache License 2.0 4 votes vote down vote up
/** @deprecated Since 5.11 use {@link BaggageField#getAll(TraceContext)} */
@Deprecated public static Map<String, String> getAll(TraceContext context) {
  return BaggageField.getAllValues(context);
}