-
Notifications
You must be signed in to change notification settings - Fork 624
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
Refactor Python Metrics SDK to use naming consistent with Metrics Specification #1307
Comments
@ocelotl fyi. |
Another difference I noticed is that the Python metric spec calls synchronous and asynchronous instruments (described in spec and Go implementation) as metrics and observers. This seems intentional, but it might be worth renaming as well to be aligned with spec. |
Thanks, I'll review this and update the issues I opened yesterday. |
This issue was marked stale due to lack of activity. It will be closed in 30 days. |
Closing due to major reworking in the metrics api/sdk |
While preparing to work on a new exporter for the Python SDK I noticed some differences in naming between the Python implementation and the Metrics Spec. Most of the spec non-compliance can be fixed with renaming. Since the Metrics SDK spec was based off the Go SDK, I compared the Go implementation with the Python to see what changes needed to be made.
I’d like to discuss renaming some of these classes, methods and files to comply with the Metrics SDK Spec. In addition, the new naming will facilitate comparing the current state of the Python SDK with the metric compliance matrix in the future.
Current Understanding of Metrics Export Pipeline Implementation
Naming Change Suggestions
Expected Impact
If approved, any renaming should also be done in the related tests and documentation. No repercussions are expected since the metric SDK is not generally available.
Additional question: should the entire view.py file containing the ViewManager logic could be moved into the init.py file containing the Meter(Accumulator) class since its sole purpose is to support it.
cc - @alolita, @AzfaarQureshi
The text was updated successfully, but these errors were encountered: