Class OpentracingKibanaUtil
- java.lang.Object
-
- org.hawaiiframework.logging.opentracing.OpentracingKibanaUtil
-
public final class OpentracingKibanaUtil extends Object
Utility to add opentracing data to the kibana log fields.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addTagsToKibanaFields(Map<String,Object> tags)
Add the tags, if they exist in theOpentracingKibanaLogField
, to theKibanaLogFields
.static void
addTagToKibanaFields(String key, Object value)
Add the tag, if it exists in theOpentracingKibanaLogField
, to theKibanaLogFields
.
-
-
-
Method Detail
-
addTagToKibanaFields
public static void addTagToKibanaFields(String key, Object value)
Add the tag, if it exists in theOpentracingKibanaLogField
, to theKibanaLogFields
.- Parameters:
key
- The tag's name.value
- The tag's value.
-
addTagsToKibanaFields
public static void addTagsToKibanaFields(Map<String,Object> tags)
Add the tags, if they exist in theOpentracingKibanaLogField
, to theKibanaLogFields
.- Parameters:
tags
- The tags.
-
-