-
Notifications
You must be signed in to change notification settings - Fork 205
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
Support metric namespace #2447
Support metric namespace #2447
Conversation
95c3bae
to
39dd837
Compare
39dd837
to
a2fc8e6
Compare
@@ -300,7 +341,7 @@ void trackDependency( | |||
@Nullable Date timestamp, | |||
String name, | |||
String id, | |||
String resultCode, | |||
String duration, |
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.
this doesn't seem right. i think you intended to rename Long totalMillis
to Long duraiton
(line 345)?
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.
ooops!! indeed that is what I meant to do
@@ -58,20 +59,16 @@ public void trackEvent( | |||
@Nullable Map<String, String> properties, | |||
@Nullable Map<String, Double> metrics) { | |||
|
|||
if (isDisabled()) { |
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.
it seems isDisabled() check is removed everywhere. Should we remove that boolean method too? It's only used in this class.
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.
it was kind of needed, because we used it in the bytecode instrumentation, but I agree that it's confusing, so I removed it, and if we need that feature in the future (to disable 2.x telemetry), it should be a json configuration option anyways
Currently built on top of #2446, will rebase once that is merged.Resolves #2088
Resolves #1099