Class: Langfuse::MaskOtelSpansResult

Inherits:
Data
  • Object
show all
Defined in:
lib/langfuse/otel_span_masking.rb

Overview

Sparse patches returned by an export-stage masking hook.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(span_patches: {}) ⇒ MaskOtelSpansResult

Parameters:

  • span_patches (Object) (defaults to: {})

    sparse patches keyed by batch identifiers

Raises:

  • (ArgumentError)

    if an unknown keyword is given



85
86
87
# File 'lib/langfuse/otel_span_masking.rb', line 85

def initialize(span_patches: {})
  super
end

Instance Attribute Details

#span_patchesHash{OtelSpanIdentifier => OtelSpanPatch, nil} (readonly)

Returns:



81
82
83
84
85
86
87
88
# File 'lib/langfuse/otel_span_masking.rb', line 81

MaskOtelSpansResult = Data.define(:span_patches) do
  # @param span_patches [Object] sparse patches keyed by batch identifiers
  # @return [MaskOtelSpansResult]
  # @raise [ArgumentError] if an unknown keyword is given
  def initialize(span_patches: {})
    super
  end
end