Interface AuditSpanSource<T extends AuditSpan>


@Private @Unstable public interface AuditSpanSource<T extends AuditSpan>
A source of audit spans.
  • Method Summary

    Modifier and Type
    Method
    Description
    createSpan(String operation, String path1, String path2)
    Create a span for an operation.
  • Method Details

    • createSpan

      T createSpan(String operation, @Nullable String path1, @Nullable String path2) throws IOException
      Create a span for an operation. All operation names SHOULD come from StoreStatisticNames or StreamStatisticNames.
      Parameters:
      operation - operation name.
      path1 - first path of operation
      path2 - second path of operation
      Returns:
      a span for the audit
      Throws:
      IOException - failure