-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change profiling HTTP request runtime and type fields #1166
Conversation
8c814ec
to
b412c0a
Compare
b412c0a
to
1049424
Compare
Made some updates to this:
These changes should address some needed things for the backend. |
ce1b0fe
to
8ae935d
Compare
1049424
to
4509319
Compare
459cecb
to
98d996e
Compare
4509319
to
be71575
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I can't approve my own PR. Maybe @jd you can take a look to review it ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -27,7 +28,8 @@ def initialize(*args) | |||
self.version = version || Datadog.configuration.version | |||
self.host = host || Datadog::Runtime::Socket.hostname | |||
self.language = language || Datadog::Runtime::Identity.lang | |||
self.runtime = runtime || Datadog::Runtime::Identity.lang_interpreter | |||
self.runtime_engine = runtime_engine || Datadog::Runtime::Identity.lang_engine | |||
self.runtime_platform = runtime_platform || Datadog::Runtime::Identity.lang_platform |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to report these in the tracer payload as well. Nothing to do in this PR, just a reminder for our future selves.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. In the tracer payload I think we send them as "interpreter" which is both terms combined.
This behavior was removed in #1166 but a test was left behind that no longer was relevant.
This behavior was removed in #1166 but a test was left behind that no longer was relevant.
We want the profiling analyzer to process Ruby profiles. Today the quickest way is to set the
type
field toauto
while waiting for some heavy refactoring into the analyzer.We allow ourself to do this change since the profiler is still in beta.