-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean up to pass last main suite test, CircleCI integrations, and Git…
…Hub checks
- Loading branch information
1 parent
a3e7ee1
commit b61584c
Showing
9 changed files
with
97 additions
and
50 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
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
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,16 @@ | ||
module Datadog | ||
module Profiling | ||
module Diagnostics | ||
module EnvironmentLogger | ||
extend Core::Diagnostics::EnvironmentLogging | ||
|
||
def self.collect_and_log!: () -> untyped | ||
end | ||
module EnvironmentCollector | ||
def self.collect_config!: (*untyped args) -> { profiling_enabled: untyped } | ||
|
||
def self.profiling_enabled: () -> 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,30 @@ | ||
module Datadog | ||
module Tracing | ||
module Diagnostics | ||
module EnvironmentLogger | ||
extend Core::Diagnostics::EnvironmentLogging | ||
|
||
def self.collect_and_log!: (?responses: untyped?) -> untyped | ||
end | ||
module EnvironmentCollector | ||
def self.collect_config!: () -> ::Hash[:enabled | :agent_url | :analytics_enabled | :sample_rate | :sampling_rules | :integrations_loaded | :partial_flushing_enabled | :priority_sampling_enabled | untyped, untyped] | ||
|
||
def self.collect_errors!: (untyped responses) -> { agent_error: untyped } | ||
def self.enabled: () -> untyped | ||
def self.agent_url: () -> (nil | untyped) | ||
def self.agent_error: (untyped responses) -> (nil | untyped) | ||
def self.analytics_enabled: () -> untyped | ||
def self.sample_rate: () -> (nil | untyped) | ||
def self.sampling_rules: () -> (nil | untyped) | ||
def self.integrations_loaded: () -> (nil | untyped) | ||
def self.partial_flushing_enabled: () -> untyped | ||
def self.priority_sampling_enabled: () -> untyped | ||
|
||
private | ||
|
||
def self.instrumented_integrations: () -> untyped | ||
def self.instrumented_integrations_settings: () -> 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
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