Documentation ¶
Index ¶
Constants ¶
View Source
const ( OriginEC2 = "AWS::EC2::Instance" OriginECS = "AWS::ECS::Container" OriginECSEC2 = "AWS::ECS::EC2" OriginECSFargate = "AWS::ECS::Fargate" OriginEB = "AWS::ElasticBeanstalk::Environment" OriginEKS = "AWS::EKS::Container" OriginAppRunner = "AWS::AppRunner::Service" )
AWS X-Ray acceptable values for origin field.
View Source
const AwsIndividualHTTPErrorCodeAttr = "http.response.status_code"
View Source
const AwsIndividualHTTPErrorEventType = "aws.http.error.event"
View Source
const AwsIndividualHTTPErrorMsgAttr = "aws.http.error_message"
View Source
const AwsIndividualHTTPEventName = "HTTP request failure"
View Source
const ExceptionEventName = "exception"
ExceptionEventName the name of the exception event. TODO: Remove this when collector defines this semantic convention.
Variables ¶
This section is empty.
Functions ¶
func MakeSegment ¶
func MakeSegment(span ptrace.Span, resource pcommon.Resource, indexedAttrs []string, indexAllAttrs bool, logGroupNames []string, skipTimestampValidation bool) (*awsxray.Segment, error)
MakeSegment converts an OpenTelemetry Span to an X-Ray Segment
func MakeSegmentDocumentString ¶
func MakeSegmentDocumentString(span ptrace.Span, resource pcommon.Resource, indexedAttrs []string, indexAllAttrs bool, logGroupNames []string, skipTimestampValidation bool) (string, error)
MakeSegmentDocumentString converts an OpenTelemetry Span to an X-Ray Segment and then serialzies to JSON
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.