Interface JsonLogConverter.LogResource

Enclosing interface:
JsonLogConverter

public static interface JsonLogConverter.LogResource
Top-level resource data for emitted span data.

Each attribute appears in the emitted JSON like this:

 "key": "attr-name"
 "value": {
            "intValue": "9"}
where the key under value (such as intValue indicates the type of the value.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the attributes stored in the LogResource.
  • Method Details

    • attributes

      Map<String,Object> attributes()
      Returns the attributes stored in the LogResource.
      Returns:
      attributes