Documentation
¶
Index ¶
- Constants
- func AssetID(v string) attribute.KeyValue
- func Component(v string) attribute.KeyValue
- func DataDogSpanID(v string) attribute.KeyValue
- func DataDogTraceID(v string) attribute.KeyValue
- func DeploymentID(v string) attribute.KeyValue
- func Device(v string) attribute.KeyValue
- func Duration(v time.Duration) attribute.KeyValue
- func Error(v error) attribute.KeyValue
- func ErrorID(v string) attribute.KeyValue
- func ErrorMessage(v string) attribute.KeyValue
- func EventOrigin(v string) attribute.KeyValue
- func EventPayload(v string) attribute.KeyValue
- func ExceptionStacktrace(v string) attribute.KeyValue
- func FunctionID(v string) attribute.KeyValue
- func ProcessExitCode(v int) attribute.KeyValue
- func ProjectID(v string) attribute.KeyValue
- func ProjectSlug(v string) attribute.KeyValue
- func ServerAddress(v string) attribute.KeyValue
- func ServiceName(v string) attribute.KeyValue
- func ServiceVersion(v string) attribute.KeyValue
- func SlogAssetID(v string) slog.Attr
- func SlogComponent(v string) slog.Attr
- func SlogDataDogSpanID(v string) slog.Attr
- func SlogDataDogTraceID(v string) slog.Attr
- func SlogDeploymentID(v string) slog.Attr
- func SlogDevice(v string) slog.Attr
- func SlogDuration(v time.Duration) slog.Attr
- func SlogError(v error) slog.Attr
- func SlogErrorID(v string) slog.Attr
- func SlogErrorMessage(v string) slog.Attr
- func SlogEventOrigin(v string) slog.Attr
- func SlogEventPayload(v string) slog.Attr
- func SlogExceptionStacktrace(v string) slog.Attr
- func SlogFunctionID(v string) slog.Attr
- func SlogProcessExitCode(v int) slog.Attr
- func SlogProjectID(v string) slog.Attr
- func SlogProjectSlug(v string) slog.Attr
- func SlogServerAddress(v string) slog.Attr
- func SlogServiceName(v string) slog.Attr
- func SlogServiceVersion(v string) slog.Attr
- func SlogSpanID(v string) slog.Attr
- func SlogTraceID(v string) slog.Attr
- func SlogURN(v string) slog.Attr
- func SpanID(v string) attribute.KeyValue
- func TraceID(v string) attribute.KeyValue
- func URN(v string) attribute.KeyValue
- type Key
Constants ¶
View Source
const ( ServiceNameKey = semconv.ServiceNameKey ServiceVersionKey = semconv.ServiceVersionKey DeviceKey = semconv.SystemDeviceKey ExceptionStacktraceKey = semconv.ExceptionStacktraceKey ErrorMessageKey = attribute.Key("error.message") ErrorIDKey = attribute.Key("gram.error.id") ProcessExitCodeKey = semconv.ProcessExitCodeKey ServerAddressKey = semconv.ServerAddressKey DurationKey = attribute.Key("duration") ComponentKey = attribute.Key("gram.component") ProjectIDKey = attribute.Key("gram.project.id") ProjectSlugKey = attribute.Key("gram.project.slug") DeploymentIDKey = attribute.Key("gram.deployment.id") FunctionIDKey = attribute.Key("gram.function.id") AssetIDKey = attribute.Key("gram.asset.id") URNKey = attribute.Key("gram.urn") EventPayloadKey = attribute.Key("gram.event.payload") EventOriginKey = attribute.Key("gram.event.origin") SpanIDKey = attribute.Key("span.id") TraceIDKey = attribute.Key("trace.id") DataDogTraceIDKey = attribute.Key("dd.trace_id") DataDogSpanIDKey = attribute.Key("dd.span_id") )
Variables ¶
This section is empty.
Functions ¶
func DataDogSpanID ¶
func DataDogTraceID ¶
func DeploymentID ¶
func ErrorMessage ¶
func EventOrigin ¶
func EventPayload ¶
func ExceptionStacktrace ¶
func FunctionID ¶
func ProcessExitCode ¶
func ProjectSlug ¶
func ServerAddress ¶
func ServiceName ¶
func ServiceVersion ¶
func SlogAssetID ¶
func SlogComponent ¶
func SlogDataDogSpanID ¶
func SlogDataDogTraceID ¶
func SlogDeploymentID ¶
func SlogDevice ¶
func SlogErrorID ¶
func SlogErrorMessage ¶
func SlogEventOrigin ¶
func SlogEventPayload ¶
func SlogExceptionStacktrace ¶
func SlogFunctionID ¶
func SlogProcessExitCode ¶
func SlogProjectID ¶
func SlogProjectSlug ¶
func SlogServerAddress ¶
func SlogServiceName ¶
func SlogServiceVersion ¶
func SlogSpanID ¶
func SlogTraceID ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.