-
Notifications
You must be signed in to change notification settings - Fork 631
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 metrics prototype SDK #2059
Closed
Closed
Commits on Sep 29, 2021
-
Adds metrics API (open-telemetry#1887)
* Adds metric prototype Fixes open-telemetry#1835 * Fix docs * Add API metrics doc * Add missing docs * Add files * Adding docs * Refactor to _initialize * Refactor initialize * Add more documentation * Add exporter test * Add process * Fix tests * Try to add aggregator_class argument Tests are failing here * Fix instrument parent classes * Test default aggregator * WIP * Add prototype test * Tests passing again * Use right counters * All tests passing * Rearrange instrument storage * Fix tests * Add HTTP server test * WIP * WIP * Add prototype * WIP * Fail the test * WIP * WIP * WIP * WIP * Add views * Discard instruments via views * Fix tests * WIP * WIP * Fix lint * WIP * Fix test * Fix lint * Fix method * Fix lint * Mypy workaround * Skip if 3.6 * Fix lint * Add reason * Fix 3.6 * Fix run * Fix lint * Remove SDK metrics * Remove SDK docs * Remove metrics * Remove assertnotraises mixin * Revert sdk docs conf * Remove SDK env var changes * Fix unit checking * Define positional-only arguments * Add Metrics plans * Add API tests * WIP * WIP test * WIP * WIP * WIP * Set provider test passing * Use a fixture * Add test for get_provider * Rename tests * WIP * WIP * WIP * WIP * Remove non specific requirement * Add meter requirements * Put all meter provider tests in one file * Add meter tests * Make attributes be passed as a dictionary * Make some interfaces private * Log an error instead * Remove ASCII flag * Add CHANGELOG entry * Add instrument tests * All tests passing * Add test * Add name tests * Add unit tests * Add description tests * Add counter tests * Add more tests * Add Histogram tests * Add observable gauge tests * Add updowncounter tests * Add observableupdowncounter tests * Fix lint * Fix docs * Fix lint * Ignore mypy * Remove useless pylint skip * Remove useless pylint skip * Remove useless pylint skip * Remove useless pylint skip * Remove useless pylint skip * Add locks to meter and meterprovider * Add lock to instruments * Fix fixmes * Fix lint * Add documentation placeholder * Remove blank line as requested. * Do not override Rlock * Remove unecessary super calls * Add missing super calls * Remove plan files * Add missing parameters * Rename observe to callback * Fix lint * Rename to secure_instrument_name * Remove locks * Fix lint * Remove args and kwargs * Remove implementation that gives meters access to meter provider * Allow creating async instruments with either a callback function or generator * add additional test with callback form of observable counter * add a test/example that reads measurements from proc stat * implement cpu time integration test with generator too Co-authored-by: Aaron Abbott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d3860d - Browse repository at this point
Copy the full SHA 1d3860dView commit details -
Make measurement a concrete class (open-telemetry#2153)
* Make Measurement a concrete class * comments * update changelog
Configuration menu - View commit details
-
Copy full SHA for ae757a9 - Browse repository at this point
Copy the full SHA ae757a9View commit details
Commits on Sep 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 258d4f1 - Browse repository at this point
Copy the full SHA 258d4f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 295442e - Browse repository at this point
Copy the full SHA 295442eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0eb7d12 - Browse repository at this point
Copy the full SHA 0eb7d12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d3fb25 - Browse repository at this point
Copy the full SHA 4d3fb25View commit details -
Configuration menu - View commit details
-
Copy full SHA for a086325 - Browse repository at this point
Copy the full SHA a086325View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f91a8b - Browse repository at this point
Copy the full SHA 4f91a8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5711e5f - Browse repository at this point
Copy the full SHA 5711e5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffcd7a4 - Browse repository at this point
Copy the full SHA ffcd7a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 418e4e9 - Browse repository at this point
Copy the full SHA 418e4e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a03a063 - Browse repository at this point
Copy the full SHA a03a063View commit details -
Configuration menu - View commit details
-
Copy full SHA for d69983c - Browse repository at this point
Copy the full SHA d69983cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3df3385 - Browse repository at this point
Copy the full SHA 3df3385View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac01322 - Browse repository at this point
Copy the full SHA ac01322View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e7c833 - Browse repository at this point
Copy the full SHA 7e7c833View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ae0b69 - Browse repository at this point
Copy the full SHA 6ae0b69View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddc5022 - Browse repository at this point
Copy the full SHA ddc5022View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7be66f7 - Browse repository at this point
Copy the full SHA 7be66f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for fea0e9d - Browse repository at this point
Copy the full SHA fea0e9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccb167c - Browse repository at this point
Copy the full SHA ccb167cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6794164 - Browse repository at this point
Copy the full SHA 6794164View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03c567b - Browse repository at this point
Copy the full SHA 03c567bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 818742c - Browse repository at this point
Copy the full SHA 818742cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c10fcd6 - Browse repository at this point
Copy the full SHA c10fcd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa4b030 - Browse repository at this point
Copy the full SHA fa4b030View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13e4011 - Browse repository at this point
Copy the full SHA 13e4011View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dd9d5a - Browse repository at this point
Copy the full SHA 4dd9d5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfee58b - Browse repository at this point
Copy the full SHA dfee58bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a7a586 - Browse repository at this point
Copy the full SHA 7a7a586View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23eefc8 - Browse repository at this point
Copy the full SHA 23eefc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 975a5d2 - Browse repository at this point
Copy the full SHA 975a5d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c86e6f0 - Browse repository at this point
Copy the full SHA c86e6f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0328203 - Browse repository at this point
Copy the full SHA 0328203View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4192875 - Browse repository at this point
Copy the full SHA 4192875View commit details -
Configuration menu - View commit details
-
Copy full SHA for 595924f - Browse repository at this point
Copy the full SHA 595924fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2450be - Browse repository at this point
Copy the full SHA e2450beView commit details -
Configuration menu - View commit details
-
Copy full SHA for d298d0c - Browse repository at this point
Copy the full SHA d298d0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbf54ba - Browse repository at this point
Copy the full SHA cbf54baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 328083f - Browse repository at this point
Copy the full SHA 328083fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 671dee6 - Browse repository at this point
Copy the full SHA 671dee6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d82a60 - Browse repository at this point
Copy the full SHA 7d82a60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7155813 - Browse repository at this point
Copy the full SHA 7155813View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7bbfd1 - Browse repository at this point
Copy the full SHA c7bbfd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d1172c - Browse repository at this point
Copy the full SHA 6d1172cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f72383 - Browse repository at this point
Copy the full SHA 4f72383View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdcfc0c - Browse repository at this point
Copy the full SHA bdcfc0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8663a14 - Browse repository at this point
Copy the full SHA 8663a14View commit details -
Configuration menu - View commit details
-
Copy full SHA for f798cda - Browse repository at this point
Copy the full SHA f798cdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for be0660f - Browse repository at this point
Copy the full SHA be0660fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 334e773 - Browse repository at this point
Copy the full SHA 334e773View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9f6fdb - Browse repository at this point
Copy the full SHA e9f6fdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9340aac - Browse repository at this point
Copy the full SHA 9340aacView commit details -
Configuration menu - View commit details
-
Copy full SHA for caf63de - Browse repository at this point
Copy the full SHA caf63deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 554b1bf - Browse repository at this point
Copy the full SHA 554b1bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9e0568 - Browse repository at this point
Copy the full SHA f9e0568View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eea7d3 - Browse repository at this point
Copy the full SHA 5eea7d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34c9603 - Browse repository at this point
Copy the full SHA 34c9603View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7174d4 - Browse repository at this point
Copy the full SHA e7174d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88872da - Browse repository at this point
Copy the full SHA 88872daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9806eae - Browse repository at this point
Copy the full SHA 9806eaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c02b1d - Browse repository at this point
Copy the full SHA 2c02b1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7496058 - Browse repository at this point
Copy the full SHA 7496058View commit details -
Configuration menu - View commit details
-
Copy full SHA for 230d9d2 - Browse repository at this point
Copy the full SHA 230d9d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b41bab - Browse repository at this point
Copy the full SHA 1b41babView commit details -
Configuration menu - View commit details
-
Copy full SHA for e098556 - Browse repository at this point
Copy the full SHA e098556View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33d1f02 - Browse repository at this point
Copy the full SHA 33d1f02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cf6d8a - Browse repository at this point
Copy the full SHA 1cf6d8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4940fd - Browse repository at this point
Copy the full SHA c4940fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0bd59f - Browse repository at this point
Copy the full SHA b0bd59fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8aa63b1 - Browse repository at this point
Copy the full SHA 8aa63b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b75bcf1 - Browse repository at this point
Copy the full SHA b75bcf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3540361 - Browse repository at this point
Copy the full SHA 3540361View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1b9f6e - Browse repository at this point
Copy the full SHA d1b9f6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7727899 - Browse repository at this point
Copy the full SHA 7727899View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2df422 - Browse repository at this point
Copy the full SHA b2df422View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd63328 - Browse repository at this point
Copy the full SHA bd63328View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ecd436 - Browse repository at this point
Copy the full SHA 6ecd436View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6950905 - Browse repository at this point
Copy the full SHA 6950905View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53a14e8 - Browse repository at this point
Copy the full SHA 53a14e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ef9e57 - Browse repository at this point
Copy the full SHA 1ef9e57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b510ab - Browse repository at this point
Copy the full SHA 5b510abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97e7491 - Browse repository at this point
Copy the full SHA 97e7491View commit details -
Configuration menu - View commit details
-
Copy full SHA for e719469 - Browse repository at this point
Copy the full SHA e719469View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a8bcad - Browse repository at this point
Copy the full SHA 9a8bcadView commit details -
Configuration menu - View commit details
-
Copy full SHA for b92b984 - Browse repository at this point
Copy the full SHA b92b984View commit details -
Configuration menu - View commit details
-
Copy full SHA for f02f8cf - Browse repository at this point
Copy the full SHA f02f8cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe0fd9 - Browse repository at this point
Copy the full SHA 3fe0fd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 216aba5 - Browse repository at this point
Copy the full SHA 216aba5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba0acef - Browse repository at this point
Copy the full SHA ba0acefView commit details -
Configuration menu - View commit details
-
Copy full SHA for e47398e - Browse repository at this point
Copy the full SHA e47398eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab21523 - Browse repository at this point
Copy the full SHA ab21523View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15cbb40 - Browse repository at this point
Copy the full SHA 15cbb40View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1c4c7e - Browse repository at this point
Copy the full SHA e1c4c7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37071fa - Browse repository at this point
Copy the full SHA 37071faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05749c4 - Browse repository at this point
Copy the full SHA 05749c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d274443 - Browse repository at this point
Copy the full SHA d274443View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b4d5cb - Browse repository at this point
Copy the full SHA 0b4d5cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b65e37 - Browse repository at this point
Copy the full SHA 6b65e37View commit details -
Configuration menu - View commit details
-
Copy full SHA for e843f2d - Browse repository at this point
Copy the full SHA e843f2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a94e6fc - Browse repository at this point
Copy the full SHA a94e6fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5bcf7e - Browse repository at this point
Copy the full SHA a5bcf7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c676f5 - Browse repository at this point
Copy the full SHA 1c676f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for aaba2b6 - Browse repository at this point
Copy the full SHA aaba2b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bce8eed - Browse repository at this point
Copy the full SHA bce8eedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53f8976 - Browse repository at this point
Copy the full SHA 53f8976View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.