deployment

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetK8sTraceTags added in v0.35.0

func SetK8sTraceTags(pod coreV1.Pod, traceTags tags.SingletonTags)

SetK8sTraceTags sets Kubernetes-specific tags in the trace tags. This is used by daemonset to set tags for traces from a specific pod.

func UpdateTags

func UpdateTags(argsTags map[tags.Key]string)

Import information about production or staging environment if it is available in environment variables.

Types

type Deployment

type Deployment string

Internal type of the deployment, automatically discovered. The most-specific one is returned. (Or do we need to support categorizing the deployment in more than one way?) This does not correspond to a tag.

const (
	None       Deployment = ""
	Any        Deployment = "any"
	Unknown    Deployment = "unknown"
	AWS        Deployment = "aws"
	AWS_ECS    Deployment = "aws-ecs"
	Kubernetes Deployment = "kubernetes"
)

func GetDeploymentInfo

func GetDeploymentInfo() (Deployment, map[tags.Key]string)

func (Deployment) String

func (d Deployment) String() string

Jump to

Keyboard shortcuts

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