Module: Datadog::Tracing::Contrib::OpenSearch::Patcher

Includes:
Patcher
Defined in:
lib/datadog/tracing/contrib/opensearch/patcher.rb

Overview

Patcher enables patching of ‘opensearch’ module.

Defined Under Namespace

Modules: Client

Class Method Summary collapse

Methods included from Patcher

included

Class Method Details

.patchObject



20
21
22
23
24
25
26
# File 'lib/datadog/tracing/contrib/opensearch/patcher.rb', line 20

def patch
  require 'uri'
  require 'json'
  require_relative 'quantize'

  ::OpenSearch::Transport::Client.prepend(Client)
end