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

Semantic Convention for Deployments #3168

Closed
thisthat opened this issue Feb 2, 2023 · 4 comments
Closed

Semantic Convention for Deployments #3168

thisthat opened this issue Feb 2, 2023 · 4 comments
Labels
area:semantic-conventions Related to semantic conventions spec:logs Related to the specification/logs directory spec:miscellaneous For issues that don't match any other spec label spec:trace Related to the specification/trace directory

Comments

@thisthat
Copy link
Member

thisthat commented Feb 2, 2023

Context

I would like to propose a semantic convention for Cloud Native Deployments. This semantic convention will support the observability of deployments by enriching logs and DORA metrics with information about the application and/or microservices under deployment. Furthermore, traces could also be augmented with this data gaining visibility in all the steps the deployment goes through and pinpointing root causes of failure.

Proposed Attributes

Deployments can have one or more applications. Each application comprises one or more processes, called Workload in K8s terminology. Furthermore, deployments usually also carry additional tasks that set the stage up to be able to serve the newly deployed application(s).
This issue proposes to track name, version, and status attributes for Application(s), Workload(s), and Task(s)

Please take a look at #3169 for a more comprehensive description.

Additional Info

We started implementing this in Keptn, an incubating CNCF project. An example of the usage of this data is available here: https://github.com/keptn-sandbox/klt-on-k3s-with-argocd

@thisthat thisthat added the spec:miscellaneous For issues that don't match any other spec label label Feb 2, 2023
@joshgav
Copy link

joshgav commented Feb 2, 2023

Nice idea @thisthat! Do you think we might inject emitters for these events into say Jenkins (via the Java instrumentation repo) and Tekton (via the Go repo)? That would help with adoption.

@thisthat
Copy link
Member Author

thisthat commented Feb 2, 2023

Hey @joshgav, I am not an expert on how these repos work, but I think auto-instrumentation for these attributes is feasible. deployment.application.name is the only attribute for which there is no 100% fit since both tools do not have the Application concept. Nevertheless, we could use the pipeline name for it.

@arminru arminru added area:semantic-conventions Related to semantic conventions spec:trace Related to the specification/trace directory spec:logs Related to the specification/logs directory labels Feb 7, 2023
@SergeyKanzhelev SergeyKanzhelev removed their assignment Feb 18, 2023
@joshgav
Copy link

joshgav commented Jun 22, 2023

Hi folks - I believe this may in fact be the same or at least closely overlap this issue: open-telemetry/oteps#223, PTAL

@AloisReitbauer 👀

@dyladan
Copy link
Member

dyladan commented May 21, 2024

I think this is being handled by the CI/CD group now in the semconv repo

@dyladan dyladan closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:semantic-conventions Related to semantic conventions spec:logs Related to the specification/logs directory spec:miscellaneous For issues that don't match any other spec label spec:trace Related to the specification/trace directory
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants