opentelemetry-collector/semconv
Alex Boten e4b9425241
bump minimum supported go version to 1.23 (#12370)
With the release of 1.24, we need to bump the tested versions.

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-02-12 15:03:19 +00:00
..
v1.5.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.6.1 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.7.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.8.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.9.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.10.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.11.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.12.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.13.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.16.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.17.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.18.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.21.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.22.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.25.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.26.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
v1.27.0 Fix typos (#11348) 2024-10-09 15:43:52 -07:00
Makefile Move semconv package from pdata to its own module (#5196) 2022-04-14 11:49:20 -07:00
README.md [chore] add semconvkit to reduce toil (#9057) 2023-12-08 13:59:17 -08:00
go.mod bump minimum supported go version to 1.23 (#12370) 2025-02-12 15:03:19 +00:00
go.sum fix(deps): update module github.com/stretchr/testify to v1.10.0 (#11751) 2024-11-26 11:09:39 -08:00
package_test.go [chore] Enable goleak for all (passing) tests (#9173) 2024-01-03 08:35:58 -08:00
semconv_test.go [chore]: enable gofumpt linter in receiver, scraper, semconv and service (#11856) 2024-12-12 17:59:26 +00:00
template.j2 [semconv] update template to remove deprecated semconv attributes (#10829) 2024-08-07 13:35:19 -07:00

README.md

Semantic Convention Constants

This package contains constants representing the OpenTelemetry semantic conventions. They are automatically generated from definitions in the specification.

Generation

To generate the constants you can use the gensemconv make target. You must provide the path to the root of a clone of the semantic-conventions repository in the SPECPATH variable and the version of the conventions to generate in the SPECTAG variable.

$ make gensemconv SPECPATH=/tmp/semantic-conventions SPECTAG=v1.22.0
Generating semantic convention constants from specification version v1.22.0 at /tmp/semantic-conventions
.tools/semconvgen -o semconv/v1.22.0 -t semconv/template.j2 -s v1.22.0 -i /tmp/semantic-conventions/model/. --only=resource -p conventionType=resource -f generated_resource.go
.tools/semconvgen -o semconv/v1.22.0 -t semconv/template.j2 -s v1.22.0 -i /tmp/semantic-conventions/model/. --only=event -p conventionType=event -f generated_event.go
.tools/semconvgen -o semconv/v1.22.0 -t semconv/template.j2 -s v1.22.0 -i /tmp/semantic-conventions/model/. --only=span -p conventionType=trace -f generated_trace.go