Skip to content

Move metric api package into otel#1252

Merged
MrAlias merged 24 commits intoopen-telemetry:masterfrom
MrAlias:mv-metric
Oct 17, 2020
Merged

Move metric api package into otel#1252
MrAlias merged 24 commits intoopen-telemetry:masterfrom
MrAlias:mv-metric

Conversation

@MrAlias
Copy link
Copy Markdown
Contributor

@MrAlias MrAlias commented Oct 13, 2020

@MrAlias MrAlias added pkg:API Related to an API package area:metrics Part of OpenTelemetry Metrics release:required-for-ga labels Oct 13, 2020
@MrAlias MrAlias added this to the RC1 milestone Oct 13, 2020
@MrAlias MrAlias self-assigned this Oct 13, 2020
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 13, 2020

Codecov Report

Merging #1252 into master will decrease coverage by 0.0%.
The diff coverage is 77.6%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #1252     +/-   ##
========================================
- Coverage    76.9%   76.8%   -0.1%     
========================================
  Files         132     122     -10     
  Lines        5925    5924      -1     
========================================
- Hits         4558    4553      -5     
- Misses       1120    1125      +5     
+ Partials      247     246      -1     
Impacted Files Coverage Δ
api/global/internal/state.go 100.0% <ø> (ø)
api/global/metric.go 100.0% <ø> (ø)
exporters/metric/prometheus/prometheus.go 54.5% <0.0%> (ø)
exporters/otlp/otlp.go 76.9% <ø> (ø)
instrumentkind_string.go 10.0% <ø> (ø)
internal/metric/async.go 77.7% <ø> (ø)
metric_noop.go 0.0% <ø> (ø)
metric_sdkapi.go 100.0% <ø> (ø)
number.go 29.6% <ø> (ø)
numberkind_string.go 16.6% <ø> (ø)
... and 28 more

@MrAlias MrAlias merged commit 818c7b1 into open-telemetry:master Oct 17, 2020
@MrAlias MrAlias deleted the mv-metric branch October 17, 2020 16:48
@MrAlias MrAlias mentioned this pull request Nov 20, 2020
AzfaarQureshi pushed a commit to open-o11y/opentelemetry-go that referenced this pull request Dec 3, 2020
* Update metric Kind to InstrumentKind

* Update all the other modules with Kind rename

* Update metric Descriptor with instrument Kind rename

* Update other modules with Descriptor method rename

* Update OTLP exporter test field name

* Rename kind filenames

* Add changes to CHANGELOG

* Fix documentation for Grouping and PrecomputedSum

* Rename meter.go to metric.go

* Move descriptor.go into metric.go

* Move must.go into metric.go

* Move instruments into metric_instrument.go

* Rename metric api_test.go to metric_test.go

* Move instrumentkind_test.go into metric_test.go

* Rename sdkapi.go metric_sdkapi.go

* Move api/metric into otel

* Update to use moved packages

* Rename otel.go to error_handler.go

* Add changes to CHANGELOG

* Fix merge conflict resolution error
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 pkg:API Related to an API package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants