-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add support for ValueObserver #33
Conversation
@@ -44,6 +47,8 @@ | |||
|
|||
# pylint is unable to resolve members of protobuf objects | |||
# pylint: disable=no-member | |||
# pylint: disable=too-many-branches |
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.
Temporarily added. This file is overdue for some cleaning up, will do that after to avoid having a PR with refactor + logic changes.
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.
🚀
opentelemetry-exporter-cloud-monitoring/src/opentelemetry/exporter/cloud_monitoring/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-exporter-cloud-monitoring/tests/test_cloud_monitoring.py
Outdated
Show resolved
Hide resolved
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!
Wondering why this aggregator wasn't set as the default for ValueRecorder as well., or maybe I'm misunderstanding open-telemetry/oteps#117
opentelemetry-exporter-cloud-monitoring/src/opentelemetry/exporter/cloud_monitoring/__init__.py
Outdated
Show resolved
Hide resolved
…rter/cloud_monitoring/__init__.py Co-authored-by: Aaron Abbott <aaronabbott@google.com>
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. |
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