semconv: Add metric generation #4528
Labels
area:metrics
Part of OpenTelemetry Metrics
enhancement
New feature or request
help wanted
Extra attention is needed
pkg:semconv
Related to a semconv package
Milestone
Generate semconv's
type: metric
.E.g. the following could be generated (at least the instrument name, but maybe something that creates a whole instrument would be better? but it may be too complex): https://github.com/open-telemetry/semantic-conventions/blob/e880bddb63437119a33caddd643e069b500851a6/model/metrics/http.yaml#L91C1-L96
The new functionality could be used e.g. here: https://github.com/open-telemetry/opentelemetry-go-contrib/blob/f44f5ad46d64fb5f1d8615bfea479ed29ac540dc/instrumentation/google.golang.org/grpc/otelgrpc/config.go#L75-L77
The text was updated successfully, but these errors were encountered: