https://github.com/opentelemetry-php/sem-conv
[READONLY] The Semantic conventions for OpenTelemetry PHP
https://github.com/opentelemetry-php/sem-conv
Last synced: 6 months ago
JSON representation
[READONLY] The Semantic conventions for OpenTelemetry PHP
- Host: GitHub
- URL: https://github.com/opentelemetry-php/sem-conv
- Owner: opentelemetry-php
- Created: 2022-05-24T16:14:14.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-24T02:32:41.000Z (about 1 year ago)
- Last Synced: 2025-06-24T03:29:36.322Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 360 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/opentelemetry-php/sem-conv/releases)
[](https://github.com/open-telemetry/opentelemetry-php/tree/main/src/SemConv)
[](https://github.com/opentelemetry-php/sem-conv)
[](https://packagist.org/packages/open-telemetry/sem-conv/)
[](https://packagist.org/packages/open-telemetry/sem-conv/)
# OpenTelemetry Semantic Conventions
Common semantic conventions used by OpenTelemetry implementations across all languages.
Please note that Semantic Conventions are tagged with the version of the
[Semantic Conventions](https://github.com/open-telemetry/semantic-conventions/tags) that they were generated from.
See https://opentelemetry.io/docs/concepts/semantic-conventions/.
# Stability
Semantic conventions are separated into `stable` and `incubating`. Both are generated from the
[Semantic Conventions](https://github.com/open-telemetry/semantic-conventions) release with the same version as this package.
Instrumentation authors should use stable conventions where possible, but may use incubating conventions.
Deprecated conventions will be removed immediately from the next release after their deprecation, and there is no
backwards compatibility guarantee for deprecated conventions.
## Stable
Stable semantic conventions (`OpenTelemetry\SemConv\Attributes\*` and `OpenTelemetry\SemConv\Metrics\*`) are based
on all elements marked as `stable` and are considered safe for use in production.
## Incubating
Incubating semantic conventions (`OpenTelemetry\SemConv\Incubating\*`) contain both `stable` and `experimental` (in-development)
elements. Experimental elements should be used with caution.
## Installation
```shell
composer require open-telemetry/sem-conv
```
## Contributing
This repository is a read-only git subtree split.
To contribute, please see the main [OpenTelemetry PHP monorepo](https://github.com/open-telemetry/opentelemetry-php).