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 ValueObserver #33

Merged
merged 6 commits into from
Jul 22, 2020

Conversation

AndrewAXue
Copy link
Contributor

The aggregation method that ValueObserver uses, ValueObserverAggregator was previously unsupported. After offline discussion with @aabmass and @cnnradams we agreed on a method of representing this info in Cloud Monitoring.

Resolves #18

@@ -44,6 +47,8 @@

# pylint is unable to resolve members of protobuf objects
# pylint: disable=no-member
# pylint: disable=too-many-branches
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temporarily added. This file is overdue for some cleaning up, will do that after to avoid having a PR with refactor + logic changes.

Copy link
Contributor

@cnnradams cnnradams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Copy link
Collaborator

@aabmass aabmass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Wondering why this aggregator wasn't set as the default for ValueRecorder as well., or maybe I'm misunderstanding open-telemetry/oteps#117

…rter/cloud_monitoring/__init__.py

Co-authored-by: Aaron Abbott <aaronabbott@google.com>
@AndrewAXue
Copy link
Contributor Author

LGTM!

Wondering why this aggregator wasn't set as the default for ValueRecorder as well., or maybe I'm misunderstanding open-telemetry/oteps#117

The OT side of things is prolly just out of date, I imagine it'll be fixed soon (if not by me, someone else) since it's a fairly simple change.

@AndrewAXue AndrewAXue merged commit a08e13d into GoogleCloudPlatform:master Jul 22, 2020
@AndrewAXue AndrewAXue deleted the MMSCL_support branch July 22, 2020 18:28
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.

Add Cloud Monitoring support for MinMaxSumCountLast Aggregator
4 participants