rtsemconv

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EARSServiceName = "ears"
	EARSTracerName  = "ears"
	EARSMeterName   = "ears"

	EARSPluginNameLabel = "pluginName"
	EARSPluginTypeLabel = "pluginType"

	EARSPluginTypeDebugSender   = "debugSender"
	EARSPluginTypeSQSSender     = "sqsSender"
	EARSPluginTypeKinesisSender = "kinesisSender"
	EARSPluginTypeKafkaSender   = "kafkaSender"
	EARSPluginTypeHttpSender    = "httpSender"
	EARSPluginTypeRedisSender   = "redisSender"

	EARSPluginTypeDebugReceiver   = "debugReceiver"
	EARSPluginTypeSQSReceiver     = "sqsReceiver"
	EARSPluginTypeKinesisReceiver = "kinesisReceiver"
	EARSPluginTypeKafkaReceiver   = "kafkaReceiver"
	EARSPluginTypeHttpReceiver    = "httpReceiver"
	EARSPluginTypeRedisReceiver   = "redisReceiver"

	EARSMetricEventSuccess        = "ears.eventSuccess"
	EARSMetricEventFailure        = "ears.eventFailure"
	EARSMetricEventBytes          = "ears.eventBytes"
	EARSMetricEventProcessingTime = "ears.eventProcessingTime"
	EARSMetricEventSendOutTime    = "ears.eventSendOutTime"
	EARSMetricEventQueueDepth     = "ears.eventQueueDepth"
	EARSMetricAddRouteSuccess     = "ears.addRouteSuccess"
	EARSMetricAddRouteFailure     = "ears.addRouteFailure"
	EARSMetricRemoveRouteSuccess  = "ears.removeRouteSuccess"
	EARSMetricRemoveRouteFailure  = "ears.removeRouteFailure"
	EARSMetricMillisBehindLatest  = "ears.millisBehindLatest"

	EARSRouteId = attribute.Key("ears.routeId")

	EARSAppId = attribute.Key("ears.appId")
	EARSOrgId = attribute.Key("ears.orgId")

	EARSInstanceId = attribute.Key("ears.instance")
	EARSTraceId    = attribute.Key("trace.id")

	EARSAppIdLabel   = "ears.appId"
	EARSOrgIdLabel   = "ears.orgId"
	EARSReceiverName = "ears.receiver"

	DBTable = attribute.Key("db.table")

	KafkaTopicLabel        = "kafka.topic"
	KafkaGroupIdLabel      = "kafka.groupId"
	RedisChannelLabel      = "redis.channel"
	SQSQueueUrlLabel       = "sqs.QueueUrl"
	S3Bucket               = "s3.Bucket"
	KinesisStreamNameLabel = "kinesis.StreamName"
	HostnameLabel          = "hostname"

	EarsLogTraceIdKey  = "tx.traceId"
	EarsLogTenantIdKey = "tenantId"
	EarsLogHostnameKey = "hostname"
)

Variables

View Source
var (
	EARSEventTrace = attribute.Key("ears.op").String("event")
	EARSAPITrace   = attribute.Key("ears.op").String("api")

	DBSystemInMemory = semconv.DBSystemKey.String("inmemory")
)

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