rtsemconv

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

	EARSPluginTypeLabel = "pluginType"
	EARSPluginTypeDebug = "debug"
	EARSPluginTypeSQS   = "sqs"
	EARSPluginTypeKafka = "kafka"
	EARSPluginTypeHttp  = "http"
	EARSPluginTypeRedis = "redis"

	EARSMetricEventSuccess       = "eventSuccess"
	EARSMetricEventFailure       = "eventFailure"
	EARSMetricEventBytes         = "eventBytes"
	EARSMetricAddRouteSuccess    = "addRouteSuccess"
	EARSMetricAddRouteFailure    = "addRouteFailure"
	EARSMetricRemoveRouteSuccess = "removeRouteSuccess"
	EARSMetricRemoveRouteFailure = "removeRouteFailure"

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

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

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

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

	KafkaTopicLabel   = "kafka.topic"
	KafkaGroupIdLabel = "kafka.groupId"
	RedisChannelLabel = "redis.channel"
	SQSQueueUrlLabel  = "sqs.QueueUrl"
)

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