Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weaver #5898

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Weaver #5898

wants to merge 5 commits into from

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Oct 18, 2024

Builds off of #5793
Resolve #5668

This migrates the generation of our semconv packages from using the semconvgen tooling to the new weaver project.

The configuration and templating has been added in a way to generate as close as we can to what the semconvgen tooling already generated. There are notable differences:

Acronym/Initialism Fixes

As metioned here, the evaluated exported output of regenerating the semconv/v1.27.0 package resulted in the following changes:

weaver semconvgen
ASPNETCoreDiagnosticsExceptionsDescription AspnetcoreDiagnosticsExceptionsDescription
ASPNETCoreDiagnosticsExceptionsName AspnetcoreDiagnosticsExceptionsName
ASPNETCoreDiagnosticsExceptionsUnit AspnetcoreDiagnosticsExceptionsUnit
ASPNETCoreRateLimitingActiveRequestLeasesDescription AspnetcoreRateLimitingActiveRequestLeasesDescription
ASPNETCoreRateLimitingActiveRequestLeasesName AspnetcoreRateLimitingActiveRequestLeasesName
ASPNETCoreRateLimitingActiveRequestLeasesUnit AspnetcoreRateLimitingActiveRequestLeasesUnit
ASPNETCoreRateLimitingQueuedRequestsDescription AspnetcoreRateLimitingQueuedRequestsDescription
ASPNETCoreRateLimitingQueuedRequestsName AspnetcoreRateLimitingQueuedRequestsName
ASPNETCoreRateLimitingQueuedRequestsUnit AspnetcoreRateLimitingQueuedRequestsUnit
ASPNETCoreRateLimitingRequestLeaseDurationDescription AspnetcoreRateLimitingRequestLeaseDurationDescription
ASPNETCoreRateLimitingRequestLeaseDurationName AspnetcoreRateLimitingRequestLeaseDurationName
ASPNETCoreRateLimitingRequestLeaseDurationUnit AspnetcoreRateLimitingRequestLeaseDurationUnit
ASPNETCoreRateLimitingRequestTimeInQueueDescription AspnetcoreRateLimitingRequestTimeInQueueDescription
ASPNETCoreRateLimitingRequestTimeInQueueName AspnetcoreRateLimitingRequestTimeInQueueName
ASPNETCoreRateLimitingRequestTimeInQueueUnit AspnetcoreRateLimitingRequestTimeInQueueUnit
ASPNETCoreRateLimitingRequestsDescription AspnetcoreRateLimitingRequestsDescription
ASPNETCoreRateLimitingRequestsName AspnetcoreRateLimitingRequestsName
ASPNETCoreRateLimitingRequestsUnit AspnetcoreRateLimitingRequestsUnit
ASPNETCoreRoutingMatchAttemptsDescription AspnetcoreRoutingMatchAttemptsDescription
ASPNETCoreRoutingMatchAttemptsName AspnetcoreRoutingMatchAttemptsName
ASPNETCoreRoutingMatchAttemptsUnit AspnetcoreRoutingMatchAttemptsUnit
DBSystemDb2 DBSystemDB2
GenAIClientOperationDurationDescription GenAiClientOperationDurationDescription
GenAIClientOperationDurationName GenAiClientOperationDurationName
GenAIClientOperationDurationUnit GenAiClientOperationDurationUnit
GenAIClientTokenUsageDescription GenAiClientTokenUsageDescription
GenAIClientTokenUsageName GenAiClientTokenUsageName
GenAIClientTokenUsageUnit GenAiClientTokenUsageUnit
GenAIServerRequestDurationDescription GenAiServerRequestDurationDescription
GenAIServerRequestDurationName GenAiServerRequestDurationName
GenAIServerRequestDurationUnit GenAiServerRequestDurationUnit
GenAIServerTimePerOutputTokenDescription GenAiServerTimePerOutputTokenDescription
GenAIServerTimePerOutputTokenName GenAiServerTimePerOutputTokenName
GenAIServerTimePerOutputTokenUnit GenAiServerTimePerOutputTokenUnit
GenAIServerTimeToFirstTokenDescription GenAiServerTimeToFirstTokenDescription
GenAIServerTimeToFirstTokenName GenAiServerTimeToFirstTokenName
GenAIServerTimeToFirstTokenUnit GenAiServerTimeToFirstTokenUnit
GoMemoryGCGoalDescription GoMemoryGcGoalDescription
GoMemoryGCGoalName GoMemoryGcGoalName
GoMemoryGCGoalUnit GoMemoryGcGoalUnit
JVMBufferCountDescription JvmBufferCountDescription
JVMBufferCountName JvmBufferCountName
JVMBufferCountUnit JvmBufferCountUnit
JVMBufferMemoryLimitDescription JvmBufferMemoryLimitDescription
JVMBufferMemoryLimitName JvmBufferMemoryLimitName
JVMBufferMemoryLimitUnit JvmBufferMemoryLimitUnit
JVMBufferMemoryUsageDescription JvmBufferMemoryUsageDescription
JVMBufferMemoryUsageName JvmBufferMemoryUsageName
JVMBufferMemoryUsageUnit JvmBufferMemoryUsageUnit
JVMBufferMemoryUsedDescription JvmBufferMemoryUsedDescription
JVMBufferMemoryUsedName JvmBufferMemoryUsedName
JVMBufferMemoryUsedUnit JvmBufferMemoryUsedUnit
JVMCPUCountDescription JvmCPUCountDescription
JVMCPUCountName JvmCPUCountName
JVMCPUCountUnit JvmCPUCountUnit
JVMCPURecentUtilizationDescription JvmCPURecentUtilizationDescription
JVMCPURecentUtilizationName JvmCPURecentUtilizationName
JVMCPURecentUtilizationUnit JvmCPURecentUtilizationUnit
JVMCPUTimeDescription JvmCPUTimeDescription
JVMCPUTimeName JvmCPUTimeName
JVMCPUTimeUnit JvmCPUTimeUnit
JVMClassCountDescription JvmClassCountDescription
JVMClassCountName JvmClassCountName
JVMClassCountUnit JvmClassCountUnit
JVMClassLoadedDescription JvmClassLoadedDescription
JVMClassLoadedName JvmClassLoadedName
JVMClassLoadedUnit JvmClassLoadedUnit
JVMClassUnloadedDescription JvmClassUnloadedDescription
JVMClassUnloadedName JvmClassUnloadedName
JVMClassUnloadedUnit JvmClassUnloadedUnit
JVMGCDurationDescription JvmGcDurationDescription
JVMGCDurationName JvmGcDurationName
JVMGCDurationUnit JvmGcDurationUnit
JVMMemoryCommittedDescription JvmMemoryCommittedDescription
JVMMemoryCommittedName JvmMemoryCommittedName
JVMMemoryCommittedUnit JvmMemoryCommittedUnit
JVMMemoryInitDescription JvmMemoryInitDescription
JVMMemoryInitName JvmMemoryInitName
JVMMemoryInitUnit JvmMemoryInitUnit
JVMMemoryLimitDescription JvmMemoryLimitDescription
JVMMemoryLimitName JvmMemoryLimitName
JVMMemoryLimitUnit JvmMemoryLimitUnit
JVMMemoryUsedAfterLastGCDescription JvmMemoryUsedAfterLastGcDescription
JVMMemoryUsedAfterLastGCName JvmMemoryUsedAfterLastGcName
JVMMemoryUsedAfterLastGCUnit JvmMemoryUsedAfterLastGcUnit
JVMMemoryUsedDescription JvmMemoryUsedDescription
JVMMemoryUsedName JvmMemoryUsedName
JVMMemoryUsedUnit JvmMemoryUsedUnit
JVMSystemCPULoad1mDescription JvmSystemCPULoad1mDescription
JVMSystemCPULoad1mName JvmSystemCPULoad1mName
JVMSystemCPULoad1mUnit JvmSystemCPULoad1mUnit
JVMSystemCPUUtilizationDescription JvmSystemCPUUtilizationDescription
JVMSystemCPUUtilizationName JvmSystemCPUUtilizationName
JVMSystemCPUUtilizationUnit JvmSystemCPUUtilizationUnit
JVMThreadCountDescription JvmThreadCountDescription
JVMThreadCountName JvmThreadCountName
JVMThreadCountUnit JvmThreadCountUnit
V8JSGCDurationDescription V8jsGcDurationDescription
V8JSGCDurationName V8jsGcDurationName
V8JSGCDurationUnit V8jsGcDurationUnit
V8JSHeapSpaceAvailableSizeDescription V8jsHeapSpaceAvailableSizeDescription
V8JSHeapSpaceAvailableSizeName V8jsHeapSpaceAvailableSizeName
V8JSHeapSpaceAvailableSizeUnit V8jsHeapSpaceAvailableSizeUnit
V8JSHeapSpacePhysicalSizeDescription V8jsHeapSpacePhysicalSizeDescription
V8JSHeapSpacePhysicalSizeName V8jsHeapSpacePhysicalSizeName
V8JSHeapSpacePhysicalSizeUnit V8jsHeapSpacePhysicalSizeUnit
V8JSMemoryHeapLimitDescription V8jsMemoryHeapLimitDescription
V8JSMemoryHeapLimitName V8jsMemoryHeapLimitName
V8JSMemoryHeapLimitUnit V8jsMemoryHeapLimitUnit
V8JSMemoryHeapUsedDescription V8jsMemoryHeapUsedDescription
V8JSMemoryHeapUsedName V8jsMemoryHeapUsedName
V8JSMemoryHeapUsedUnit V8jsMemoryHeapUsedUnit

An audit of these changes leads to the conclusion that they are appropriate fixes to things that were mis-named.

Doc changes

Also mentioned here, there documentation changes that are included. Mostly this is unavoidable based on the new format of the semconv models, and effort has spent ensuring nothing substantive is lost.

See the reverted commit 66523cb for the details of how the semconv/v1.27.0 changes.

Next Steps

This PR has been paired down to migrate tooling. The next steps are to generate semconv/v1.28.0 with desired changes (i.e. maybe we don't generate ASPCoreNet attrs(?)). From there the missing semconv packages will be generated.

Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.2%. Comparing base (1994f63) to head (93095eb).

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #5898   +/-   ##
=====================================
  Coverage   82.2%   82.2%           
=====================================
  Files        273     273           
  Lines      23744   23744           
=====================================
  Hits       19537   19537           
  Misses      3858    3858           
  Partials     349     349           

@MrAlias MrAlias force-pushed the weaver branch 2 times, most recently from a9d4f9e to dab26e9 Compare October 21, 2024 18:46
@MrAlias MrAlias force-pushed the weaver branch 2 times, most recently from 82b3ba8 to e94b8b5 Compare January 28, 2025 22:31
@MrAlias
Copy link
Contributor Author

MrAlias commented Jan 29, 2025

It looks like we have parity for the exported types when generating semconv/v1.27.0. I have verified this by exporting all the func, var, and const declarations:

package main

import (
	"fmt"
	"go/ast"
	"go/parser"
	"go/token"
	"log"
	"os"
)

func main() {
	if len(os.Args) < 2 {
		log.Fatal("Please provide a package path")
	}

	pkgPath := os.Args[1]

	fset := token.NewFileSet()
	pkgs, err := parser.ParseDir(fset, pkgPath, nil, 0)
	if err != nil {
		log.Fatal(err)
	}

	for _, pkg := range pkgs {
		for _, file := range pkg.Files {
			for _, decl := range file.Decls {
				if funcDecl, ok := decl.(*ast.FuncDecl); ok {
					fmt.Println(funcDecl.Name.Name)
				} else if genDecl, ok := decl.(*ast.GenDecl); ok {
					if genDecl.Tok == token.CONST || genDecl.Tok == token.VAR {
						for _, spec := range genDecl.Specs {
							if valueSpec, ok := spec.(*ast.ValueSpec); ok {
								for _, name := range valueSpec.Names {
									fmt.Println(name.Name)
								}
							}
						}
					}
				}
			}
		}
	}
}

Using that output I can match the differences between this branch (weaver) and main using this script:

package main

import (
	"bufio"
	"fmt"
	"os"
	"sort"
	"strings"
)

func readIdentifiers(filename string) (map[string]string, error) {
	file, err := os.Open(filename)
	if err != nil {
		return nil, err
	}
	defer file.Close()

	identifiers := make(map[string]string)
	scanner := bufio.NewScanner(file)
	for scanner.Scan() {
		line := scanner.Text()
		identifiers[line] = line
	}

	if err := scanner.Err(); err != nil {
		return nil, err
	}

	return identifiers, nil
}

func findDifferences(file1, file2 string) error {
	ids1, err := readIdentifiers(file1)
	if err != nil {
		return err
	}
	ids2, err := readIdentifiers(file2)
	if err != nil {
		return err
	}

	lower1 := make(map[string]string)
	lower2 := make(map[string]string)

	for id := range ids1 {
		lower1[strings.ToLower(id)] = id
	}
	for id := range ids2 {
		lower2[strings.ToLower(id)] = id
	}

	caseInsensitiveDiff := make([]string, 0)
	caseSensitiveDiff := make([]string, 0)

	// Find case-insensitive differences
	for lowerID, originalID := range lower1 {
		if _, exists := lower2[lowerID]; !exists {
			caseInsensitiveDiff = append(caseInsensitiveDiff, fmt.Sprintf("%s (from %s)", originalID, file1))
		}
	}
	for lowerID, originalID := range lower2 {
		if _, exists := lower1[lowerID]; !exists {
			caseInsensitiveDiff = append(caseInsensitiveDiff, fmt.Sprintf("%s (from %s)", originalID, file2))
		}
	}

	// Find case-sensitive differences
	for lowerID, id1 := range lower1 {
		if id2, exists := lower2[lowerID]; exists && id1 != id2 {
			caseSensitiveDiff = append(caseSensitiveDiff, fmt.Sprintf("%s <-> %s", id1, id2))
		}
	}

	sort.Strings(caseInsensitiveDiff)
	sort.Strings(caseSensitiveDiff)

	fmt.Println("Case Insensitive Difference (Unique Identifiers):")
	for _, id := range caseInsensitiveDiff {
		fmt.Println(id)
	}

	fmt.Println("\nCase Sensitive Difference (Mismatched Casing):")
	for _, diff := range caseSensitiveDiff {
		fmt.Println(diff)
	}

	return nil
}

func main() {
	if len(os.Args) < 3 {
		fmt.Println("Usage: go run main.go <file1> <file2>")
		os.Exit(1)
	}

	file1 := os.Args[1]
	file2 := os.Args[2]

	if err := findDifferences(file1, file2); err != nil {
		fmt.Println("Error:", err)
		os.Exit(1)
	}
}

This results in:

$ go run main.go weaver.txt main.txt
Case Insensitive Difference (Unique Identifiers):

Case Sensitive Difference (Mismatched Casing):
ASPNETCoreDiagnosticsExceptionsDescription <-> AspnetcoreDiagnosticsExceptionsDescription
ASPNETCoreDiagnosticsExceptionsName <-> AspnetcoreDiagnosticsExceptionsName
ASPNETCoreDiagnosticsExceptionsUnit <-> AspnetcoreDiagnosticsExceptionsUnit
ASPNETCoreRateLimitingActiveRequestLeasesDescription <-> AspnetcoreRateLimitingActiveRequestLeasesDescription
ASPNETCoreRateLimitingActiveRequestLeasesName <-> AspnetcoreRateLimitingActiveRequestLeasesName
ASPNETCoreRateLimitingActiveRequestLeasesUnit <-> AspnetcoreRateLimitingActiveRequestLeasesUnit
ASPNETCoreRateLimitingQueuedRequestsDescription <-> AspnetcoreRateLimitingQueuedRequestsDescription
ASPNETCoreRateLimitingQueuedRequestsName <-> AspnetcoreRateLimitingQueuedRequestsName
ASPNETCoreRateLimitingQueuedRequestsUnit <-> AspnetcoreRateLimitingQueuedRequestsUnit
ASPNETCoreRateLimitingRequestLeaseDurationDescription <-> AspnetcoreRateLimitingRequestLeaseDurationDescription
ASPNETCoreRateLimitingRequestLeaseDurationName <-> AspnetcoreRateLimitingRequestLeaseDurationName
ASPNETCoreRateLimitingRequestLeaseDurationUnit <-> AspnetcoreRateLimitingRequestLeaseDurationUnit
ASPNETCoreRateLimitingRequestTimeInQueueDescription <-> AspnetcoreRateLimitingRequestTimeInQueueDescription
ASPNETCoreRateLimitingRequestTimeInQueueName <-> AspnetcoreRateLimitingRequestTimeInQueueName
ASPNETCoreRateLimitingRequestTimeInQueueUnit <-> AspnetcoreRateLimitingRequestTimeInQueueUnit
ASPNETCoreRateLimitingRequestsDescription <-> AspnetcoreRateLimitingRequestsDescription
ASPNETCoreRateLimitingRequestsName <-> AspnetcoreRateLimitingRequestsName
ASPNETCoreRateLimitingRequestsUnit <-> AspnetcoreRateLimitingRequestsUnit
ASPNETCoreRoutingMatchAttemptsDescription <-> AspnetcoreRoutingMatchAttemptsDescription
ASPNETCoreRoutingMatchAttemptsName <-> AspnetcoreRoutingMatchAttemptsName
ASPNETCoreRoutingMatchAttemptsUnit <-> AspnetcoreRoutingMatchAttemptsUnit
DBSystemDb2 <-> DBSystemDB2
GenAIClientOperationDurationDescription <-> GenAiClientOperationDurationDescription
GenAIClientOperationDurationName <-> GenAiClientOperationDurationName
GenAIClientOperationDurationUnit <-> GenAiClientOperationDurationUnit
GenAIClientTokenUsageDescription <-> GenAiClientTokenUsageDescription
GenAIClientTokenUsageName <-> GenAiClientTokenUsageName
GenAIClientTokenUsageUnit <-> GenAiClientTokenUsageUnit
GenAIServerRequestDurationDescription <-> GenAiServerRequestDurationDescription
GenAIServerRequestDurationName <-> GenAiServerRequestDurationName
GenAIServerRequestDurationUnit <-> GenAiServerRequestDurationUnit
GenAIServerTimePerOutputTokenDescription <-> GenAiServerTimePerOutputTokenDescription
GenAIServerTimePerOutputTokenName <-> GenAiServerTimePerOutputTokenName
GenAIServerTimePerOutputTokenUnit <-> GenAiServerTimePerOutputTokenUnit
GenAIServerTimeToFirstTokenDescription <-> GenAiServerTimeToFirstTokenDescription
GenAIServerTimeToFirstTokenName <-> GenAiServerTimeToFirstTokenName
GenAIServerTimeToFirstTokenUnit <-> GenAiServerTimeToFirstTokenUnit
GoMemoryGCGoalDescription <-> GoMemoryGcGoalDescription
GoMemoryGCGoalName <-> GoMemoryGcGoalName
GoMemoryGCGoalUnit <-> GoMemoryGcGoalUnit
JVMBufferCountDescription <-> JvmBufferCountDescription
JVMBufferCountName <-> JvmBufferCountName
JVMBufferCountUnit <-> JvmBufferCountUnit
JVMBufferMemoryLimitDescription <-> JvmBufferMemoryLimitDescription
JVMBufferMemoryLimitName <-> JvmBufferMemoryLimitName
JVMBufferMemoryLimitUnit <-> JvmBufferMemoryLimitUnit
JVMBufferMemoryUsageDescription <-> JvmBufferMemoryUsageDescription
JVMBufferMemoryUsageName <-> JvmBufferMemoryUsageName
JVMBufferMemoryUsageUnit <-> JvmBufferMemoryUsageUnit
JVMBufferMemoryUsedDescription <-> JvmBufferMemoryUsedDescription
JVMBufferMemoryUsedName <-> JvmBufferMemoryUsedName
JVMBufferMemoryUsedUnit <-> JvmBufferMemoryUsedUnit
JVMCPUCountDescription <-> JvmCPUCountDescription
JVMCPUCountName <-> JvmCPUCountName
JVMCPUCountUnit <-> JvmCPUCountUnit
JVMCPURecentUtilizationDescription <-> JvmCPURecentUtilizationDescription
JVMCPURecentUtilizationName <-> JvmCPURecentUtilizationName
JVMCPURecentUtilizationUnit <-> JvmCPURecentUtilizationUnit
JVMCPUTimeDescription <-> JvmCPUTimeDescription
JVMCPUTimeName <-> JvmCPUTimeName
JVMCPUTimeUnit <-> JvmCPUTimeUnit
JVMClassCountDescription <-> JvmClassCountDescription
JVMClassCountName <-> JvmClassCountName
JVMClassCountUnit <-> JvmClassCountUnit
JVMClassLoadedDescription <-> JvmClassLoadedDescription
JVMClassLoadedName <-> JvmClassLoadedName
JVMClassLoadedUnit <-> JvmClassLoadedUnit
JVMClassUnloadedDescription <-> JvmClassUnloadedDescription
JVMClassUnloadedName <-> JvmClassUnloadedName
JVMClassUnloadedUnit <-> JvmClassUnloadedUnit
JVMGCDurationDescription <-> JvmGcDurationDescription
JVMGCDurationName <-> JvmGcDurationName
JVMGCDurationUnit <-> JvmGcDurationUnit
JVMMemoryCommittedDescription <-> JvmMemoryCommittedDescription
JVMMemoryCommittedName <-> JvmMemoryCommittedName
JVMMemoryCommittedUnit <-> JvmMemoryCommittedUnit
JVMMemoryInitDescription <-> JvmMemoryInitDescription
JVMMemoryInitName <-> JvmMemoryInitName
JVMMemoryInitUnit <-> JvmMemoryInitUnit
JVMMemoryLimitDescription <-> JvmMemoryLimitDescription
JVMMemoryLimitName <-> JvmMemoryLimitName
JVMMemoryLimitUnit <-> JvmMemoryLimitUnit
JVMMemoryUsedAfterLastGCDescription <-> JvmMemoryUsedAfterLastGcDescription
JVMMemoryUsedAfterLastGCName <-> JvmMemoryUsedAfterLastGcName
JVMMemoryUsedAfterLastGCUnit <-> JvmMemoryUsedAfterLastGcUnit
JVMMemoryUsedDescription <-> JvmMemoryUsedDescription
JVMMemoryUsedName <-> JvmMemoryUsedName
JVMMemoryUsedUnit <-> JvmMemoryUsedUnit
JVMSystemCPULoad1mDescription <-> JvmSystemCPULoad1mDescription
JVMSystemCPULoad1mName <-> JvmSystemCPULoad1mName
JVMSystemCPULoad1mUnit <-> JvmSystemCPULoad1mUnit
JVMSystemCPUUtilizationDescription <-> JvmSystemCPUUtilizationDescription
JVMSystemCPUUtilizationName <-> JvmSystemCPUUtilizationName
JVMSystemCPUUtilizationUnit <-> JvmSystemCPUUtilizationUnit
JVMThreadCountDescription <-> JvmThreadCountDescription
JVMThreadCountName <-> JvmThreadCountName
JVMThreadCountUnit <-> JvmThreadCountUnit
V8JSGCDurationDescription <-> V8jsGcDurationDescription
V8JSGCDurationName <-> V8jsGcDurationName
V8JSGCDurationUnit <-> V8jsGcDurationUnit
V8JSHeapSpaceAvailableSizeDescription <-> V8jsHeapSpaceAvailableSizeDescription
V8JSHeapSpaceAvailableSizeName <-> V8jsHeapSpaceAvailableSizeName
V8JSHeapSpaceAvailableSizeUnit <-> V8jsHeapSpaceAvailableSizeUnit
V8JSHeapSpacePhysicalSizeDescription <-> V8jsHeapSpacePhysicalSizeDescription
V8JSHeapSpacePhysicalSizeName <-> V8jsHeapSpacePhysicalSizeName
V8JSHeapSpacePhysicalSizeUnit <-> V8jsHeapSpacePhysicalSizeUnit
V8JSMemoryHeapLimitDescription <-> V8jsMemoryHeapLimitDescription
V8JSMemoryHeapLimitName <-> V8jsMemoryHeapLimitName
V8JSMemoryHeapLimitUnit <-> V8jsMemoryHeapLimitUnit
V8JSMemoryHeapUsedDescription <-> V8jsMemoryHeapUsedDescription
V8JSMemoryHeapUsedName <-> V8jsMemoryHeapUsedName
V8JSMemoryHeapUsedUnit <-> V8jsMemoryHeapUsedUnit

This shows that the only exported differences are in acronym/initialism naming. Reviewing these changes, they all seem to be ones we want to make.

This only evaluates the exported declarations. There are still documentation changes that are included. Mostly this is unavoidable based on the new format of the semconv models.

Replace the templates and configuration for semconvgen in the semconv
package to support weaver instead.
@MrAlias MrAlias force-pushed the weaver branch 2 times, most recently from 98bd378 to c2c9fd7 Compare January 29, 2025 22:33
@MrAlias MrAlias added Skip Changelog PRs that do not require a CHANGELOG.md entry pkg:tooling Related to the tooling package labels Jan 29, 2025
Do not reference the dropped otel/semconvgen image.
@MrAlias MrAlias added this to the v1.35.0 milestone Jan 29, 2025
@MrAlias MrAlias marked this pull request as ready for review January 29, 2025 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:tooling Related to the tooling package Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move from build-tools to weaver
1 participant