attr

package
v0.0.0-...-4ae6852 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorMessageKey                   = semconv.ErrorMessageKey
	ContainerIDKey                    = semconv.ContainerIDKey
	ContainerNetworkIDKey             = attribute.Key("container.network.id")
	FilePathKey                       = semconv.FilePathKey
	HostNameKey                       = semconv.HostNameKey
	HTTPRequestHeaderContentTypeKey   = attribute.Key("http.request.header.content_type")
	HTTPRequestHeaderUserAgentKey     = attribute.Key("http.request.header.user_agent")
	HTTPRequestMethodKey              = semconv.HTTPRequestMethodKey
	HTTPRequestBodyKey                = attribute.Key("http.request.body")
	HTTPRequestHeadersKey             = attribute.Key("http.request.headers")
	HTTPResponseHeaderContentTypeKey  = attribute.Key("http.response.header.content_type")
	HTTPResponseStatusCodeKey         = semconv.HTTPResponseStatusCodeKey
	HTTPResponseOriginalStatusCodeKey = attribute.Key("http.response.original_status_code")
	HTTPRouteKey                      = semconv.HTTPRouteKey
	HTTPServerRequestDurationKey      = attribute.Key("http.server.request.duration")
	HTTPClientRequestDurationKey      = attribute.Key("http.client.request.duration_ms")
	HTTPRequestSizeKey                = semconv.HTTPRequestSizeKey
	HTTPResponseSizeKey               = semconv.HTTPResponseSizeKey
	ServerAddressKey                  = semconv.ServerAddressKey
	ServiceEnvKey                     = semconv.DeploymentEnvironmentNameKey
	ServiceNameKey                    = semconv.ServiceNameKey
	ServiceVersionKey                 = semconv.ServiceVersionKey
	URLDomainKey                      = semconv.URLDomainKey
	URLFullKey                        = semconv.URLFullKey
	URLOriginalKey                    = semconv.URLOriginalKey
	UserIDKey                         = semconv.UserIDKey

	ActualKey   = attribute.Key("actual")
	EventKey    = attribute.Key("event")
	ExpectedKey = attribute.Key("expected")
	NameKey     = attribute.Key("name")
	ReasonKey   = attribute.Key("reason")
	ValueKey    = attribute.Key("value")

	SpanIDKey              = attribute.Key("span.id")
	TraceIDKey             = attribute.Key("trace.id")
	DataDogGitCommitSHAKey = attribute.Key("git.commit.sha")
	DataDogGitRepoURLKey   = attribute.Key("git.repository_url")
	DataDogTraceIDKey      = attribute.Key("dd.trace_id")
	DataDogSpanIDKey       = attribute.Key("dd.span_id")

	FlyAppNameKey    = attribute.Key("fly.app.name")
	FlyOrgIDKey      = attribute.Key("fly.org.id")
	FlyOrgSlugKey    = attribute.Key("fly.org.slug")
	FlyMachineIDsKey = attribute.Key("fly.machine_ids")

	GoaServiceKey = attribute.Key("goa.service")
	GoaMethodKey  = attribute.Key("goa.method")

	TemporalNamespaceNameKey = attribute.Key("temporal.namespace.name")
	TemporalTaskQueueNameKey = attribute.Key("temporal.taskqueue.name")
	TemporalWorkerIDKey      = attribute.Key("temporal.worker.id")
	TemporalActivityIDKey    = attribute.Key("temporal.activity.id")
	TemporalActivityTypeKey  = attribute.Key("temporal.activity.type")
	TemporalAttemptKey       = attribute.Key("temporal.attempt")
	TemporalWorkflowTypeKey  = attribute.Key("temporal.workflow.type")
	TemporalWorkflowIDKey    = attribute.Key("temporal.workflow.id")
	TemporalRunIDKey         = attribute.Key("temporal.run.id")

	AssetIDKey                     = attribute.Key("gram.asset.id")
	AssetURLKey                    = attribute.Key("gram.asset.url")
	CacheKeyKey                    = attribute.Key("gram.cache.key")
	CacheNamespaceKey              = attribute.Key("gram.cache.namespace")
	ComponentKey                   = attribute.Key("gram.component")
	DBDeletedRowsCountKey          = attribute.Key("gram.db.deleted_rows_count")
	DeploymentIDKey                = attribute.Key("gram.deployment.id")
	DeploymentFunctionsAccessIDKey = attribute.Key("gram.deployment.functions.access_id")
	DeploymentFunctionsIDKey       = attribute.Key("gram.deployment.functions.id")
	DeploymentFunctionsNameKey     = attribute.Key("gram.deployment.functions.name")
	DeploymentFunctionsSlugKey     = attribute.Key("gram.deployment.functions.slug")
	DeploymentOpenAPIIDKey         = attribute.Key("gram.deployment.openapi.id")
	DeploymentOpenAPINameKey       = attribute.Key("gram.deployment.openapi.name")
	DeploymentOpenAPIParserKey     = attribute.Key("gram.deployment.openapi_parser")
	DeploymentOpenAPISlugKey       = attribute.Key("gram.deployment.openapi.slug")
	DeploymentStatusKey            = attribute.Key("gram.deployment.status")
	EnvironmentIDKey               = attribute.Key("gram.environment.id")
	EnvironmentSlugKey             = attribute.Key("gram.environment.slug")
	EnvVarNameKey                  = attribute.Key("gram.envvar.name")
	ErrorIDKey                     = attribute.Key("gram.error.id")
	FilterExpressionKey            = attribute.Key("gram.filter.src")
	FlyAppInternalIDKey            = attribute.Key("gram.fly.app_id")
	FunctionsBackendKey            = attribute.Key("gram.functions.backend")
	FunctionsManifestVersionKey    = attribute.Key("gram.functions.manifest_version")
	FunctionsRunnerImageKey        = attribute.Key("gram.functions.runner_image")
	FunctionsRunnerVersionKey      = attribute.Key("gram.functions.runner_version")
	FunctionsRuntimeKey            = attribute.Key("gram.functions.runtime")
	HTTPEncodingStyleKey           = attribute.Key("gram.http.encoding.style")
	HTTPParamNameKey               = attribute.Key("gram.http.param.name")
	HTTPParamValueKey              = attribute.Key("gram.http.param.value")
	HTTPResponseExternalKey        = attribute.Key("gram.http.response.external")
	HTTPResponseFilteredKey        = attribute.Key("gram.http.response.filtered")
	HTTPStatusCodePatternKey       = attribute.Key("gram.http.status_code_pattern")
	IngressNameKey                 = attribute.Key("gram.ingress.name")
	McpMethodKey                   = attribute.Key("gram.mcp.method")
	McpURLKey                      = attribute.Key("gram.mcp.url")
	MetricNameKey                  = attribute.Key("gram.metric.name")
	MimeTypeKey                    = attribute.Key("mime.type")
	OAuthClientIDKey               = attribute.Key("gram.oauth.client_id")
	OAuthCodeKey                   = attribute.Key("gram.oauth.code")
	OAuthExternalCodeKey           = attribute.Key("gram.oauth.external_code")
	OAuthGrantKey                  = attribute.Key("gram.oauth.grant")
	OAuthProviderKey               = attribute.Key("gram.oauth.provider")
	OAuthRedirectURIFullKey        = attribute.Key("gram.oauth.redirect_uri.full")
	OAuthScopeKey                  = attribute.Key("gram.oauth.scope")
	OpenAPIMethodKey               = attribute.Key("gram.openapi.method")
	OpenAPIOperationIDKey          = attribute.Key("gram.openapi.operation_id")
	OpenAPIPathKey                 = attribute.Key("gram.openapi.path")
	OpenAPIVersionKey              = attribute.Key("gram.openapi.version")
	OpenRouterKeyLimitKey          = attribute.Key("gram.openrouter.key.limit")
	OrganizationAccountTypeKey     = attribute.Key("gram.org.account_type")
	OrganizationIDKey              = attribute.Key("gram.org.id")
	OrganizationSlugKey            = attribute.Key("gram.org.slug")
	OutcomeKey                     = attribute.Key("gram.outcome")
	PackageNameKey                 = attribute.Key("gram.package.name")
	PackageVersionKey              = attribute.Key("gram.package.version")
	PKCEMethodKey                  = attribute.Key("gram.pkce.method")
	ProjectIDKey                   = attribute.Key("gram.project.id")
	ProjectNameKey                 = attribute.Key("gram.project.name")
	ProjectSlugKey                 = attribute.Key("gram.project.slug")
	SecretNameKey                  = attribute.Key("gram.secret.name")
	SecurityPlacementKey           = attribute.Key("gram.security.placement")
	SecuritySchemeKey              = attribute.Key("gram.security.scheme")
	SecurityTypeKey                = attribute.Key("gram.security.type")
	SessionIDKey                   = attribute.Key("gram.session.id")
	SlackEventFullKey              = attribute.Key("gram.slack.event.full")
	SlackEventTypeKey              = attribute.Key("gram.slack.event.type")
	SlackTeamIDKey                 = attribute.Key("gram.slack.team.id")
	ToolCallDurationKey            = attribute.Key("gram.tool_call.duration")
	ToolCallKindKey                = attribute.Key("gram.tool_call.kind")
	ToolCallSourceKey              = attribute.Key("gram.tool_call.source")
	ToolHTTPResponseContentTypeKey = attribute.Key("gram.tool.http.response.content_type")
	ToolIDKey                      = attribute.Key("gram.tool.id")
	ToolURNKey                     = attribute.Key("gram.tool.urn")
	ToolNameKey                    = attribute.Key("gram.tool.name")
	ResourceIDKey                  = attribute.Key("gram.resource.id")
	ResourceNameKey                = attribute.Key("gram.resource.name")
	ResourceURNKey                 = attribute.Key("gram.resource.urn")
	ResourceURIKey                 = attribute.Key("gram.resource.uri")
	ToolsetIDKey                   = attribute.Key("gram.toolset.id")
	ToolsetSlugKey                 = attribute.Key("gram.toolset.slug")

	PaginationTsStartKey     = attribute.Key("gram.pagination.ts_start")
	PaginationTsEndKey       = attribute.Key("gram.pagination.ts_end")
	PaginationCursorKey      = attribute.Key("gram.pagination.cursor")
	PaginationLimitKey       = attribute.Key("gram.pagination.limit")
	PaginationSortOrderKey   = attribute.Key("gram.pagination.sort_order")
	PaginationHasNextPageKey = attribute.Key("gram.pagination.has_next_page")

	ClickhouseQueryDurationMsKey = attribute.Key("gram.clickhouse.query_duration_ms")
)

Variables

This section is empty.

Functions

func Actual

func Actual(v any) attribute.KeyValue

func AssetID

func AssetID(v string) attribute.KeyValue

func AssetURL

func AssetURL(v string) attribute.KeyValue

func CacheKey

func CacheKey(v string) attribute.KeyValue

func CacheNamespace

func CacheNamespace(v string) attribute.KeyValue

func ClickhouseQueryDurationMs

func ClickhouseQueryDurationMs(v float64) attribute.KeyValue

func Component

func Component(v string) attribute.KeyValue

func ContainerID

func ContainerID(v string) attribute.KeyValue

func ContainerNetworkID

func ContainerNetworkID(v string) attribute.KeyValue

func DBDeletedRowsCount

func DBDeletedRowsCount(v int64) attribute.KeyValue

func DataDogGitCommitSHA

func DataDogGitCommitSHA(v string) attribute.KeyValue

func DataDogGitRepoURL

func DataDogGitRepoURL(v string) attribute.KeyValue

func DataDogSpanID

func DataDogSpanID(v string) attribute.KeyValue

func DataDogTraceID

func DataDogTraceID(v string) attribute.KeyValue

func DeploymentFunctionsAccessID

func DeploymentFunctionsAccessID(v string) attribute.KeyValue

func DeploymentFunctionsID

func DeploymentFunctionsID(v string) attribute.KeyValue

func DeploymentFunctionsName

func DeploymentFunctionsName(v string) attribute.KeyValue

func DeploymentFunctionsSlug

func DeploymentFunctionsSlug[V ~string](v V) attribute.KeyValue

func DeploymentID

func DeploymentID(v string) attribute.KeyValue

func DeploymentOpenAPIID

func DeploymentOpenAPIID(v string) attribute.KeyValue

func DeploymentOpenAPIName

func DeploymentOpenAPIName(v string) attribute.KeyValue

func DeploymentOpenAPIParser

func DeploymentOpenAPIParser(v string) attribute.KeyValue

func DeploymentOpenAPISlug

func DeploymentOpenAPISlug[V ~string](v V) attribute.KeyValue

func DeploymentStatus

func DeploymentStatus(v string) attribute.KeyValue

func EnvVarName

func EnvVarName(v string) attribute.KeyValue

func EnvironmentID

func EnvironmentID(v string) attribute.KeyValue

func EnvironmentSlug

func EnvironmentSlug(v string) attribute.KeyValue

func Error

func Error(v error) attribute.KeyValue

func ErrorID

func ErrorID(v string) attribute.KeyValue

func ErrorMessage

func ErrorMessage(v string) attribute.KeyValue

func Event

func Event(v string) attribute.KeyValue

func Expected

func Expected(v any) attribute.KeyValue

func FilePath

func FilePath(v string) attribute.KeyValue

func FilterExpression

func FilterExpression(v string) attribute.KeyValue

func FlyAppInternalID

func FlyAppInternalID(v string) attribute.KeyValue

func FlyAppName

func FlyAppName(v string) attribute.KeyValue

func FlyMachineIDs

func FlyMachineIDs(v []string) attribute.KeyValue

func FlyOrgID

func FlyOrgID(v string) attribute.KeyValue

func FlyOrgSlug

func FlyOrgSlug(v string) attribute.KeyValue

func FunctionsBackend

func FunctionsBackend(v string) attribute.KeyValue

func FunctionsManifestVersion

func FunctionsManifestVersion(v string) attribute.KeyValue

func FunctionsRunnerImage

func FunctionsRunnerImage(v string) attribute.KeyValue

func FunctionsRunnerVersion

func FunctionsRunnerVersion[V ~string](v V) attribute.KeyValue

func FunctionsRuntime

func FunctionsRuntime[V ~string](v V) attribute.KeyValue

func GoaMethod

func GoaMethod(v string) attribute.KeyValue

func GoaService

func GoaService(v string) attribute.KeyValue

func HTTPClientRequestDuration

func HTTPClientRequestDuration(v float64) attribute.KeyValue

func HTTPEncodingStyle

func HTTPEncodingStyle(v string) attribute.KeyValue

func HTTPParamName

func HTTPParamName(v string) attribute.KeyValue

func HTTPParamValue

func HTTPParamValue(v any) attribute.KeyValue

func HTTPRequestBody

func HTTPRequestBody(v string) attribute.KeyValue

func HTTPRequestBodyBytes

func HTTPRequestBodyBytes(v int) attribute.KeyValue

func HTTPRequestHeaderContentType

func HTTPRequestHeaderContentType(v string) attribute.KeyValue

func HTTPRequestHeaderUserAgent

func HTTPRequestHeaderUserAgent(v string) attribute.KeyValue

func HTTPRequestHeaders

func HTTPRequestHeaders(v any) attribute.KeyValue

func HTTPRequestMethod

func HTTPRequestMethod(v string) attribute.KeyValue

func HTTPResponseBodyBytes

func HTTPResponseBodyBytes(v int) attribute.KeyValue

func HTTPResponseExternal

func HTTPResponseExternal(v bool) attribute.KeyValue

func HTTPResponseFiltered

func HTTPResponseFiltered(v bool) attribute.KeyValue

func HTTPResponseHeaderContentType

func HTTPResponseHeaderContentType(v string) attribute.KeyValue

func HTTPResponseOriginalStatusCode

func HTTPResponseOriginalStatusCode(v int) attribute.KeyValue

func HTTPResponseStatusCode

func HTTPResponseStatusCode(v int) attribute.KeyValue

func HTTPRoute

func HTTPRoute(v string) attribute.KeyValue

func HTTPServerRequestDuration

func HTTPServerRequestDuration(v float64) attribute.KeyValue

func HTTPStatusCodePattern

func HTTPStatusCodePattern(v string) attribute.KeyValue

func HostName

func HostName(v string) attribute.KeyValue

func IngressName

func IngressName(v string) attribute.KeyValue

func McpMethod

func McpMethod(v string) attribute.KeyValue

func McpURL

func McpURL(v string) attribute.KeyValue

func MetricName

func MetricName(v string) attribute.KeyValue

func MimeType

func MimeType(v string) attribute.KeyValue

func Name

func Name(v string) attribute.KeyValue

func OAuthClientID

func OAuthClientID(v string) attribute.KeyValue

func OAuthCode

func OAuthCode(v string) attribute.KeyValue

func OAuthExternalCode

func OAuthExternalCode(v string) attribute.KeyValue

func OAuthGrant

func OAuthGrant(v string) attribute.KeyValue

func OAuthProvider

func OAuthProvider(v string) attribute.KeyValue

func OAuthRedirectURIFull

func OAuthRedirectURIFull(v string) attribute.KeyValue

func OAuthScope

func OAuthScope(v string) attribute.KeyValue

func OpenAPIMethod

func OpenAPIMethod(v string) attribute.KeyValue

func OpenAPIOperationID

func OpenAPIOperationID(v string) attribute.KeyValue

func OpenAPIPath

func OpenAPIPath(v string) attribute.KeyValue

func OpenAPIVersion

func OpenAPIVersion(v string) attribute.KeyValue

func OpenRouterKeyLimit

func OpenRouterKeyLimit(v int) attribute.KeyValue

func OrganizationAccountType

func OrganizationAccountType(v string) attribute.KeyValue

func OrganizationID

func OrganizationID(v string) attribute.KeyValue

func OrganizationSlug

func OrganizationSlug(v string) attribute.KeyValue

func Outcome

func Outcome[V ~string](v V) attribute.KeyValue

func PKCEMethod

func PKCEMethod(v string) attribute.KeyValue

func PackageName

func PackageName(v string) attribute.KeyValue

func PackageVersion

func PackageVersion(v string) attribute.KeyValue

func PaginationCursor

func PaginationCursor(v string) attribute.KeyValue

func PaginationHasNextPage

func PaginationHasNextPage(v bool) attribute.KeyValue

func PaginationLimit

func PaginationLimit(v int) attribute.KeyValue

func PaginationSortOrder

func PaginationSortOrder(v string) attribute.KeyValue

func PaginationTsEnd

func PaginationTsEnd(v time.Time) attribute.KeyValue

func PaginationTsStart

func PaginationTsStart(v time.Time) attribute.KeyValue

func ProjectID

func ProjectID(v string) attribute.KeyValue

func ProjectName

func ProjectName(v string) attribute.KeyValue

func ProjectSlug

func ProjectSlug(v string) attribute.KeyValue

func Reason

func Reason(v string) attribute.KeyValue

func ResourceID

func ResourceID(v string) attribute.KeyValue

func ResourceName

func ResourceName(v string) attribute.KeyValue

func ResourceURI

func ResourceURI(v string) attribute.KeyValue

func ResourceURN

func ResourceURN(v string) attribute.KeyValue

func SecretName

func SecretName(v string) attribute.KeyValue

func SecurityPlacement

func SecurityPlacement(v string) attribute.KeyValue

func SecurityScheme

func SecurityScheme(v string) attribute.KeyValue

func SecurityType

func SecurityType(v string) attribute.KeyValue

func ServerAddress

func ServerAddress(v string) attribute.KeyValue

func ServiceEnv

func ServiceEnv(v string) attribute.KeyValue

func ServiceName

func ServiceName(v string) attribute.KeyValue

func ServiceVersion

func ServiceVersion(v string) attribute.KeyValue

func SessionID

func SessionID(v string) attribute.KeyValue

func SlackEventFull

func SlackEventFull(v any) attribute.KeyValue

func SlackEventType

func SlackEventType(v string) attribute.KeyValue

func SlackTeamID

func SlackTeamID(v string) attribute.KeyValue

func SlogActual

func SlogActual(v any) slog.Attr

func SlogAssetID

func SlogAssetID(v string) slog.Attr

func SlogAssetURL

func SlogAssetURL(v string) slog.Attr

func SlogCacheKey

func SlogCacheKey(v string) slog.Attr

func SlogCacheNamespace

func SlogCacheNamespace(v string) slog.Attr

func SlogClickhouseQueryDurationMs

func SlogClickhouseQueryDurationMs(v float64) slog.Attr

func SlogComponent

func SlogComponent(v string) slog.Attr

func SlogContainerID

func SlogContainerID(v string) slog.Attr

func SlogContainerNetworkID

func SlogContainerNetworkID(v string) slog.Attr

func SlogDBDeletedRowsCount

func SlogDBDeletedRowsCount(v int64) slog.Attr

func SlogDataDogGitCommitSHA

func SlogDataDogGitCommitSHA(v string) slog.Attr

func SlogDataDogGitRepoURL

func SlogDataDogGitRepoURL(v string) slog.Attr

func SlogDataDogSpanID

func SlogDataDogSpanID(v string) slog.Attr

func SlogDataDogTraceID

func SlogDataDogTraceID(v string) slog.Attr

func SlogDeploymentFunctionsAccessID

func SlogDeploymentFunctionsAccessID(v string) slog.Attr

func SlogDeploymentFunctionsID

func SlogDeploymentFunctionsID(v string) slog.Attr

func SlogDeploymentFunctionsName

func SlogDeploymentFunctionsName(v string) slog.Attr

func SlogDeploymentFunctionsSlug

func SlogDeploymentFunctionsSlug[V ~string](v V) slog.Attr

func SlogDeploymentID

func SlogDeploymentID(v string) slog.Attr

func SlogDeploymentOpenAPIID

func SlogDeploymentOpenAPIID(v string) slog.Attr

func SlogDeploymentOpenAPIName

func SlogDeploymentOpenAPIName(v string) slog.Attr

func SlogDeploymentOpenAPIParser

func SlogDeploymentOpenAPIParser(v string) slog.Attr

func SlogDeploymentOpenAPISlug

func SlogDeploymentOpenAPISlug[V ~string](v V) slog.Attr

func SlogDeploymentStatus

func SlogDeploymentStatus(v string) slog.Attr

func SlogEnvVarName

func SlogEnvVarName(v string) slog.Attr

func SlogEnvironmentID

func SlogEnvironmentID(v string) slog.Attr

func SlogEnvironmentSlug

func SlogEnvironmentSlug(v string) slog.Attr

func SlogError

func SlogError(v error) slog.Attr

func SlogErrorID

func SlogErrorID(v string) slog.Attr

func SlogErrorMessage

func SlogErrorMessage(v string) slog.Attr

func SlogEvent

func SlogEvent(v string) slog.Attr

func SlogExpected

func SlogExpected(v any) slog.Attr

func SlogFilePath

func SlogFilePath(v string) slog.Attr

func SlogFilterExpression

func SlogFilterExpression(v string) slog.Attr

func SlogFlyAppInternalID

func SlogFlyAppInternalID(v string) slog.Attr

func SlogFlyAppName

func SlogFlyAppName(v string) slog.Attr

func SlogFlyMachineIDs

func SlogFlyMachineIDs(v []string) slog.Attr

func SlogFlyOrgID

func SlogFlyOrgID(v string) slog.Attr

func SlogFlyOrgSlug

func SlogFlyOrgSlug(v string) slog.Attr

func SlogFunctionsBackend

func SlogFunctionsBackend(v string) slog.Attr

func SlogFunctionsManifestVersion

func SlogFunctionsManifestVersion(v string) slog.Attr

func SlogFunctionsRunnerImage

func SlogFunctionsRunnerImage(v string) slog.Attr

func SlogFunctionsRunnerVersion

func SlogFunctionsRunnerVersion[V ~string](v V) slog.Attr

func SlogFunctionsRuntime

func SlogFunctionsRuntime[V ~string](v V) slog.Attr

func SlogGoaMethod

func SlogGoaMethod(v string) slog.Attr

func SlogGoaService

func SlogGoaService(v string) slog.Attr

func SlogHTTPClientRequestDuration

func SlogHTTPClientRequestDuration(v float64) slog.Attr

func SlogHTTPEncodingStyle

func SlogHTTPEncodingStyle(v string) slog.Attr

func SlogHTTPParamName

func SlogHTTPParamName(v string) slog.Attr

func SlogHTTPParamValue

func SlogHTTPParamValue(v any) slog.Attr

func SlogHTTPRequestBody

func SlogHTTPRequestBody(v string) slog.Attr

func SlogHTTPRequestBodyBytes

func SlogHTTPRequestBodyBytes(v int) slog.Attr

func SlogHTTPRequestHeaderContentType

func SlogHTTPRequestHeaderContentType(v string) slog.Attr

func SlogHTTPRequestHeaderUserAgent

func SlogHTTPRequestHeaderUserAgent(v string) slog.Attr

func SlogHTTPRequestHeaders

func SlogHTTPRequestHeaders(v any) slog.Attr

func SlogHTTPRequestMethod

func SlogHTTPRequestMethod(v string) slog.Attr

func SlogHTTPResponseBodyBytes

func SlogHTTPResponseBodyBytes(v int) slog.Attr

func SlogHTTPResponseExternal

func SlogHTTPResponseExternal(v bool) slog.Attr

func SlogHTTPResponseFiltered

func SlogHTTPResponseFiltered(v bool) slog.Attr

func SlogHTTPResponseHeaderContentType

func SlogHTTPResponseHeaderContentType(v string) slog.Attr

func SlogHTTPResponseOriginalStatusCode

func SlogHTTPResponseOriginalStatusCode(v int) slog.Attr

func SlogHTTPResponseStatusCode

func SlogHTTPResponseStatusCode(v int) slog.Attr

func SlogHTTPRoute

func SlogHTTPRoute(v string) slog.Attr

func SlogHTTPServerRequestDuration

func SlogHTTPServerRequestDuration(v float64) slog.Attr

func SlogHTTPStatusCodePattern

func SlogHTTPStatusCodePattern(v string) slog.Attr

func SlogHostName

func SlogHostName(v string) slog.Attr

func SlogIngressName

func SlogIngressName(v string) slog.Attr

func SlogMcpMethod

func SlogMcpMethod(v string) slog.Attr

func SlogMcpURL

func SlogMcpURL(v string) slog.Attr

func SlogMetricName

func SlogMetricName(v string) slog.Attr

func SlogMimeType

func SlogMimeType(v string) slog.Attr

func SlogName

func SlogName(v string) slog.Attr

func SlogOAuthClientID

func SlogOAuthClientID(v string) slog.Attr

func SlogOAuthCode

func SlogOAuthCode(v string) slog.Attr

func SlogOAuthExternalCode

func SlogOAuthExternalCode(v string) slog.Attr

func SlogOAuthGrant

func SlogOAuthGrant(v string) slog.Attr

func SlogOAuthProvider

func SlogOAuthProvider(v string) slog.Attr

func SlogOAuthRedirectURIFull

func SlogOAuthRedirectURIFull(v string) slog.Attr

func SlogOAuthScope

func SlogOAuthScope(v string) slog.Attr

func SlogOpenAPIMethod

func SlogOpenAPIMethod(v string) slog.Attr

func SlogOpenAPIOperationID

func SlogOpenAPIOperationID(v string) slog.Attr

func SlogOpenAPIPath

func SlogOpenAPIPath(v string) slog.Attr

func SlogOpenAPIVersion

func SlogOpenAPIVersion(v string) slog.Attr

func SlogOpenRouterKeyLimit

func SlogOpenRouterKeyLimit(v int) slog.Attr

func SlogOrganizationAccountType

func SlogOrganizationAccountType(v string) slog.Attr

func SlogOrganizationID

func SlogOrganizationID(v string) slog.Attr

func SlogOrganizationSlug

func SlogOrganizationSlug(v string) slog.Attr

func SlogOutcome

func SlogOutcome(v string) slog.Attr

func SlogPKCEMethod

func SlogPKCEMethod(v string) slog.Attr

func SlogPackageName

func SlogPackageName(v string) slog.Attr

func SlogPackageVersion

func SlogPackageVersion(v string) slog.Attr

func SlogPaginationCursor

func SlogPaginationCursor(v time.Time) slog.Attr

func SlogPaginationHasNextPage

func SlogPaginationHasNextPage(v bool) slog.Attr

func SlogPaginationLimit

func SlogPaginationLimit(v int) slog.Attr

func SlogPaginationSortOrder

func SlogPaginationSortOrder(v string) slog.Attr

func SlogPaginationTsEnd

func SlogPaginationTsEnd(v time.Time) slog.Attr

func SlogPaginationTsStart

func SlogPaginationTsStart(v time.Time) slog.Attr

func SlogProjectID

func SlogProjectID(v string) slog.Attr

func SlogProjectName

func SlogProjectName(v string) slog.Attr

func SlogProjectSlug

func SlogProjectSlug(v string) slog.Attr

func SlogReason

func SlogReason(v string) slog.Attr

func SlogResourceID

func SlogResourceID(v string) slog.Attr

func SlogResourceName

func SlogResourceName(v string) slog.Attr

func SlogResourceURI

func SlogResourceURI(v string) slog.Attr

func SlogResourceURN

func SlogResourceURN(v string) slog.Attr

func SlogSecretName

func SlogSecretName(v string) slog.Attr

func SlogSecurityPlacement

func SlogSecurityPlacement(v string) slog.Attr

func SlogSecurityScheme

func SlogSecurityScheme(v string) slog.Attr

func SlogSecurityType

func SlogSecurityType(v string) slog.Attr

func SlogServerAddress

func SlogServerAddress(v string) slog.Attr

func SlogServiceEnv

func SlogServiceEnv(v string) slog.Attr

func SlogServiceName

func SlogServiceName(v string) slog.Attr

func SlogServiceVersion

func SlogServiceVersion(v string) slog.Attr

func SlogSessionID

func SlogSessionID(v string) slog.Attr

func SlogSlackEventFull

func SlogSlackEventFull(v any) slog.Attr

func SlogSlackEventType

func SlogSlackEventType(v string) slog.Attr

func SlogSlackTeamID

func SlogSlackTeamID(v string) slog.Attr

func SlogSpanID

func SlogSpanID(v string) slog.Attr

func SlogToolCallDuration

func SlogToolCallDuration(v time.Duration) slog.Attr

func SlogToolCallKind

func SlogToolCallKind[V string](v V) slog.Attr

func SlogToolCallSource

func SlogToolCallSource(v string) slog.Attr

func SlogToolID

func SlogToolID(v string) slog.Attr

func SlogToolName

func SlogToolName(v string) slog.Attr

func SlogToolURN

func SlogToolURN(v string) slog.Attr

func SlogToolsetID

func SlogToolsetID(v string) slog.Attr

func SlogToolsetSlug

func SlogToolsetSlug(v string) slog.Attr

func SlogTraceID

func SlogTraceID(v string) slog.Attr

func SlogURLDomain

func SlogURLDomain(v string) slog.Attr

func SlogURLFull

func SlogURLFull(v string) slog.Attr

func SlogURLOriginal

func SlogURLOriginal(v string) slog.Attr

func SlogUserID

func SlogUserID(v string) slog.Attr

func SlogValueAny

func SlogValueAny(v any) slog.Attr

func SlogValueInt

func SlogValueInt(v int) slog.Attr

func SlogValueString

func SlogValueString(v string) slog.Attr

func SpanID

func SpanID(v string) attribute.KeyValue

func ToolCallDuration

func ToolCallDuration(v time.Duration) attribute.KeyValue

func ToolCallKind

func ToolCallKind[V string](v V) attribute.KeyValue

func ToolCallSource

func ToolCallSource(v string) attribute.KeyValue

func ToolID

func ToolID(v string) attribute.KeyValue

func ToolName

func ToolName(v string) attribute.KeyValue

func ToolURN

func ToolURN(v string) attribute.KeyValue

func ToolsetID

func ToolsetID(v string) attribute.KeyValue

func ToolsetSlug

func ToolsetSlug(v string) attribute.KeyValue

func TraceID

func TraceID(v string) attribute.KeyValue

func URLDomain

func URLDomain(v string) attribute.KeyValue

func URLFull

func URLFull(v string) attribute.KeyValue

func URLOriginal

func URLOriginal(v string) attribute.KeyValue

func UserID

func UserID(v string) attribute.KeyValue

func ValueAny

func ValueAny(v any) attribute.KeyValue

func ValueInt

func ValueInt(v int) attribute.KeyValue

func ValueString

func ValueString(v string) attribute.KeyValue

Types

type Key

type Key = attribute.Key

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL