Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
    const ( AttributeEnvironmentDefault = "default" AttributePlatformGeneric = "Generic" AttributePlatformEC2 = "AWS::EC2" AttributePlatformEKS = "AWS::EKS" AttributePlatformECS = "AWS::ECS" AttributePlatformK8S = "K8s" )
      View Source
      
  
const IP_PORT_PATTERN = `^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}):(\d+)$` //nolint: revive
    Variables ¶
      View Source
      
  var DefaultInheritedAttributes = map[string]string{ semconv.AttributeDeploymentEnvironment: attr.AWSLocalEnvironment, attr.ResourceDetectionASG: common.AttributeEC2AutoScalingGroup, attr.ResourceDetectionHostID: common.AttributeEC2InstanceID, attr.ResourceDetectionHostName: common.AttributeHost, }
DefaultInheritedAttributes is an allow-list that also renames attributes from the resource detection processor
      View Source
      
  
var GenericInheritedAttributes = map[string]string{ semconv.AttributeDeploymentEnvironment: attr.AWSLocalEnvironment, attr.ResourceDetectionHostName: common.AttributeHost, }
Functions ¶
This section is empty.
Types ¶
type AttributesResolver ¶
type AttributesResolver struct {
	// contains filtered or unexported fields
}
    func NewAttributesResolver ¶
func NewAttributesResolver(resolvers []appsignalsconfig.Resolver, logger *zap.Logger) *AttributesResolver
create a new attributes resolver
type TimedDeleter ¶
TimedDeleter deletes a key after a specified delay.
func (*TimedDeleter) DeleteWithDelay ¶
func (td *TimedDeleter) DeleteWithDelay(m *sync.Map, key any)
 Click to show internal directories. 
   Click to hide internal directories.