-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat: Add auto-generated semantic conventions gem #858
feat: Add auto-generated semantic conventions gem #858
Conversation
Generated from the YAML, complete with Rake task to build it.
Note that:
Example: ~/projects/opentelemetry-ruby/semantic_conventions ahayworth-yaml-intensifies 19s
❯ pry
[1] pry(main)> require_relative './lib/opentelemetry-semantic_conventions'
=> true
[2] pry(main)> OpenTelemetry::SemanticConventions::Trace::FAAS_DOCUMENT_NAME
=> "faas.document.name"
[3] pry(main)> OpenTelemetry::SemanticConventions::Resource::PROCESS_PID
=> "process.pid"
[4] pry(main)> We could alternately put these under the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome! Thanks @ahayworth!
I think it is fine under |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇
Agreed
I appreciate the desire for it, but that's a really long namespace. |
I think the follow-on to this should be to remove the |
Generated from the YAML, complete with Rake task to build it.
Fixes #733