-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds Views to metrics SDK * Add view documentation * Add type for instrument * Add more restrictions to matching criteria * Remove regex matching from meter name * Remove name from matching criteria * Add some fixes * Rename attribute * Update opentelemetry-sdk/src/opentelemetry/sdk/_metrics/view.py Co-authored-by: Aaron Abbott <[email protected]> * Update attribute keys type * More fixes * Remove regex and default view mechanism * Raise exceptions instead of logging warnings * Refactor warning * Fix issues * Add support for fnmatch and fix view matching * Fix test case * Add some fixes * WIP * WIP * Add final decorator * Fix lint * Use f string * Fix documentation * Fix documentation * Remove check * Remove unnecessary attribute * Fix documentation * Fix documentation * Fix tests * More fixes * Update opentelemetry-sdk/src/opentelemetry/sdk/_metrics/metric_reader_storage.py Co-authored-by: Alex Boten <[email protected]> * Update opentelemetry-sdk/src/opentelemetry/sdk/_metrics/metric_reader_storage.py Co-authored-by: Alex Boten <[email protected]> * More fixes * WIP fix tests * WIP * More fixing * Fix issue with 3.6 * Add comment for private view attributes * Fix view matching * Handle view aggregations in metric reader storage * Fix docs * Remove wildcard support for meter attributes * Fix documentation * Rename to _default_aggregation * Use default view argument * Update opentelemetry-sdk/src/opentelemetry/sdk/_metrics/view.py Co-authored-by: Aaron Abbott <[email protected]> Co-authored-by: Aaron Abbott <[email protected]> Co-authored-by: Alex Boten <[email protected]> Co-authored-by: Alex Boten <[email protected]>
- Loading branch information
1 parent
50093f2
commit 24bd23d
Showing
10 changed files
with
515 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.