-
Notifications
You must be signed in to change notification settings - Fork 135
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
Add support for pre aggregated metrics #736
Conversation
Still working on tests |
private _handle: NodeJS.Timer; | ||
private _isEnabled: boolean; | ||
private _isInitialized: boolean; | ||
private static _dependencyCountersCollection: Array<AggregatedMetricCounter>; |
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.
I'm wondering why you need to a keep a collection of counters? We only need one counter per standard metric.
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.
AggregatedMetricCounter here is a class that have all necessary counters plus the dimensions, we need a collection to send all data by dimensions
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.
Tests are available now
Including following metrics:
Dependency duration
Server response time
Exceptions count
Traces count