package.build.cjs.semanticAttributes.js.map Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Base implementation for all Sentry JavaScript SDKs
{"version":3,"file":"semanticAttributes.js","sources":["../../src/semanticAttributes.ts"],"sourcesContent":["/**\n * Use this attribute to represent the source of a span.\n * Should be one of: custom, url, route, view, component, task, unknown\n *\n */\nexport const SEMANTIC_ATTRIBUTE_SENTRY_SOURCE = 'sentry.source';\n\n/**\n * Use this attribute to represent the sample rate used for a span.\n */\nexport const SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE = 'sentry.sample_rate';\n\n/**\n * Use this attribute to represent the operation of a span.\n */\nexport const SEMANTIC_ATTRIBUTE_SENTRY_OP = 'sentry.op';\n\n/**\n * Use this attribute to represent the origin of a span.\n */\nexport const SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = 'sentry.origin';\n\n/** The reason why an idle span finished. */\nexport const SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON = 'sentry.idle_span_finish_reason';\n\n/** The unit of a measurement, which may be stored as a TimedEvent. */\nexport const SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT = 'sentry.measurement_unit';\n\n/** The value of a measurement, which may be stored as a TimedEvent. */\nexport const SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE = 'sentry.measurement_value';\n\n/**\n * The id of the profile that this span occured in.\n */\nexport const SEMANTIC_ATTRIBUTE_PROFILE_ID = 'sentry.profile_id';\n\nexport const SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME = 'sentry.exclusive_time';\n\nexport const SEMANTIC_ATTRIBUTE_CACHE_HIT = 'cache.hit';\n\nexport const SEMANTIC_ATTRIBUTE_CACHE_KEY = 'cache.key';\n\nexport const SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE = 'cache.item_size';\n\n/** TODO: Remove these once we update to latest semantic conventions */\nexport const SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD = 'http.request.method';\nexport const SEMANTIC_ATTRIBUTE_URL_FULL = 'url.full';\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACO,MAAM,gCAAiC,GAAE,gBAAe;AAC/D;AACA;AACA;AACA;AACO,MAAM,qCAAsC,GAAE,qBAAoB;AACzE;AACA;AACA;AACA;AACO,MAAM,4BAA6B,GAAE,YAAW;AACvD;AACA;AACA;AACA;AACO,MAAM,gCAAiC,GAAE,gBAAe;AAC/D;AACA;AACO,MAAM,iDAAkD,GAAE,iCAAgC;AACjG;AACA;AACO,MAAM,0CAA2C,GAAE,0BAAyB;AACnF;AACA;AACO,MAAM,2CAA4C,GAAE,2BAA0B;AACrF;AACA;AACA;AACA;AACO,MAAM,6BAA8B,GAAE,oBAAmB;AAChE;AACO,MAAM,iCAAkC,GAAE,wBAAuB;AACxE;AACO,MAAM,4BAA6B,GAAE,YAAW;AACvD;AACO,MAAM,4BAA6B,GAAE,YAAW;AACvD;AACO,MAAM,kCAAmC,GAAE,kBAAiB;AACnE;AACA;AACO,MAAM,sCAAuC,GAAE,sBAAqB;AACpE,MAAM,2BAA4B,GAAE;;;;;;;;;;;;;;;;;"}