-
Notifications
You must be signed in to change notification settings - Fork 376
Add k8s container ports attribute #2358
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -687,3 +687,17 @@ groups: | |
| [Kubernetes Resource Quotas documentation](https://kubernetes.io/docs/concepts/policy/resource-quotas/#object-count-quota) | ||
| for more details. | ||
| examples: [ 'count/replicationcontrollers' ] | ||
| - id: k8s.container.ports | ||
| requirement_level: opt_in | ||
| type: map[] | ||
| stability: development | ||
| brief: > | ||
| List of ports exposed from the container. See the Kubernetes documentation for [Container ports](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#containerport-v1-core) for more details. | ||
| The value will be an empty list when no ports are exposed. | ||
| fields: | ||
| - id: container_port | ||
| type: int | ||
| stability: development | ||
| brief: > | ||
| Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. | ||
| examples: [10053, 8080, 8081] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we include a full example for k8s.container.ports? would it be something like
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This type of example would need to be one level up though. @open-telemetry/specs-semconv-approvers is this type of examples allowed in general for |
||
Uh oh!
There was an error while loading. Please reload this page.