UNPKG

autotel

Version:
206 lines (204 loc) 6.14 kB
'use strict'; // src/attributes/registry.ts var UserAttributes = { id: "user.id", email: "user.email", name: "user.name", fullName: "user.full_name", hash: "user.hash", roles: "user.roles" }; var SessionAttributes = { id: "session.id", previousId: "session.previous_id" }; var DeviceAttributes = { id: "device.id", manufacturer: "device.manufacturer", modelIdentifier: "device.model.identifier", modelName: "device.model.name" }; var HTTPAttributes = { connectionState: "http.connection.state", requestMethod: "http.request.method", requestMethodOriginal: "http.request.method_original", requestResendCount: "http.request.resend_count", requestSize: "http.request.size", requestBodySize: "http.request.body.size", responseSize: "http.response.size", responseBodySize: "http.response.body.size", responseStatusCode: "http.response.status_code", route: "http.route" }; var DBAttributes = { clientConnectionPoolName: "db.client.connection.pool.name", clientConnectionState: "db.client.connection.state", collectionName: "db.collection.name", namespace: "db.namespace", operationBatchSize: "db.operation.batch.size", operationName: "db.operation.name", querySummary: "db.query.summary", queryText: "db.query.text", responseReturnedRows: "db.response.returned_rows", responseStatusCode: "db.response.status_code", systemName: "db.system.name", statement: "db.statement" }; var ServiceAttributes = { name: "service.name", instance: "service.instance.id", version: "service.version" }; var NetworkAttributes = { peerAddress: "network.peer.address", peerPort: "network.peer.port", transport: "network.transport", type: "network.type", protocolName: "network.protocol.name", protocolVersion: "network.protocol.version" }; var ServerAddressAttributes = { address: "server.address", port: "server.port", socketAddress: "server.socket.address" }; var URLAttributes = { scheme: "url.scheme", full: "url.full", path: "url.path", query: "url.query", fragment: "url.fragment" }; var ErrorAttributes = { type: "error.type", message: "error.message", stackTrace: "error.stack", code: "error.code" }; var ExceptionAttributes = { escaped: "exception.escaped", message: "exception.message", stackTrace: "exception.stacktrace", type: "exception.type", moduleName: "exception.module" }; var ProcessAttributes = { pid: "process.pid", executablePath: "process.executable.path", command: "process.command", owner: "process.owner", commandArgs: "process.command_args" }; var ThreadAttributes = { id: "thread.id", name: "thread.name" }; var ContainerAttributes = { id: "container.id", name: "container.name", image: "container.image.name", tag: "container.image.tag" }; var K8sAttributes = { podName: "k8s.pod.name", namespaceName: "k8s.namespace.name", deploymentName: "k8s.deployment.name", state: "k8s.state.name" }; var CloudAttributes = { provider: "cloud.provider", accountId: "cloud.account.id", region: "cloud.region", availabilityZone: "cloud.availability_zone", platform: "cloud.platform" }; var FaaSAttributes = { name: "faas.name", version: "faas.version", instance: "faas.instance", execution: "faas.execution", coldstart: "faas.coldstart" }; var FeatureFlagAttributes = { key: "feature.flag.key", provider: "feature.flag.provider_name", variant: "feature.flag.variant.name" }; var MessagingAttributes = { system: "messaging.system", destination: "messaging.destination.name", operation: "messaging.operation", messageId: "messaging.message.id", conversationId: "messaging.conversation_id", batchMessageCount: "messaging.batch.message_count", consumerGroup: "messaging.consumer.group" }; var GenAIAttributes = { system: "gen.ai.system", requestModel: "gen.ai.request.model", responseModel: "gen.ai.response.model", operationName: "gen.ai.operation.name", usagePromptTokens: "gen.ai.usage.prompt_tokens", usageCompletionTokens: "gen.ai.usage.completion_tokens", provider: "gen.ai.provider" }; var RPCAttributes = { system: "rpc.system", service: "rpc.service", method: "rpc.method", grpcStatusCode: "rpc.grpc.status_code" }; var GraphQLAttributes = { document: "graphql.document", operationName: "graphql.operation.name", operationType: "graphql.operation.type" }; var OTelAttributes = { libraryName: "otel.library.name", libraryVersion: "otel.library.version", statusCode: "otel.status_code" }; var CodeAttributes = { namespace: "code.namespace", filepath: "code.filepath", function: "code.function", class: "code.class", method: "code.method", column: "code.column", lineNumber: "code.lineno", repository: "code.repository", revision: "code.revision" }; var TLSAttributes = { protocolVersion: "tls.protocol.version", cipher: "tls.cipher", curveName: "tls.curve.name", resumed: "tls.resumed" }; exports.CloudAttributes = CloudAttributes; exports.CodeAttributes = CodeAttributes; exports.ContainerAttributes = ContainerAttributes; exports.DBAttributes = DBAttributes; exports.DeviceAttributes = DeviceAttributes; exports.ErrorAttributes = ErrorAttributes; exports.ExceptionAttributes = ExceptionAttributes; exports.FaaSAttributes = FaaSAttributes; exports.FeatureFlagAttributes = FeatureFlagAttributes; exports.GenAIAttributes = GenAIAttributes; exports.GraphQLAttributes = GraphQLAttributes; exports.HTTPAttributes = HTTPAttributes; exports.K8sAttributes = K8sAttributes; exports.MessagingAttributes = MessagingAttributes; exports.NetworkAttributes = NetworkAttributes; exports.OTelAttributes = OTelAttributes; exports.ProcessAttributes = ProcessAttributes; exports.RPCAttributes = RPCAttributes; exports.ServerAddressAttributes = ServerAddressAttributes; exports.ServiceAttributes = ServiceAttributes; exports.SessionAttributes = SessionAttributes; exports.TLSAttributes = TLSAttributes; exports.ThreadAttributes = ThreadAttributes; exports.URLAttributes = URLAttributes; exports.UserAttributes = UserAttributes; //# sourceMappingURL=chunk-ESMHTKLJ.cjs.map //# sourceMappingURL=chunk-ESMHTKLJ.cjs.map