Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // Msg is a key used to add message strings to label lists. Msg = NewString("message", "a readable message") // Label is a key used to indicate an event adds labels to the context. Label = NewTag("label", "a label context marker") // Start is used for things like traces that have a name. Start = NewString("start", "span start") // Metric is a key used to indicate an event records metrics. End = NewTag("end", "a span end marker") // Metric is a key used to indicate an event records metrics. Detach = NewTag("detach", "a span detach marker") // Err is a key used to add error values to label lists. Err = NewError("error", "an error that occurred") // Metric is a key used to indicate an event records metrics. Metric = NewTag("metric", "a metric event marker") )
Functions ¶
Types ¶
type Boolean ¶
type Boolean struct {
// contains filtered or unexported fields
}
Boolean represents a key
func NewBoolean ¶
NewBoolean creates a new Key for bool values.
func (*Boolean) Description ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error represents a key
func (*Error) Description ¶
type Float32 ¶
type Float32 struct {
// contains filtered or unexported fields
}
Float32 represents a key
func NewFloat32 ¶
NewFloat32 creates a new Key for float32 values.
func (*Float32) Description ¶
type Float64 ¶
type Float64 struct {
// contains filtered or unexported fields
}
Float64 represents a key
func NewFloat64 ¶
NewFloat64 creates a new Key for int64 values.
func (*Float64) Description ¶
type Int ¶
type Int struct {
// contains filtered or unexported fields
}
Int represents a key
func (*Int) Description ¶
type Int16 ¶
type Int16 struct {
// contains filtered or unexported fields
}
Int16 represents a key
func (*Int16) Description ¶
type Int32 ¶
type Int32 struct {
// contains filtered or unexported fields
}
Int32 represents a key
func (*Int32) Description ¶
type Int64 ¶
type Int64 struct {
// contains filtered or unexported fields
}
Int64 represents a key
func (*Int64) Description ¶
type Int8 ¶
type Int8 struct {
// contains filtered or unexported fields
}
Int8 represents a key
func (*Int8) Description ¶
type String ¶
type String struct {
// contains filtered or unexported fields
}
String represents a key
func (*String) Description ¶
type Tag ¶
type Tag struct {
// contains filtered or unexported fields
}
Tag represents a key for tagging labels that have no value. These are used when the existence of the label is the entire information it carries, such as marking events to be of a specific kind, or from a specific package.
func (*Tag) Description ¶
type UInt ¶
type UInt struct {
// contains filtered or unexported fields
}
UInt represents a key
func (*UInt) Description ¶
type UInt16 ¶
type UInt16 struct {
// contains filtered or unexported fields
}
UInt16 represents a key
func (*UInt16) Description ¶
type UInt32 ¶
type UInt32 struct {
// contains filtered or unexported fields
}
UInt32 represents a key
func (*UInt32) Description ¶
type UInt64 ¶
type UInt64 struct {
// contains filtered or unexported fields
}
UInt64 represents a key
func (*UInt64) Description ¶
type UInt8 ¶
type UInt8 struct {
// contains filtered or unexported fields
}
UInt8 represents a key