{"version":3,"file":"registry-DYgvb62e.cjs","names":[],"sources":["../src/attributes/registry.ts"],"sourcesContent":["/**\n * OpenTelemetry attribute registry\n * Central source of truth for attribute keys, types, and metadata\n */\n\nexport const UserAttributes = {\n  id: 'user.id' as const,\n  email: 'user.email' as const,\n  name: 'user.name' as const,\n  fullName: 'user.full_name' as const,\n  hash: 'user.hash' as const,\n  roles: 'user.roles' as const,\n} as const;\n\nexport const SessionAttributes = {\n  id: 'session.id' as const,\n  previousId: 'session.previous_id' as const,\n} as const;\n\nexport const DeviceAttributes = {\n  id: 'device.id' as const,\n  manufacturer: 'device.manufacturer' as const,\n  modelIdentifier: 'device.model.identifier' as const,\n  modelName: 'device.model.name' as const,\n} as const;\n\nexport const HTTPAttributes = {\n  connectionState: 'http.connection.state' as const,\n  requestMethod: 'http.request.method' as const,\n  requestMethodOriginal: 'http.request.method_original' as const,\n  requestResendCount: 'http.request.resend_count' as const,\n  requestSize: 'http.request.size' as const,\n  requestBodySize: 'http.request.body.size' as const,\n  responseSize: 'http.response.size' as const,\n  responseBodySize: 'http.response.body.size' as const,\n  responseStatusCode: 'http.response.status_code' as const,\n  route: 'http.route' as const,\n} as const;\n\nexport const DBAttributes = {\n  clientConnectionPoolName: 'db.client.connection.pool.name' as const,\n  clientConnectionState: 'db.client.connection.state' as const,\n  collectionName: 'db.collection.name' as const,\n  namespace: 'db.namespace' as const,\n  operationBatchSize: 'db.operation.batch.size' as const,\n  operationName: 'db.operation.name' as const,\n  querySummary: 'db.query.summary' as const,\n  queryText: 'db.query.text' as const,\n  responseReturnedRows: 'db.response.returned_rows' as const,\n  responseStatusCode: 'db.response.status_code' as const,\n  systemName: 'db.system.name' as const,\n  statement: 'db.statement' as const,\n} as const;\n\nexport const ServiceAttributes = {\n  name: 'service.name' as const,\n  instance: 'service.instance.id' as const,\n  version: 'service.version' as const,\n} as const;\n\nexport const NetworkAttributes = {\n  peerAddress: 'network.peer.address' as const,\n  peerPort: 'network.peer.port' as const,\n  transport: 'network.transport' as const,\n  type: 'network.type' as const,\n  protocolName: 'network.protocol.name' as const,\n  protocolVersion: 'network.protocol.version' as const,\n} as const;\n\nexport const ServerAddressAttributes = {\n  address: 'server.address' as const,\n  port: 'server.port' as const,\n  socketAddress: 'server.socket.address' as const,\n} as const;\n\nexport const URLAttributes = {\n  scheme: 'url.scheme' as const,\n  full: 'url.full' as const,\n  path: 'url.path' as const,\n  query: 'url.query' as const,\n  fragment: 'url.fragment' as const,\n} as const;\n\nexport const ErrorAttributes = {\n  type: 'error.type' as const,\n  message: 'error.message' as const,\n  stackTrace: 'error.stack' as const,\n  code: 'error.code' as const,\n} as const;\n\nexport const ExceptionAttributes = {\n  escaped: 'exception.escaped' as const,\n  message: 'exception.message' as const,\n  stackTrace: 'exception.stacktrace' as const,\n  type: 'exception.type' as const,\n  moduleName: 'exception.module' as const,\n} as const;\n\nexport const ProcessAttributes = {\n  pid: 'process.pid' as const,\n  executablePath: 'process.executable.path' as const,\n  command: 'process.command' as const,\n  owner: 'process.owner' as const,\n  commandArgs: 'process.command_args' as const,\n} as const;\n\nexport const ThreadAttributes = {\n  id: 'thread.id' as const,\n  name: 'thread.name' as const,\n} as const;\n\nexport const ContainerAttributes = {\n  id: 'container.id' as const,\n  name: 'container.name' as const,\n  image: 'container.image.name' as const,\n  tag: 'container.image.tag' as const,\n} as const;\n\nexport const K8sAttributes = {\n  podName: 'k8s.pod.name' as const,\n  namespaceName: 'k8s.namespace.name' as const,\n  deploymentName: 'k8s.deployment.name' as const,\n  state: 'k8s.state.name' as const,\n} as const;\n\nexport const CloudAttributes = {\n  provider: 'cloud.provider' as const,\n  accountId: 'cloud.account.id' as const,\n  region: 'cloud.region' as const,\n  availabilityZone: 'cloud.availability_zone' as const,\n  platform: 'cloud.platform' as const,\n} as const;\n\nexport const FaaSAttributes = {\n  name: 'faas.name' as const,\n  version: 'faas.version' as const,\n  instance: 'faas.instance' as const,\n  execution: 'faas.execution' as const,\n  coldstart: 'faas.coldstart' as const,\n} as const;\n\nexport const FeatureFlagAttributes = {\n  key: 'feature.flag.key' as const,\n  provider: 'feature.flag.provider_name' as const,\n  variant: 'feature.flag.variant.name' as const,\n} as const;\n\nexport const MessagingAttributes = {\n  system: 'messaging.system' as const,\n  destination: 'messaging.destination.name' as const,\n  operation: 'messaging.operation' as const,\n  messageId: 'messaging.message.id' as const,\n  conversationId: 'messaging.conversation_id' as const,\n  batchMessageCount: 'messaging.batch.message_count' as const,\n  consumerGroup: 'messaging.consumer.group' as const,\n} as const;\n\n// GenAI attribute registry moved to the `autotel-genai` package, which uses the\n// canonical `gen_ai.*` namespace (these legacy `gen.ai.*` keys were non-spec).\n\nexport const RPCAttributes = {\n  system: 'rpc.system' as const,\n  service: 'rpc.service' as const,\n  method: 'rpc.method' as const,\n  grpcStatusCode: 'rpc.grpc.status_code' as const,\n} as const;\n\nexport const GraphQLAttributes = {\n  document: 'graphql.document' as const,\n  operationName: 'graphql.operation.name' as const,\n  operationType: 'graphql.operation.type' as const,\n} as const;\n\nexport const PeerAttributes = {\n  service: 'peer.service' as const,\n} as const;\n\nexport const ClientAttributes = {\n  address: 'client.address' as const,\n  port: 'client.port' as const,\n  socketAddress: 'client.socket.address' as const,\n} as const;\n\nexport const DeploymentAttributes = {\n  environment: 'deployment.environment' as const,\n  id: 'deployment.environment.id' as const,\n} as const;\n\nexport const OTelAttributes = {\n  libraryName: 'otel.library.name' as const,\n  libraryVersion: 'otel.library.version' as const,\n  statusCode: 'otel.status_code' as const,\n} as const;\n\nexport const CodeAttributes = {\n  namespace: 'code.namespace' as const,\n  filepath: 'code.filepath' as const,\n  function: 'code.function' as const,\n  class: 'code.class' as const,\n  method: 'code.method' as const,\n  column: 'code.column' as const,\n  lineNumber: 'code.lineno' as const,\n  repository: 'code.repository' as const,\n  revision: 'code.revision' as const,\n} as const;\n\nexport const TLSAttributes = {\n  protocolVersion: 'tls.protocol.version' as const,\n  cipher: 'tls.cipher' as const,\n  curveName: 'tls.curve.name' as const,\n  resumed: 'tls.resumed' as const,\n} as const;\n\nexport const BrowserAttributes = {\n  platform: 'browser.platform' as const,\n  language: 'browser.language' as const,\n  brand: 'browser.brand' as const,\n  mobile: 'browser.mobile' as const,\n} as const;\n\nexport const AndroidAttributes = {\n  appVersion: 'android.app.version' as const,\n  package: 'android.package' as const,\n  activityName: 'android.activity.name' as const,\n} as const;\n\nexport const IOSAttributes = {\n  deviceModel: 'ios.device.model' as const,\n  version: 'ios.version' as const,\n} as const;\n\nexport const GeoAttributes = {\n  cityName: 'geo.city.name' as const,\n  countryCode: 'geo.country.name' as const,\n  continentCode: 'geo.continent.code' as const,\n} as const;\n\nexport const UserAgentAttributes = {\n  original: 'user_agent.original' as const,\n} as const;\n\nexport const AWSAttributes = {\n  ecsClusterArn: 'aws.ecs.cluster.arn' as const,\n  ecsContainerArn: 'aws.ecs.container.arn' as const,\n  logGroupName: 'aws.log.group.name' as const,\n  requestId: 'aws.requestId' as const,\n} as const;\n\nexport const AzureAttributes = {\n  subscriptionId: 'azure.subscription.id' as const,\n  tenantId: 'azure.tenant.id' as const,\n} as const;\n\nexport const GCPAttributes = {\n  project: 'gcp.project.id' as const,\n  instanceName: 'gcp.instance.name' as const,\n  zone: 'gcp.zone' as const,\n} as const;\n\nexport const CassandraAttributes = {\n  consistencyLevel: 'cassandra.consistency.level' as const,\n  coordinatorId: 'cassandra.coordinator.id' as const,\n  dataCenter: 'cassandra.coordinator.dc' as const,\n  pageSize: 'cassandra.page.size' as const,\n} as const;\n\nexport const ElasticsearchAttributes = {\n  clusterName: 'elasticsearch.cluster.name' as const,\n  nodeId: 'elasticsearch.node.name' as const,\n} as const;\n\nexport const MongoDBAttributes = {\n  collectionName: 'mongodb.collection.name' as const,\n} as const;\n\nexport const RedisAttributes = {\n  databaseIndex: 'redis.database.index' as const,\n} as const;\n\nexport const MSSQLAttributes = {\n  instanceName: 'mssql.instance.name' as const,\n} as const;\n\nexport const PostgreSQLAttributes = {\n  databaseName: 'postgresql.database.name' as const,\n} as const;\n\nexport const AWSLambdaAttributes = {\n  requestId: 'aws.lambda.invoked_arn' as const,\n  requestFunction: 'aws.lambda.invoked_function_arn' as const,\n} as const;\n\nexport const OpenAIAttributes = {\n  requestId: 'openai.request.id' as const,\n  responseModel: 'openai.response.model' as const,\n  responseOrganization: 'openai.response.organization' as const,\n} as const;\n\nexport const AzureAIAAttributes = {\n  resource: 'azure.ai.inference.resource' as const,\n  deploymentId: 'azure.ai.inference.deployment.id' as const,\n} as const;\n\nexport const AWSBedrockAttributes = {\n  requestId: 'aws.bedrock.requestId' as const,\n  responseModel: 'aws.bedrock.responseModel' as const,\n} as const;\n\nexport const TestAttributes = {\n  framework: 'test.framework' as const,\n  name: 'test.name' as const,\n} as const;\n\nexport const ArtifactAttributes = {\n  type: 'artifact.type' as const,\n  id: 'artifact.id' as const,\n  checksum: 'artifact.checksum' as const,\n} as const;\n\nexport const CICDAttributes = {\n  pipelineName: 'ci.pipeline.name' as const,\n  pipelineRunId: 'ci.pipeline.run.id' as const,\n} as const;\n"],"mappings":";;;;;;AAKA,MAAa,iBAAiB;CAC5B,IAAI;CACJ,OAAO;CACP,MAAM;CACN,UAAU;CACV,MAAM;CACN,OAAO;AACT;AAEA,MAAa,oBAAoB;CAC/B,IAAI;CACJ,YAAY;AACd;AAEA,MAAa,mBAAmB;CAC9B,IAAI;CACJ,cAAc;CACd,iBAAiB;CACjB,WAAW;AACb;AAEA,MAAa,iBAAiB;CAC5B,iBAAiB;CACjB,eAAe;CACf,uBAAuB;CACvB,oBAAoB;CACpB,aAAa;CACb,iBAAiB;CACjB,cAAc;CACd,kBAAkB;CAClB,oBAAoB;CACpB,OAAO;AACT;AAEA,MAAa,eAAe;CAC1B,0BAA0B;CAC1B,uBAAuB;CACvB,gBAAgB;CAChB,WAAW;CACX,oBAAoB;CACpB,eAAe;CACf,cAAc;CACd,WAAW;CACX,sBAAsB;CACtB,oBAAoB;CACpB,YAAY;CACZ,WAAW;AACb;AAEA,MAAa,oBAAoB;CAC/B,MAAM;CACN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