Sha256: ec2f96187f5adeb25c372316671bb0ca00605917f03875addf5aebc8787f1588
Contents?: true
Size: 1.17 KB
Versions: 4
Compression:
Stored size: 1.17 KB
Contents
# typed: true require 'ddtrace/transport/http/api/map' require 'datadog/profiling/encoding/profile' require 'datadog/profiling/transport/http/api/spec' require 'datadog/profiling/transport/http/api/instance' require 'datadog/profiling/transport/http/api/endpoint' module Datadog module Profiling module Transport module HTTP # Extensions for HTTP API Spec module API # Default API versions V1 = 'v1'.freeze module_function def agent_defaults @agent_defaults ||= Datadog::Transport::HTTP::API::Map[ V1 => Spec.new do |s| s.profiles = Endpoint.new( '/profiling/v1/input'.freeze, Profiling::Encoding::Profile::Protobuf ) end ] end def api_defaults @api_defaults ||= Datadog::Transport::HTTP::API::Map[ V1 => Spec.new do |s| s.profiles = Endpoint.new( '/v1/input'.freeze, Profiling::Encoding::Profile::Protobuf ) end ] end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems