constants

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

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 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 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 AwsFunctionPlatform = "AWS Lambda"
View Source
const AwsLambdaARN = "aws.lambda.arn"
View Source
const AwsLambdaApplicationClass = "AWS-Lambda"
View Source
const AwsLambdaApplicationDomain = "API"
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 AwsLambdaName = "aws.lambda.name"
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 AwsRegion = "aws.region"
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 DefaultProfile = "default"
View Source
const DefaultTimeoutMargin = 200
View Source
const DisableLambdaTraceInjection = "thundra_agent_trace_integrations_aws_lambda_traceInjection_disable"
View Source
const EnableDynamoDbTraceInjection = "thundra_agent_trace_integrations_dynamodb_trace_injection_enable"
View Source
const MonitoringDataPath = "/monitoring-data"
View Source
const ThundraAPIKey = "thundra_apiKey"
View Source
const ThundraApplicationStage = "thundra_agent_lambda_application_stage"
View Source
const ThundraDisableAwsIntegration = "thundra_agent_lambda_trace_integrations_aws_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 ThundraLambdaPublishCloudwatchEnable = "thundra_agent_lambda_publish_cloudwatch_enable"
View Source
const ThundraLambdaReportRestBaseURL = "thundra_agent_lambda_report_rest_baseUrl"
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 ThundraMaskDynamoDBStatement = "thundra_agent_lambda_trace_integrations_aws_dynamodb_statement_mask"
View Source
const ThundraMaskRDBStatement = "thundra_agent_lambda_trace_integrations_rdb_statement_mask"
View Source
const ThundraTrustAllCertificates = "thundra_agent_lambda_report_rest_trustAllCertificates"

Variables

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 AwsSNSTags = map[string]string{
	"TOPIC_NAME": "aws.sns.topic.name",
}
View Source
var AwsSQSTags = map[string]string{
	"QUEUE_NAME": "aws.sqs.queue.name",
}
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",
}
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 DynamoDBRequestTypes = map[string]string{
	"BatchGetItem":      "READ",
	"BatchWriteItem":    "WRITE",
	"CreateTable":       "WRITE",
	"CreateGlobalTable": "WRITE",
	"DeleteItem":        "DELETE",
	"DeleteTable":       "DELETE",
	"GetItem":           "READ",
	"PutItem":           "WRITE",
	"Query":             "READ",
	"Scan":              "READ",
	"UpdateItem":        "WRITE",
}
View Source
var FirehoseRequestTypes = map[string]string{
	"PutRecordBatch": "WRITE",
	"PutRecord":      "WRITE",
}
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",
}
View Source
var KinesisRequestTypes = map[string]string{
	"GetRecords": "READ",
	"PutRecords": "WRITE",
	"PutRecord":  "WRITE",
}
View Source
var LambdaRequestTypes = map[string]string{
	"InvokeAsync": "CALL",
	"Invoke":      "CALL",
}
View Source
var S3RequestTypes = map[string]string{
	"DeleteBucket":  "DELETE",
	"CreateBucket":  "WRITE",
	"copyObject":    "WRITE",
	"DeleteObject":  "DELETE",
	"deleteObjects": "DELETE",
	"GetObject":     "READ",
	"GetObjectAcl":  "READ",
	"ListBucket":    "READ",
	"PutObject":     "WRITE",
	"PutObjectAcl":  "WRITE",
}
View Source
var SNSRequestTypes = map[string]string{
	"Publish": "WRITE",
}
View Source
var SQSRequestTypes = map[string]string{
	"ReceiveMessage":     "READ",
	"SendMessage":        "WRITE",
	"SendMessageBatch":   "WRITE",
	"DeleteMessage":      "DELETE",
	"DeleteMessageBatch": "DELETE",
}
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.

Jump to

Keyboard shortcuts

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