-
Notifications
You must be signed in to change notification settings - Fork 239
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
Update Instrument validation and move to SDK #1706
Labels
Comments
👋 This issue has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instrument name, unit, and version all have certain guidelines to adhere to. Currently, the logic to validate the instrument name is in the API, as part of
OpenTelemetry::Metrics::Meter#create_instrument
:opentelemetry-ruby/metrics_api/lib/opentelemetry/metrics/meter.rb
Lines 58 to 70 in 0a474ef
Since the original implementation, the guidance has changed. The logic should now live in the SDK rather than the API.
Move the logic from the SDK to the API and verify that the validation procedures still match the spec.
The text was updated successfully, but these errors were encountered: