Skip to content

Remove checks and callbacks from API#2164

Merged
ocelotl merged 2 commits intoopen-telemetry:metrics_newfrom
ocelotl:issue_2151
Oct 12, 2021
Merged

Remove checks and callbacks from API#2164
ocelotl merged 2 commits intoopen-telemetry:metrics_newfrom
ocelotl:issue_2151

Conversation

@ocelotl
Copy link
Copy Markdown
Contributor

@ocelotl ocelotl commented Sep 29, 2021

Fixes #2151

@ocelotl ocelotl added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Sep 29, 2021
@ocelotl ocelotl requested a review from aabmass September 29, 2021 21:52
@ocelotl ocelotl self-assigned this Sep 29, 2021
@ocelotl ocelotl requested a review from a team September 29, 2021 21:52
@lzchen
Copy link
Copy Markdown
Contributor

lzchen commented Oct 1, 2021

@aabmass @ocelotl

I don't have the original context of the discussion (can someone link the discussion on the original PR)? Why are we removing the validation checks and callbacks?

@ocelotl
Copy link
Copy Markdown
Contributor Author

ocelotl commented Oct 1, 2021

Removing checks until we have figured out a mechanism for error handling as defined in #2148


_name_regex = compile_(r"[a-zA-Z][-.\w]{0,62}")

@property
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why remove the properties?

Copy link
Copy Markdown
Member

@aabmass aabmass left a comment

Choose a reason for hiding this comment

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

LGTM. Can we open up a follow up issue for the added todo/fixmes?

@ocelotl ocelotl merged commit 4254a0b into open-telemetry:metrics_new Oct 12, 2021
@ocelotl ocelotl deleted the issue_2151 branch October 12, 2021 14:20
ocelotl added a commit to ocelotl/opentelemetry-python that referenced this pull request Oct 13, 2021
* Remove checks and callbacks from API

Fixes open-telemetry#2151

* Fix tests
aabmass pushed a commit to aabmass/opentelemetry-python that referenced this pull request Oct 29, 2021
* Remove checks and callbacks from API

Fixes open-telemetry#2151

* Fix tests
ocelotl added a commit that referenced this pull request Nov 2, 2021
* Remove checks and callbacks from API

Fixes #2151

* Fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants