Documentation ¶
Index ¶
Constants ¶
View Source
const AWSServiceRequest = "AWSServiceRequest"
View Source
const AgentVersion = "2.0.0"
View Source
const ApplicationClassProp = "thundra_agent_lambda_application_className"
View Source
const ApplicationDomainProp = "thundra_agent_lambda_application_domainName"
View Source
const ApplicationIDProp = "thundra_agent_lambda_application_id"
View Source
const ApplicationNameProp = "thundra_agent_lambda_application_name"
View Source
const ApplicationPlatform = "AWS Lambda"
View Source
const ApplicationStageProp = "thundra_agent_lambda_application_stage"
View Source
const ApplicationTagPrefixProp = "thundra_agent_lambda_application_tag_"
View Source
const ApplicationVersionProp = "thundra_agent_lambda_application_version"
View Source
const AwsAccountNo = "aws.account_no"
View Source
const AwsDefaultRegion = "AWS_DEFAULT_REGION"
View Source
const AwsError = "error"
View Source
const AwsErrorKind = "error.kind"
View Source
const AwsErrorMessage = "error.message"
View Source
const AwsErrorStack = "error.stack"
View Source
const AwsLambdaARN = "aws.lambda.arn"
View Source
const AwsLambdaApplicationClass = "AWS-Lambda"
View Source
const AwsLambdaApplicationDomain = "API"
View Source
const AwsLambdaFunctionMemorySize = "AWS_LAMBDA_FUNCTION_MEMORY_SIZE"
View Source
const AwsLambdaInvocationColdStart = "aws.lambda.invocation.coldstart"
View Source
const AwsLambdaInvocationRequest = "aws.lambda.invocation.request"
View Source
const AwsLambdaInvocationRequestId = "aws.lambda.invocation.request_id"
View Source
const AwsLambdaInvocationResponse = "aws.lambda.invocation.response"
View Source
const AwsLambdaInvocationTimeout = "aws.lambda.invocation.timeout"
View Source
const AwsLambdaLogGroupName = "aws.lambda.log_group_name"
View Source
const AwsLambdaLogStreamName = "aws.lambda.log_stream_name"
View Source
const AwsLambdaMemoryLimit = "aws.lambda.memory_limit"
View Source
const AwsLambdaMemoryUsage = "aws.lambda.invocation.memory_usage"
View Source
const AwsLambdaName = "aws.lambda.name"
View Source
const AwsLambdaRegion = "AWS_REGION"
View Source
const AwsLambdaTriggerClassName = "x-thundra-trigger-class-name"
View Source
const AwsLambdaTriggerDomainName = "x-thundra-trigger-domain-name"
View Source
const AwsLambdaTriggerOperationName = "x-thundra-trigger-operation-name"
View Source
const AwsLambdaTriggerResourceName = "x-thundra-resource-name"
View Source
const AwsRegion = "aws.region"
View Source
const AwsSAMLocal = "AWS_SAM_LOCAL"
View Source
const AwsXRaySegmentID = "aws.xray.segment.id"
View Source
const AwsXRayTraceContextKey = "x-amzn-trace-id"
View Source
const AwsXRayTraceHeader = "_X_AMZN_TRACE_ID"
View Source
const AwsXRayTraceID = "aws.xray.trace.id"
View Source
const CompositeMonitoringDataPath = "/composite-monitoring-data"
View Source
const DataModelVersion = "2.0"
View Source
const DefaultClassName = "Method"
View Source
const DefaultCollectorURL = "https://api.thundra.io/v1"
View Source
const DefaultDomainName = ""
View Source
const DefaultMongoDBSizeLimit = 128 * 1024
View Source
const DefaultProfile = "default"
View Source
const DefaultSamplingCountFreq = 100
View Source
const DefaultSamplingTimeFreq = 5 * 60 * 1000
View Source
const DefaultTimeoutMargin = 200
View Source
const DisableLambdaTraceInjection = "thundra_agent_lambda_trace_integrations_aws_lambda_traceInjection_disable"
View Source
const EnableDynamoDbTraceInjection = "thundra_agent_lambda_trace_integrations_dynamodb_trace_injection_enable"
View Source
const MaxTracedHttpBodySize = 128 * 1024
View Source
const MonitoringDataPath = "/monitoring-data"
View Source
const ThundraAPIKey = "thundra_apiKey"
View Source
const ThundraAgentMetricCountAwareSamplerCountFreq = "thundra_agent_lambda_metric_sample_sampler_countAware_countFreq"
View Source
const ThundraAgentMetricTimeAwareSamplerTimeFreq = "thundra_agent_lambda_metric_sample_sampler_timeAware_timeFreq"
View Source
const ThundraAgentTraceIntegrationsEsUrlDepth = "thundra_agent_lambda_trace_integrations_elasticsearch_path_depth"
View Source
const ThundraAgentTraceIntegrationsHttpUrlDepth = "thundra_agent_lambda_trace_integrations_http_url_depth"
View Source
const ThundraApplicationStage = "thundra_agent_lambda_application_stage"
View Source
const ThundraDisableAwsIntegration = "thundra_agent_lambda_trace_integrations_aws_disable"
View Source
const ThundraDisableHttp4xxError = "thundra_agent_trace_integrations_http_set_error_on_4xx_response_code_disable"
View Source
const ThundraDisableHttp5xxError = "thundra_agent_trace_integrations_http_set_error_on_5xx_response_code_disable"
View Source
const ThundraDisableLog = "thundra_agent_lambda_log_disable"
View Source
const ThundraDisableMetric = "thundra_agent_lambda_metric_disable"
View Source
const ThundraDisableTrace = "thundra_agent_lambda_trace_disable"
View Source
const ThundraDisableTraceRequest = "thundra_agent_lambda_trace_request_disable"
View Source
const ThundraDisableTraceResponse = "thundra_agent_lambda_trace_response_disable"
View Source
const ThundraLambdaDebugEnable = "thundra_lambda_debug_enable"
View Source
const ThundraLambdaDisable = "thundra_agent_lambda_disable"
View Source
const ThundraLambdaReportCloudwatchCompositeBatchSize = "thundra_agent_lambda_report_cloudwatch_composite_batchsize"
View Source
const ThundraLambdaReportCloudwatchCompositeBatchSizeDefault = 100
View Source
const ThundraLambdaReportCloudwatchCompositeEnable = "thundra_agent_lambda_report_cloudwatch_composite_enable"
View Source
const ThundraLambdaReportCloudwatchEnable = "thundra_agent_lambda_report_cloudwatch_enable"
View Source
const ThundraLambdaReportRestBaseURL = "thundra_agent_lambda_report_rest_baseUrl"
View Source
const ThundraLambdaReportRestCompositeBatchSize = "thundra_agent_lambda_report_rest_composite_batchsize"
View Source
const ThundraLambdaReportRestCompositeBatchSizeDefault = 100
View Source
const ThundraLambdaReportRestCompositeEnable = "thundra_agent_lambda_report_rest_composite_enable"
View Source
const ThundraLambdaSpanListener = "thundra_agent_lambda_trace_span_listenerConfig"
View Source
const ThundraLambdaSpanListenerInfoTag = "thundra.span_listener.info"
View Source
const ThundraLambdaTimeoutMargin = "thundra_agent_lambda_timeout_margin"
View Source
const ThundraLambdaTraceCloudwatchlogRequestEnable = "thundra_agent_lambda_trace_cloudwatchlog_request_enable"
View Source
const ThundraLambdaTraceFirehoseRequestEnable = "thundra_agent_lambda_trace_firehose_request_enable"
View Source
const ThundraLambdaTraceKinesisRequestEnable = "thundra_agent_lambda_trace_kinesis_request_enable"
View Source
const ThundraLambdaWarmupWarmupAware = "thundra_agent_lambda_warmup_warmupAware"
View Source
const ThundraLogLogLevel = "thundra_log_logLevel"
View Source
const ThundraMaskAthenaStatement = "thundra_agent_lambda_trace_integrations_aws_athena_statement_mask"
View Source
const ThundraMaskDynamoDBStatement = "thundra_agent_lambda_trace_integrations_aws_dynamodb_statement_mask"
View Source
const ThundraMaskEsBody = "thundra_agent_lambda_trace_integrations_elasticsearch_body_mask"
View Source
const ThundraMaskHTTPBody = "thundra_agent_lambda_trace_integrations_aws_http_body_mask"
View Source
const ThundraMaskLambdaPayload = "thundra_agent_lambda_trace_integrations_aws_lambda_payload_mask"
View Source
const ThundraMaskMongoDBCommand = "thundra_agent_lambda_trace_integrations_mongodb_command_mask"
View Source
const ThundraMaskRDBStatement = "thundra_agent_lambda_trace_integrations_rdb_statement_mask"
View Source
const ThundraMaskRedisCommand = "thundra_agent_lambda_trace_integrations_redis_command_mask"
View Source
const ThundraMaskSESDestination = "thundra_agent_lambda_trace_integrations_aws_ses_mail_destination_mask"
View Source
const ThundraMaskSESMail = "thundra_agent_lambda_trace_integrations_aws_ses_mail_mask"
View Source
const ThundraMaskSNSMessage = "thundra_agent_lambda_trace_integrations_aws_sns_message_mask"
View Source
const ThundraMaskSQSMessage = "thundra_agent_lambda_trace_integrations_aws_sqs_message_mask"
View Source
const ThundraTrustAllCertificates = "thundra_agent_lambda_report_rest_trustAllCertificates"
Variables ¶
View Source
var AwsAthenaTags = map[string]string{
"S3_OUTPUT_LOCATION": "aws.athena.s3.outputLocation",
"REQUEST_QUERY_EXECUTION_IDS": "aws.athena.request.query.executionIds",
"RESPONSE_QUERY_EXECUTION_IDS": "aws.athena.response.query.executionIds",
"REQUEST_NAMED_QUERY_IDS": "aws.athena.request.namedQuery.ids",
"RESPONSE_NAMED_QUERY_IDS": "aws.athena.response.namedQuery.ids",
}
View Source
var AwsDynamoDBTags = map[string]string{
"TABLE_NAME": "aws.dynamodb.table.name",
"REQUEST_THROTTLED": "aws.dynamodb.request.throttled",
}
View Source
var AwsFirehoseTags = map[string]string{
"STREAM_NAME": "aws.firehose.stream.name",
}
View Source
var AwsKinesisTags = map[string]string{
"STREAM_NAME": "aws.kinesis.stream.name",
}
View Source
var AwsLambdaTags = map[string]string{
"FUNCTION_NAME": "aws.lambda.name",
"FUNCTION_QUALIFIER": "aws.lambda.qualifier",
"INVOCATION_TYPE": "aws.lambda.invocation.type",
"INVOCATION_PAYLOAD": "aws.lambda.invocation.payload",
}
View Source
var AwsS3Tags = map[string]string{
"BUCKET_NAME": "aws.s3.bucket.name",
"OBJECT_NAME": "aws.s3.object.name",
}
View Source
var AwsSDKTags = map[string]string{
"SERVICE_NAME": "aws.service.name",
"REQUEST_NAME": "aws.request.name",
"HOST": "host",
}
View Source
var AwsSESTags = map[string]string{
"SUBJECT": "aws.ses.mail.subject",
"BODY": "aws.ses.mail.body",
"TEMPLATE_NAME": "aws.ses.mail.template.name",
"TEMPLATE_ARN": "aws.ses.mail.template.arn",
"TEMPLATE_DATA": "aws.ses.mail.template.data",
"SOURCE": "aws.ses.mail.source",
"DESTINATION": "aws.ses.mail.destination",
}
View Source
var AwsSNSTags = map[string]string{
"TOPIC_NAME": "aws.sns.topic.name",
"MESSAGE": "aws.sns.message",
}
View Source
var AwsSQSTags = map[string]string{
"QUEUE_NAME": "aws.sqs.queue.name",
"MESSAGE": "aws.sqs.message",
}
View Source
var ClassNames = map[string]string{
"AWSSERVICE": "AWSService",
"DYNAMODB": "AWS-DynamoDB",
"SQS": "AWS-SQS",
"SNS": "AWS-SNS",
"KINESIS": "AWS-Kinesis",
"FIREHOSE": "AWS-Firehose",
"S3": "AWS-S3",
"LAMBDA": "AWS-Lambda",
"RDB": "RDB",
"REDIS": "Redis",
"HTTP": "HTTP",
"MYSQL": "MYSQL",
"POSTGRESQL": "POSTGRESQL",
"ELASTICSEARCH": "ELASTICSEARCH",
"CLOUDFRONT": "AWS-CloudFront",
"APIGATEWAY": "AWS-APIGateway",
"CLOUDWATCHLOG": "AWS-CloudWatch-Log",
"SCHEDULE": "AWS-CloudWatch-Schedule",
"MONGODB": "MONGODB",
"ATHENA": "AWS-Athena",
"SES": "AWS-SES",
}
View Source
var DBTags = map[string]string{
"DB_STATEMENT": "db.statement",
"DB_STATEMENT_TYPE": "db.statement.type",
"DB_INSTANCE": "db.instance",
"DB_TYPE": "db.type",
"DB_HOST": "db.host",
"DB_PORT": "db.port",
"DB_USER": "db.user",
}
View Source
var DomainNames = map[string]string{
"AWS": "AWS",
"DB": "DB",
"MESSAGING": "Messaging",
"STREAM": "Stream",
"STORAGE": "Storage",
"API": "API",
"CACHE": "Cache",
"CDN": "CDN",
"LOG": "LOG",
"SCHEDULE": "Schedule",
}
View Source
var EsTags = map[string]string{
"ES_URI": "elasticsearch.uri",
"ES_NORMALIZED_URI": "elasticsearch.normalized_uri",
"ES_METHOD": "elasticsearch.method",
"ES_PARAMS": "elasticsearch.params",
"ES_BODY": "elasticsearch.body",
"ES_HOSTS": "elasticsearch.hosts",
}
View Source
var HTTPTags = map[string]string{
"METHOD": "http.method",
"URL": "http.url",
"PATH": "http.path",
"HOST": "http.host",
"STATUS": "http.status_code",
"QUERY_PARAMS": "http.query_params",
"BODY": "http.body",
}
View Source
var MongoDBCommandTypes = map[string]string{}/* 130 elements not displayed */
View Source
var MongoDBTags = map[string]string{
"MONGODB_COMMAND": "mongodb.command",
"MONGODB_COMMAND_NAME": "mongodb.command.name",
"MONGODB_COLLECTION": "mongodb.collection.name",
}
View Source
var RedisCommandTypes = map[string]string{}/* 129 elements not displayed */
View Source
var RedisTags = map[string]string{
"REDIS_HOST": "redis.host",
"REDIS_PORT": "redis.port",
"REDIS_COMMAND": "redis.command",
"REDIS_COMMANDS": "redis.commands",
"REDIS_COMMAND_TYPE": "redis.command.type",
"REDIS_COMMAND_ARGS": "redis.command.args",
}
View Source
var SecurityTags = map[string]string{
"BLOCKED": "security.blocked",
"VIOLATED": "security.violated",
}
View Source
var SpanTags = map[string]string{
"OPERATION_TYPE": "operation.type",
"TRIGGER_DOMAIN_NAME": "trigger.domainName",
"TRIGGER_CLASS_NAME": "trigger.className",
"TRIGGER_OPERATION_NAMES": "trigger.operationNames",
"TOPOLOGY_VERTEX": "topology.vertex",
"TRACE_LINKS": "trace.links",
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.