Skip to content

Commit

Permalink
Add 'type' to all groups (#2693)
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanCut authored Jul 27, 2022
1 parent 7fcd293 commit 6a3df0d
Show file tree
Hide file tree
Showing 27 changed files with 81 additions and 0 deletions.
1 change: 1 addition & 0 deletions semantic_conventions/resource/browser.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: browser
prefix: browser
type: resource
brief: >
The web browser in which the application represented by the resource is running.
The `browser.*` attributes MUST be used only for resources that represent applications
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/resource/cloud.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: cloud
prefix: cloud
type: resource
brief: >
A cloud environment (e.g. GCP, Azure, AWS)
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/resource/cloud_provider/aws/ecs.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: aws.ecs
prefix: aws.ecs
type: resource
brief: >
Resources used by AWS Elastic Container Service (ECS).
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/resource/cloud_provider/aws/eks.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: aws.eks
prefix: aws.eks
type: resource
brief: >
Resources used by AWS Elastic Kubernetes Service (EKS).
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/resource/cloud_provider/aws/logs.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: aws.log
prefix: aws.log
type: resource
brief: >
Resources specific to Amazon Web Services.
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/resource/container.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: container
prefix: container
type: resource
brief: >
A container instance.
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/resource/deployment_environment.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: deployment
prefix: deployment
type: resource
brief: >
The software deployment.
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/resource/device.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: device
prefix: device
type: resource
brief: >
The device on which the process represented by this resource is running.
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/resource/faas.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: faas_resource
prefix: faas
type: resource
brief: >
A serverless instance.
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/resource/host.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: host
prefix: host
type: resource
brief: >
A host is defined as a general computing instance.
attributes:
Expand Down
11 changes: 11 additions & 0 deletions semantic_conventions/resource/k8s.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: k8s.cluster
prefix: k8s.cluster
type: resource
brief: >
A Kubernetes Cluster.
attributes:
Expand All @@ -12,6 +13,7 @@ groups:

- id: k8s.node
prefix: k8s.node
type: resource
brief: >
A Kubernetes Node object.
attributes:
Expand All @@ -28,6 +30,7 @@ groups:

- id: k8s.namespace
prefix: k8s.namespace
type: resource
brief: >
A Kubernetes Namespace.
attributes:
Expand All @@ -39,6 +42,7 @@ groups:

- id: k8s.pod
prefix: k8s.pod
type: resource
brief: >
A Kubernetes Pod object.
attributes:
Expand All @@ -55,6 +59,7 @@ groups:

- id: k8s.container
prefix: k8s.container
type: resource
brief: >
A container in a [PodTemplate](https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates).
attributes:
Expand All @@ -75,6 +80,7 @@ groups:

- id: k8s.replicaset
prefix: k8s.replicaset
type: resource
brief: >
A Kubernetes ReplicaSet object.
attributes:
Expand All @@ -91,6 +97,7 @@ groups:

- id: k8s.deployment
prefix: k8s.deployment
type: resource
brief: >
A Kubernetes Deployment object.
attributes:
Expand All @@ -107,6 +114,7 @@ groups:

- id: k8s.statefulset
prefix: k8s.statefulset
type: resource
brief: >
A Kubernetes StatefulSet object.
attributes:
Expand All @@ -123,6 +131,7 @@ groups:

- id: k8s.daemonset
prefix: k8s.daemonset
type: resource
brief: >
A Kubernetes DaemonSet object.
attributes:
Expand All @@ -139,6 +148,7 @@ groups:

- id: k8s.job
prefix: k8s.job
type: resource
brief: >
A Kubernetes Job object.
attributes:
Expand All @@ -155,6 +165,7 @@ groups:

- id: k8s.cronjob
prefix: k8s.cronjob
type: resource
brief: >
A Kubernetes CronJob object.
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/resource/os.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: os
prefix: os
type: resource
brief: >
The operating system (OS) on which the process represented by this resource is running.
note: >
Expand Down
2 changes: 2 additions & 0 deletions semantic_conventions/resource/process.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: process
prefix: process
type: resource
brief: >
An operating system process.
attributes:
Expand Down Expand Up @@ -72,6 +73,7 @@ groups:

- id: process.runtime
prefix: process.runtime
type: resource
brief: >
The single (language) runtime instance which is monitored.
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/resource/service.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: service
prefix: service
type: resource
brief: >
A service instance.
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/resource/telemetry.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: telemetry
prefix: telemetry
type: resource
brief: >
The telemetry SDK used to capture data recorded by the instrumentation libraries.
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/resource/webengine.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: webengine_resource
prefix: webengine
type: resource
brief: >
Resource describing the packaged software running the application code. Web engines are typically executed using process.runtime.
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/trace/aws/lambda.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: aws.lambda
prefix: aws.lambda
type: span
brief: >
Span attributes used by AWS Lambda (in addition to general `faas` attributes).
attributes:
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/trace/cloudevents.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: cloudevents
prefix: cloudevents
type: span
brief: >
This document defines attributes for CloudEvents.
CloudEvents is a specification on how to define event data in a standard way.
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/trace/compatibility.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: opentracing
prefix: opentracing
type: span
brief: 'This document defines semantic conventions for the OpenTracing Shim'
note: >
These conventions are used by the OpenTracing Shim layer.
Expand Down
7 changes: 7 additions & 0 deletions semantic_conventions/trace/database.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: db
prefix: db
type: span
brief: >
This document defines the attributes used to perform database client calls.
span_kind: client
Expand Down Expand Up @@ -243,6 +244,7 @@ groups:

- id: db.mssql
prefix: db.mssql
type: span
extends: db
brief: >
Connection-level attributes for Microsoft SQL Server
Expand All @@ -260,6 +262,7 @@ groups:

- id: db.cassandra
prefix: db.cassandra
type: span
extends: db
brief: >
Call-level attributes for Cassandra
Expand Down Expand Up @@ -337,6 +340,7 @@ groups:

- id: db.redis
prefix: db.redis
type: span
extends: db
brief: >
Call-level attributes for Redis
Expand All @@ -353,6 +357,7 @@ groups:

- id: db.mongodb
prefix: db.mongodb
type: span
extends: db
brief: >
Call-level attributes for MongoDB
Expand All @@ -367,6 +372,7 @@ groups:

- id: db.sql
prefix: 'db.sql'
type: span
extends: 'db'
brief: >
Call-level attributes for SQL databases
Expand All @@ -385,6 +391,7 @@ groups:
examples: ['public.users', 'customers']

- id: db.tech
type: span
brief: "Semantic convention group for specific technologies"
constraints:
- include: 'db.cassandra'
Expand Down
7 changes: 7 additions & 0 deletions semantic_conventions/trace/faas.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: faas_span
prefix: faas
type: span
brief: >
This semantic convention describes an instance of a function that
runs without provisioning or managing of servers (also known as
Expand Down Expand Up @@ -43,6 +44,7 @@ groups:

- id: faas_span.datasource
prefix: faas.document
type: span
extends: faas_span
brief: >
Semantic Convention for FaaS triggered as a response to some data
Expand Down Expand Up @@ -87,6 +89,7 @@ groups:
examples: ["myFile.txt", "myTableName"]

- id: faas_span.http
type: span
extends: faas_span
brief: >
Semantic Convention for FaaS triggered as a response to some data
Expand All @@ -95,6 +98,7 @@ groups:
- include: http.server

- id: faas_span.pubsub
type: span
extends: faas_span
brief: >
Semantic Convention for FaaS set to be executed when messages are
Expand All @@ -105,6 +109,7 @@ groups:
- id: faas_span.timer
extends: faas_span
prefix: faas
type: span
brief: >
Semantic Convention for FaaS scheduled to be executed regularly.
attributes:
Expand All @@ -126,6 +131,7 @@ groups:
extends: faas_span
span_kind: server
prefix: faas
type: span
brief: >
Contains additional attributes for incoming FaaS spans.
attributes:
Expand All @@ -141,6 +147,7 @@ groups:
extends: faas_span
span_kind: client
prefix: faas
type: span
brief: >
Contains additional attributes for outgoing FaaS spans.
attributes:
Expand Down
5 changes: 5 additions & 0 deletions semantic_conventions/trace/general.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: network
prefix: net
type: span
brief: >
These attributes may be used for any network related operation.
attributes:
Expand Down Expand Up @@ -210,6 +211,7 @@ groups:
examples: "DE"
- id: peer
prefix: peer
type: span
brief: "Operations that access some remote service."
attributes:
- id: service
Expand All @@ -221,6 +223,7 @@ groups:
examples: "AuthTokenCache"
- id: identity
prefix: enduser
type: span
brief: >
These attributes may be used for any operation with an authenticated and/or authorized enduser.
attributes:
Expand All @@ -245,6 +248,7 @@ groups:
examples: 'read:message, write:files'
- id: thread
prefix: thread
type: span
brief: >
These attributes may be used for any operation to store information about a thread that started a span.
attributes:
Expand All @@ -260,6 +264,7 @@ groups:
examples: main
- id: code
prefix: code
type: span
brief: >
These attributes allow to report this unit of code and therefore to provide more context about the span.
attributes:
Expand Down
Loading

0 comments on commit 6a3df0d

Please sign in to comment.