Skip to content
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

Merged
merged 9 commits into from
Mar 3, 2021
Merged

Conversation

hectorhdzg
Copy link
Member

Including following metrics:
Dependency duration
Server response time
Exceptions count
Traces count

@hectorhdzg
Copy link
Member Author

Still working on tests

private _handle: NodeJS.Timer;
private _isEnabled: boolean;
private _isInitialized: boolean;
private static _dependencyCountersCollection: Array<AggregatedMetricCounter>;
Copy link

@lzchen lzchen Mar 1, 2021

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.

Copy link
Member Author

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

@hectorhdzg hectorhdzg changed the title [WIP] Add support for pre aggregated metrics Add support for pre aggregated metrics Mar 2, 2021
Copy link
Member Author

@hectorhdzg hectorhdzg left a 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

@hectorhdzg hectorhdzg merged commit d0525dc into develop Mar 3, 2021
@hectorhdzg hectorhdzg deleted the hectorhdzg/preagg branch May 25, 2021 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants