Skip to content

Commit bd88af9

Browse files
authored
Generate semconv/v1.27.0 (open-telemetry#5894)
This is the last version of semantic conventions we can generate using the existing tooling. The next version will require resolution of open-telemetry#5668. [Semantic Conventions v1.27.0 Release](https://github.com/open-telemetry/semantic-conventions/releases/tag/v1.27.0) Resolve open-telemetry#5475
1 parent 2578acc commit bd88af9

9 files changed

+11448
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
1515
- Add `ExemplarReservoirProviderSelector` and `DefaultExemplarReservoirProviderSelector` to `go.opentelemetry.io/otel/sdk/metric`, which defines the exemplar reservoir to use based on the aggregation of the metric. (#5861)
1616
- Add `ExemplarReservoirProviderSelector` to `go.opentelemetry.io/otel/sdk/metric.Stream` to allow using views to configure the exemplar reservoir to use for a metric. (#5861)
1717
- Add `ReservoirProvider`, `HistogramReservoirProvider` and `FixedSizeReservoirProvider` to `go.opentelemetry.io/otel/sdk/metric/exemplar` to make it convenient to use providers of Reservoirs. (#5861)
18+
- The `go.opentelemetry.io/otel/semconv/v1.27.0` package.
19+
The package contains semantic conventions from the `v1.27.0` version of the OpenTelemetry Semantic Conventions. (#5894)
1820

1921
### Fixed
2022

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ SEMCONVPKG ?= "semconv/"
260260
semconv-generate: $(SEMCONVGEN) $(SEMCONVKIT)
261261
[ "$(TAG)" ] || ( echo "TAG unset: missing opentelemetry semantic-conventions tag"; exit 1 )
262262
[ "$(OTEL_SEMCONV_REPO)" ] || ( echo "OTEL_SEMCONV_REPO unset: missing path to opentelemetry semantic-conventions repo"; exit 1 )
263-
$(SEMCONVGEN) -i "$(OTEL_SEMCONV_REPO)/model/." --only=attribute_group -p conventionType=trace -f attribute_group.go -t "$(SEMCONVPKG)/template.j2" -s "$(TAG)"
263+
$(SEMCONVGEN) -i "$(OTEL_SEMCONV_REPO)/model/." --only=attribute_group -p conventionType=trace -f attribute_group.go -z "$(SEMCONVPKG)/capitalizations.txt" -t "$(SEMCONVPKG)/template.j2" -s "$(TAG)"
264264
$(SEMCONVGEN) -i "$(OTEL_SEMCONV_REPO)/model/." --only=metric -f metric.go -t "$(SEMCONVPKG)/metric_template.j2" -s "$(TAG)"
265265
$(SEMCONVKIT) -output "$(SEMCONVPKG)/$(TAG)" -tag "$(TAG)"
266266

semconv/capitalizations.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
JVM
2+
VCS
3+
GC
4+
CICD
5+
AI
6+
V8JS
7+
ASPNETCore

semconv/v1.27.0/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Semconv v1.27.0
2+
3+
[![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/semconv/v1.27.0)](https://pkg.go.dev/go.opentelemetry.io/otel/semconv/v1.27.0)

semconv/v1.27.0/attribute_group.go

+9,783
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semconv/v1.27.0/doc.go

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Copyright The OpenTelemetry Authors
2+
// SPDX-License-Identifier: Apache-2.0
3+
4+
// Package semconv implements OpenTelemetry semantic conventions.
5+
//
6+
// OpenTelemetry semantic conventions are agreed standardized naming
7+
// patterns for OpenTelemetry things. This package represents the v1.27.0
8+
// version of the OpenTelemetry semantic conventions.
9+
package semconv // import "go.opentelemetry.io/otel/semconv/v1.27.0"

semconv/v1.27.0/exception.go

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Copyright The OpenTelemetry Authors
2+
// SPDX-License-Identifier: Apache-2.0
3+
4+
package semconv // import "go.opentelemetry.io/otel/semconv/v1.27.0"
5+
6+
const (
7+
// ExceptionEventName is the name of the Span event representing an exception.
8+
ExceptionEventName = "exception"
9+
)

semconv/v1.27.0/metric.go

+1,625
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semconv/v1.27.0/schema.go

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Copyright The OpenTelemetry Authors
2+
// SPDX-License-Identifier: Apache-2.0
3+
4+
package semconv // import "go.opentelemetry.io/otel/semconv/v1.27.0"
5+
6+
// SchemaURL is the schema URL that matches the version of the semantic conventions
7+
// that this package defines. Semconv packages starting from v1.4.0 must declare
8+
// non-empty schema URL in the form https://opentelemetry.io/schemas/<version>
9+
const SchemaURL = "https://opentelemetry.io/schemas/1.27.0"

0 commit comments

Comments
 (0)