-
Notifications
You must be signed in to change notification settings - Fork 706
Metrics export pipeline + metrics stdout exporter #341
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
Changes from 14 commits
bbfb6f6
da5a9f4
c783e48
88bdc57
ea77627
07e5bb5
b8e4aed
bb814ec
2f44e84
e7c8eaa
248a793
4ce4ae1
9be693c
f0f302e
8351ef9
4408d94
9db1540
cc862b9
7a5a14d
f9fbd6d
ba41d38
5c2b86e
4e771d6
3af96b7
303fefe
fcb46aa
0ba6611
35697d4
6dfa2b2
9578dba
f4d82e7
a7a9c54
fe44402
d011b8e
6588aee
d99a2a3
1c9d44d
56f68e8
cb51341
b1bfa38
ac1aff9
f135cc8
897a8ba
f73da8d
1619575
6136987
08a5357
5f68832
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
opentelemetry.sdk.metrics.export.aggregate | ||
========================================== | ||
|
||
.. automodule:: opentelemetry.sdk.metrics.export.aggregate | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
opentelemetry.sdk.metrics.export.batcher | ||
========================================== | ||
|
||
.. toctree:: | ||
|
||
opentelemetry.sdk.metrics.export | ||
|
||
.. automodule:: opentelemetry.sdk.metrics.export.batcher | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
opentelemetry.sdk.metrics.export | ||
========================================== | ||
|
||
.. automodule:: opentelemetry.sdk.metrics.export | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -220,7 +220,7 @@ def create_metric( | |
metric_type: Type[MetricT], | ||
label_keys: Sequence[str] = (), | ||
enabled: bool = True, | ||
monotonic: bool = False, | ||
alternate: bool = False, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IMO "alternate" doesn't really correspond to the behavior. is this still in flux? what's the best way to give feedback if this is a spec-level decision? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're correct. There are new terms for expressing default behaviour here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
) -> "Metric": | ||
"""Creates a ``metric_kind`` metric with type ``value_type``. | ||
|
||
|
@@ -232,7 +232,7 @@ def create_metric( | |
metric_type: The type of metric being created. | ||
label_keys: The keys for the labels with dynamic values. | ||
enabled: Whether to report the metric by default. | ||
monotonic: Whether to only allow non-negative values. | ||
alternate: Whether to only allow non-negative values. | ||
|
||
Returns: A new ``metric_type`` metric with values of ``value_type``. | ||
""" | ||
|
Uh oh!
There was an error while loading. Please reload this page.