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.
Click to show internal directories.
Click to hide internal directories.