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

Add the concept of Blob Reference Properties ("reference attributes" and "reference fields") to the spec #1521

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

michaelsafyan
Copy link
Contributor

Fixes #1428

Changes

Adds the concept of "reference attributes" / "reference fields" to the specification.

Merge requirement checklist

@michaelsafyan
Copy link
Contributor Author

Given the existence of the use of ref in the VCS attributes, I will update this PR with an alternative segment.

@michaelsafyan
Copy link
Contributor Author

Here are some possible naming alternatives to ref:

  • external: given that it will be in external storage
  • ext: shorter way of using the name "external"
  • foreign: given that it is in a foreign storage location
  • remote: given that it may be in another storage location
  • ext_storage: similar mash up of the above
  • remote_storage: similar mash up of the above
  • blob_ref: another possible name

Any other thoughts? Any opinions on what is best?

@michaelsafyan
Copy link
Contributor Author

I've updated the pull request to use *.blob_ref.* instead of *.ref.* but am open to alternative naming suggestions.

@christophe-kamphaus-jemmic
Copy link
Contributor

I think blob_ref is a good choice.

Should there be some tooling to make sure we don't accidentally define anything blob_ref.* in the future?
Eg. could we add a policy in policies/ to flag a violation if blob_ref.* is detected?

docs/general/events.md Outdated Show resolved Hide resolved
docs/general/events.md Outdated Show resolved Hide resolved
Copy link
Contributor

@jsuereth jsuereth left a comment

Choose a reason for hiding this comment

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

Policy looks great!

Looking for more input from @open-telemetry/specs-semconv-maintainers

policies/blob_reference_property_reserved_segment.rego Outdated Show resolved Hide resolved
@michaelsafyan michaelsafyan changed the title Add the concept of reference attributes to the spec Add the concept of Blob Reference Properties ("reference attributes" and "reference fields") to the spec Nov 18, 2024
@michaelsafyan
Copy link
Contributor Author

Received feedback in Nov 18 SemConv Meeting that this PR needs to be amended to remove "attributes" from the scope, because of the possibility of encouraging large attributes.

Was also suggested to narrow scope to define a specific event type that contains its values as a reference.

@michaelsafyan michaelsafyan marked this pull request as draft November 19, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Seeking input on proposal for "reference"-type attribute values.
4 participants