<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Code
--->

# Semantic conventions for code

**Status**: [Experimental][DocumentStatus]

This document defines semantic conventions for source code.

> **Warning**
>
> Existing code instrumentations that are using
> [v1.29.0 of `code` conventions](https://github.com/open-telemetry/semantic-conventions/blob/v1.29.0/docs/attributes-registry/code.md)
> (or prior):
>
> * SHOULD NOT change the version of the `code` conventions that they emit by default
    >   until the `code` semantic conventions are marked stable.

[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status
