semconv

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppNames

type AppNames struct {
	SDK         string
	Godeltaprof string
}

func MergeTagsWithAppName

func MergeTagsWithAppName(appName string, sid string, tags map[string]string) (AppNames, error)

MergeTagsWithAppName validates user input and merges explicitly specified tags with tags from app name.

App name may be in the full form including tags (app.name{foo=bar,baz=qux}). Returned application name is always short, any tags that were included are moved to tags map. When merged with explicitly provided tags (config/CLI), last take precedence.

App name may be an empty string. Tags must not contain reserved keys, the map is modified in place.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL