Skip to content
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

Adds Aggregation and instruments as part of Metrics SDK #2234

Merged
merged 49 commits into from
Nov 18, 2021
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
082d553
Adds metrics API (#1887)
ocelotl Sep 24, 2021
162acb9
Make measurement a concrete class (#2153)
aabmass Sep 29, 2021
22b561d
Return proxy instruments from ProxyMeter (#2169)
aabmass Oct 14, 2021
6e8b1a7
Merge main 4 (#2236)
ocelotl Oct 25, 2021
4b448d8
Add MeterProvider and Meter to the SDK
ocelotl Oct 19, 2021
aa2b1f0
Add FIXMEs
ocelotl Oct 25, 2021
881b04a
Fix docstring
ocelotl Oct 25, 2021
e3816eb
Add FIXME
ocelotl Oct 25, 2021
611ef1f
Fix meter return
ocelotl Oct 25, 2021
c7f0dae
Log an error if a force flush fails
ocelotl Oct 25, 2021
0ab82ba
Add FIXME
ocelotl Oct 25, 2021
a01198f
Fix lint
ocelotl Oct 25, 2021
558c9ac
Remove SDK API module
ocelotl Oct 27, 2021
3c119a2
Unregister
ocelotl Oct 27, 2021
899c064
Fix API names
ocelotl Oct 28, 2021
bdce736
Return _DefaultMeter
ocelotl Oct 28, 2021
8cff4ca
Remove properties
ocelotl Oct 28, 2021
f019207
Pass MeterProvider as a parameter to __init__
ocelotl Oct 28, 2021
07fdeac
Add FIXMEs
ocelotl Oct 28, 2021
32b67e8
Add FIXMEs
ocelotl Oct 28, 2021
cb3ed60
Fix lint
ocelotl Oct 28, 2021
325e904
Add Aggregation to the metrics SDK
ocelotl Oct 21, 2021
ab5d753
lint fix wip
ocelotl Oct 25, 2021
26e103d
Fix lint
ocelotl Oct 25, 2021
49e82b6
Add proto to setup.cfg
ocelotl Oct 25, 2021
a58e1f9
Add timestamp for last value
ocelotl Oct 25, 2021
deb696f
Rename modules to be private
ocelotl Nov 2, 2021
904c7d9
Fix paths
ocelotl Nov 2, 2021
50e708a
Set value in concrete classes init
ocelotl Nov 10, 2021
b157bb7
Fix test
ocelotl Nov 11, 2021
3d5a779
Fix lint
ocelotl Nov 11, 2021
f1b9529
Remove temporalities
ocelotl Nov 11, 2021
46dad80
Use frozenset as key
ocelotl Nov 11, 2021
2c8e893
Test instruments
ocelotl Nov 11, 2021
2d9e0c3
Handle min, max and sum in explicit bucket histogram aggregator
ocelotl Nov 15, 2021
2f084f1
Add test for negative values
ocelotl Nov 15, 2021
641823c
Remove collect method from aggregations
ocelotl Nov 16, 2021
ed502c5
Add make_point_and_reset
ocelotl Nov 16, 2021
5f50e74
Remove add implementation
ocelotl Nov 16, 2021
f51cb8e
Remove _Synchronous
ocelotl Nov 16, 2021
c4196f7
Update opentelemetry-sdk/src/opentelemetry/sdk/_metrics/aggregation.py
ocelotl Nov 17, 2021
4c8454c
Requested fixes
ocelotl Nov 17, 2021
d8797bc
Remove NoneAggregation
ocelotl Nov 17, 2021
90f0ef8
Add changelog entry
ocelotl Nov 17, 2021
dd685f5
Fix tests
ocelotl Nov 17, 2021
b7f05b3
Fix boundaries
ocelotl Nov 17, 2021
8c1a8aa
More fixes
ocelotl Nov 17, 2021
7136925
Merge branch 'main' into issue_2229
ocelotl Nov 17, 2021
ec591ed
Update CHANGELOG.md
ocelotl Nov 18, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix lint
  • Loading branch information
ocelotl committed Nov 15, 2021
commit a01198fb54a31ef2cfdcb669a9eba9a8b44b2d5c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def get_meter(
_logger.warning(
"A shutdown `MeterProvider` can not provide a `Meter`"
)
return
return None

meter = Meter(InstrumentationInfo(name, version, schema_url))

Expand Down