-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae22958
commit 4504d13
Showing
12 changed files
with
155 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,7 @@ target :lib do | |
|
||
repo_path "vendor/rbs" | ||
library "ddtrace" | ||
library "gem" | ||
library "open3" | ||
library "rspec" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
p "DATADOG CI ENVIRONMENT" | ||
|
||
require "datadog/core/git/ext" | ||
|
||
require "open3" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module Datadog | ||
module Core | ||
module Environment | ||
module Ext | ||
LANG: untyped | ||
|
||
LANG_ENGINE: untyped | ||
|
||
LANG_INTERPRETER: untyped | ||
|
||
LANG_PLATFORM: untyped | ||
|
||
LANG_VERSION: untyped | ||
|
||
RUBY_ENGINE: untyped | ||
|
||
TRACER_VERSION: untyped | ||
|
||
ENGINE_VERSION: untyped | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module Datadog | ||
module Core | ||
module Utils | ||
module Forking | ||
def self.included: (untyped base) -> untyped | ||
|
||
def self.extended: (untyped base) -> untyped | ||
|
||
def after_fork!: () { () -> untyped } -> untyped | ||
|
||
def forked?: () -> untyped | ||
|
||
def update_fork_pid!: () -> untyped | ||
|
||
def fork_pid: () -> untyped | ||
|
||
module ClassExtensions | ||
def initialize: (*untyped args) { () -> untyped } -> untyped | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
module Datadog | ||
module Tracing | ||
def self.active_trace: () -> Datadog::Tracing::TraceSegment | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
module Datadog | ||
module Tracing | ||
class TraceSegment | ||
TAG_NAME: ::String | ||
TAG_RESOURCE: ::String | ||
TAG_SERVICE: ::String | ||
|
||
attr_reader id: untyped | ||
attr_reader spans: untyped | ||
attr_reader agent_sample_rate: untyped | ||
attr_reader hostname: untyped | ||
attr_reader lang: untyped | ||
attr_reader name: untyped | ||
attr_reader origin: untyped | ||
attr_reader process_id: untyped | ||
attr_reader rate_limiter_rate: untyped | ||
attr_reader resource: untyped | ||
attr_reader rule_sample_rate: untyped | ||
attr_reader runtime_id: untyped | ||
attr_reader sample_rate: untyped | ||
attr_reader sampling_decision_maker: untyped | ||
attr_reader sampling_priority: untyped | ||
attr_reader service: untyped | ||
|
||
def initialize: (untyped spans, ?agent_sample_rate: untyped?, ?hostname: untyped?, ?id: untyped?, ?lang: untyped?, ?name: untyped?, ?origin: untyped?, ?process_id: untyped?, ?rate_limiter_rate: untyped?, ?resource: untyped?, ?root_span_id: untyped?, ?rule_sample_rate: untyped?, ?runtime_id: untyped?, ?sample_rate: untyped?, ?sampling_priority: untyped?, ?service: untyped?, ?tags: untyped?, ?metrics: untyped?) -> void | ||
def any?: () -> untyped | ||
def count: () -> untyped | ||
def empty?: () -> untyped | ||
def length: () -> untyped | ||
def size: () -> untyped | ||
|
||
def keep!: () -> void | ||
def reject!: () -> void | ||
def sampled?: () -> untyped | ||
|
||
attr_reader root_span_id: untyped | ||
attr_reader meta: untyped | ||
attr_reader metrics: untyped | ||
|
||
private | ||
|
||
attr_writer agent_sample_rate: untyped | ||
attr_writer hostname: untyped | ||
attr_writer lang: untyped | ||
attr_writer name: untyped | ||
attr_writer origin: untyped | ||
attr_writer process_id: untyped | ||
attr_writer rate_limiter_rate: untyped | ||
attr_writer resource: untyped | ||
attr_writer rule_sample_rate: untyped | ||
attr_writer runtime_id: untyped | ||
attr_writer sample_rate: untyped | ||
attr_writer sampling_priority: untyped | ||
attr_writer service: untyped | ||
|
||
def agent_sample_rate_tag: () -> untyped | ||
def hostname_tag: () -> untyped | ||
def lang_tag: () -> untyped | ||
def name_tag: () -> untyped | ||
def origin_tag: () -> untyped | ||
def process_id_tag: () -> untyped | ||
def rate_limiter_rate_tag: () -> untyped | ||
def resource_tag: () -> untyped | ||
def rule_sample_rate_tag: () -> untyped | ||
def runtime_id_tag: () -> untyped | ||
def sample_rate_tag: () -> untyped | ||
def sampling_decision_maker_tag: () -> untyped | ||
def sampling_priority_tag: () -> untyped | ||
def service_tag: () -> untyped | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
class Gem::Platform | ||
def self.local: () -> Gem::Platform | ||
|
||
def os: () -> String | ||
def cpu: () -> String | ||
def version: () -> String | ||
end | ||
|
||
class Gem::Platform | ||
end | ||
|
||
class Gem::BasicSpecification | ||
def platform: () -> Gem::Platform | ||
def version: () -> String | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module Open3 | ||
def self.capture2e: (String cmd) -> [String, Process::Status] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
class RSpec | ||
end | ||
|
||
class RSpec::Core | ||
end | ||
|
||
class RSpec::Core::Example | ||
end |