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

Remove metric options; rename "counter" aggregator to "sum" #541

Merged
merged 5 commits into from
Mar 12, 2020

Conversation

jmacd
Copy link
Contributor

@jmacd jmacd commented Mar 11, 2020

Resolves #540.
Removes a lot of v0.2 specification leftovers.
"counter" to "sum" brings this SDK into line w/ the draft SDK spec
See also #536 standardization.

@jmacd jmacd added the area:metrics Part of OpenTelemetry Metrics label Mar 11, 2020
Copy link
Contributor

@MrAlias MrAlias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. Cleans things up a lot!

Only comments are minor wording issues. Nothing blocking.

api/metric/api.go Outdated Show resolved Hide resolved
api/metric/api.go Outdated Show resolved Hide resolved
api/global/internal/meter.go Show resolved Hide resolved
api/metric/sdkhelpers.go Outdated Show resolved Hide resolved
@jmacd
Copy link
Contributor Author

jmacd commented Mar 12, 2020

I plan to merge this. There have been a number of high-velocity changes lately, but they are mostly code deletion. The reason for velocity is that it lets me work on the next steps for the beta without tremendous merge conflicts. In this case, the PR to finish #514 really should build on top of this PR.

@jmacd jmacd merged commit 23e65ac into open-telemetry:master Mar 12, 2020
@jmacd jmacd deleted the jmacd/remove_metric_options branch March 12, 2020 03:21
MikeGoldsmith pushed a commit to MikeGoldsmith/opentelemetry-go that referenced this pull request Mar 13, 2020
…emetry#541)

* Remove options (mostly)

* Rename counter aggregator to 'sum'

* Fix prometheus test

* Rewordings from feedback
@pellared pellared added this to the untracked milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:metrics Part of OpenTelemetry Metrics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove metric kind-dependent options
3 participants