You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
I have a working sample and I'll provide snippets from that where I think errors appear in the sample.
Coming from the Golang SDK, and having some experience with the Node.JS SDK, the Python SDK feels 'awkward'. This may just be how it needs to be to be idiomatic Python.
https://opencensus.io/quickstart/python/metrics/
The code appears to contain errors.
I have a working sample and I'll provide snippets from that where I think errors appear in the sample.
Coming from the Golang SDK, and having some experience with the Node.JS SDK, the Python SDK feels 'awkward'. This may just be how it needs to be to be idiomatic Python.
Duplicative imports:
Then:
IIUC not only is the duplication unncessary|confusing, but
stats
does not publish aStats
class:https://github.com/census-instrumentation/opencensus-python/blob/a8c3415a58257f1c644e5c087c0c4b0bbb3d8482/opencensus/stats/stats.py#L43
Works but is the correct approach?
IMO aliasing the class constructor is confusing, I'd prefer
s = stats.Stats()
as this is more transparent.The text was updated successfully, but these errors were encountered: