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

feat(sdk-metrics-base): remove per-meter config on MeterProvider.getMeter #2563

Merged

Conversation

legendecas
Copy link
Member

Which problem is this PR solving?

API doesn't allow to pass a meter config to getMeter.

Related: #2546
Related: #2547

Short description of the changes

Removes per-meter config on MeterProvider.getMeter.

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • Followed the style guidelines of this project
  • Unit tests have been added

@codecov
Copy link

codecov bot commented Oct 26, 2021

Codecov Report

Merging #2563 (7e3d7da) into main (61cf8c5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2563   +/-   ##
=======================================
  Coverage   93.07%   93.07%           
=======================================
  Files         140      140           
  Lines        5169     5169           
  Branches     1101     1101           
=======================================
  Hits         4811     4811           
  Misses        358      358           

…Meter`

Makes it compliant with api definition.
@legendecas legendecas marked this pull request as ready for review October 26, 2021 07:35
@legendecas legendecas requested a review from a team as a code owner October 26, 2021 07:35
@vmarchaud vmarchaud added the enhancement New feature or request label Oct 26, 2021
@dyladan dyladan linked an issue Oct 27, 2021 that may be closed by this pull request
1 task
@dyladan
Copy link
Member

dyladan commented Nov 1, 2021

Can you please fix the conflicts so I can merge this?

# Conflicts:
#	experimental/packages/opentelemetry-sdk-metrics-base/src/MeterProvider.ts
@vmarchaud vmarchaud merged commit 4e311bd into open-telemetry:main Nov 2, 2021
@legendecas legendecas deleted the metrics-ff/config-propagation branch November 2, 2021 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants