customconv

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DBHostKey returns `db.host`
	DBHostKey = attribute.Key(`db.host`)
	// DBPortKey returns `db.port`
	DBPortKey = attribute.Key(`db.port`)
	// DBUserKey returns `db.user`
	DBUserKey = attribute.Key(`db.user`)
	// DBNameKey returns `db.name`
	DBNameKey = attribute.Key(`db.name`)
	// DBStatementArgumentsKey returns `db.statement.arguments`
	DBStatementArgumentsKey = attribute.Key(`db.statement.arguments`)

	// ServiceNameKey returns `service.name`
	ServiceNameKey = attribute.Key(`service.name`)

	// NATSSubjectKey returns `nats.subject`
	NATSSubjectKey = attribute.Key(`nats.subject`)

	// AWSS3ObjectKey returns `aws.s3.object_key`
	AWSS3ObjectKey = attribute.Key(`aws.s3.object_key`)

	// RateLimitKey returns `rate_limit.key`
	RateLimitKeyKey = attribute.Key(`rate_limit.key`)
	// RateLimitResetAtKey returns `rate_limit.reset_at`
	RateLimitResetAtKey = attribute.Key(`rate_limit.reset_at`)
	// RateLimitKeyKey returns `rate_limit.limit`
	RateLimitLimitKey = attribute.Key(`rate_limit.limit`)
	// RateLimitRemainingKey returns `rate_limit.remaining`
	RateLimitRemainingKey = attribute.Key(`rate_limit.remaining`)
	// RateLimitReachedKey returns `rate_limit.reached`
	RateLimitReachedKey = attribute.Key(`rate_limit.reached`)
)

Variables

This section is empty.

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