-
Notifications
You must be signed in to change notification settings - Fork 893
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 Semantic conventions for TLS/SSL encrypted communication #2992
Conversation
Signed-off-by: svrnm <neumanns@cisco.com>
Signed-off-by: svrnm <neumanns@cisco.com>
Signed-off-by: svrnm <neumanns@cisco.com>
Signed-off-by: svrnm <neumanns@cisco.com>
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
@open-telemetry/specs-approvers any feedback?:) |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
anything missing, any additional feedback? |
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.
Please also add a changelog entry: https://github.com/open-telemetry/opentelemetry-specification/blob/main/CHANGELOG.md?plain=1#L29
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Now that the ECS OTEP was merged, do we also want maybe to adopt the attributes from there for these? https://www.elastic.co/guide/en/ecs/current/ecs-tls.html |
@joaopgrassi |
@joaopgrassi thx for bringing that up here! @svrnm check out open-telemetry/semantic-conventions#1012 and #3409 for some examples, and see if it makes sense to rename the new attributes you've proposed to align with the ECS names. We will bring over ECS attributes more proactively in the future, but for now we just want to avoid new divergence in cases where alignment makes sense. |
Signed-off-by: svrnm <neumanns@cisco.com>
@joaopgrassi , @trask thank you! I gave it a try, a few notable changes:
|
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
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.
LGTM, thanks for putting the effort on this!
About the array attributes, I think we should be OK in adding them, as there's already some conventions using it like
opentelemetry-specification/semantic_conventions/resource/cloud_provider/aws/logs.yaml
Line 9 in abf540c
type: string[] |
I'm not an expert in this, so I don't know how crucial those array attributes are, but I guess the goal is to take over all ECS attributes. @trask @AlexanderWert what do you think?
Signed-off-by: svrnm <neumanns@cisco.com>
Signed-off-by: svrnm <neumanns@cisco.com>
Signed-off-by: svrnm <neumanns@cisco.com>
I added certificate and certificate_chain now, please give it a look. |
@svrnm heads up - most likely this PR will be closed, and we'll ask you to resubmit the PR in a new repo, please refer to #3474 (comment). |
I assumed that, let me find some time to bring it over to the new semconv repo! |
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.
Please move this to https://github.com/open-telemetry/semantic-conventions
Fixes #1652
Changes
Add trace/span semantic conventions for TLS/SSL.
I created a similar PR (#1854) a long while back that stalled eventually, I wanted to give it another try. Before doing so I did some scrubbing, added some references, removed some things where I was uncertain and updated a few things to match the APIs or RFCs (e.g. "not_before" and "not_after" are used for validity instead of valid_from and valid_to)
Reference implementation: https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/plugins/node/opentelemetry-instrumentation-net/src/instrumentation.ts#L121
References: