Repository URL to install this package:
|
Version:
0.8.1 ▾
|
// (c) Copyright 2023 Supertenant Ltd. - all rights reserved.
// See LICENSE file in project root for license terms.
"use strict";const MaskLevel={All:2,AllAndKeys:3,None:0,Partial:1};exports.MaskLevel=MaskLevel,exports.Label={ArgvPrefix:"argv",AwsEndpoint:"aws.endpoint",AwsOperation:"aws.operation",AwsRegion:"aws.region",AwsS3Bucket:"aws.s3.bucket",AwsS3ObjectPath:"aws.s3.object.path",AwsSqsQueueName:"aws.sqs.queue_name",AwsSqsQueueUrl:"aws.sqs.queue.url",CeleryArgs:"celery.args",CeleryBrokerHost:"celery.broker_host",CeleryBrokerPort:"celery.broker_port",CeleryBrokerScheme:"celery.broker_scheme",CeleryExchange:"celery.exchange",CeleryKwargs:"celery.kwargs",CeleryRetryReason:"celery.retry_reason",CeleryRoutingKey:"celery.routing_key",CelerySuccess:"celery.success",CeleryTask:"celery.task",CeleryTaskId:"celery.task_id",DbCollection:"db.collection",DbCommand:"db.command",DbDatabase:"db.database",DbHost:"db.host",DbMongodbCollection:"db.mongodb.collection",DbMongodbCommandJson:"db.mongodb.command_json",DbMongodbFilter:"db.mongodb.filter",DbPort:"db.port",DbReplicaSet:"db.replica_set",DbStatement:"db.statement",DbSubCommand:"db.sub_commands",DbUser:"db.user",EnvVarPrefix:"envvar",ExecutionHostContainerId:"execution_host.container_id",ExecutionHostHostName:"execution_host.hostname",ExecutionHostLibc:"execution_host.libc",ExecutionHostOs:"execution_host.os",ExecutionHostOsVersion:"execution_host.os_version",ExecutionHostParentProcessId:"execution_host.parent_pid",ExecutionHostPlatform:"execution_host.platform",ExecutionHostPlatformVersion:"execution_host.platform_version",ExecutionHostProcessId:"execution_host.pid",FlaskImportName:"flask.import_name",HttpHeaderPrefix:"http.header",HttpHost:"http.host",HttpMethod:"http.method",HttpParams:"http.params",HttpPath:"http.path",HttpStatus:"http.status_code",HttpUserAgent:"http.user_agent",IntegrationModuleResourceId:"integration_module.resource_id",MetricDatapointTimestamp:"timestamp",MetricDatapointValue:"value",MetricDatapointValueType:"value_type",PlatformName:"platform.name",PlatformVersion:"platform.version",SupertenantAccountId:"st._account_id",SupertenantActionOverrideHttpHeaders:"st.action.override_http_headers",SupertenantCanceled:"st.canceled",SupertenantCollectorDocumentId:"st._document_id",SupertenantCollectorDocumentType:"st.document_type",SupertenantCollectorId:"st._collector_id",SupertenantCollectorType:"st.collector_type",SupertenantCompletionStatus:"st.completion_status",SupertenantDefaultServerResourceId:"st.default_server_resource_id",SupertenantError:"st.error",SupertenantHashedBasePolicyPrefix:"st.policy_hash",SupertenantIntegrationModule:"st.integration_module",SupertenantMetricName:"st.metric_name",SupertenantMetricPath:"st._path",SupertenantMetricType:"st.metric_type",SupertenantMetricUnit:"st.metric_unit",SupertenantPoliciesHit:"st.policies_hit",SupertenantQosDelay:"st.qos.delay",SupertenantQosRejected:"st.qos.rejected",SupertenantResourceId:"st.resource_id",SupertenantResourceType:"st.resource_type",SupertenantSpanFlushed:"st._span_flushed",SupertenantSpanState:"st.span_state",SupertenantSpanType:"st.span_type",SupertenantTenantId:"st.tenant_id"},exports.LabelsMetadata={argv:{isPrefix:!0,mask:MaskLevel.Partial},"aws.endpoint":{isPrefix:!1,mask:MaskLevel.None},"aws.operation":{isPrefix:!1,mask:MaskLevel.None},"aws.region":{isPrefix:!1,mask:MaskLevel.None},"aws.s3.bucket":{isPrefix:!1,mask:MaskLevel.None},"aws.s3.object.path":{isPrefix:!1,mask:MaskLevel.None},"aws.sqs.queue.url":{isPrefix:!1,mask:MaskLevel.None},"aws.sqs.queue_name":{isPrefix:!1,mask:MaskLevel.None},"celery.args":{isPrefix:!0,mask:MaskLevel.Partial},"celery.broker_host":{isPrefix:!1,mask:MaskLevel.None},"celery.broker_port":{isPrefix:!1,mask:MaskLevel.None},"celery.broker_scheme":{isPrefix:!1,mask:MaskLevel.None},"celery.exchange":{isPrefix:!1,mask:MaskLevel.None},"celery.kwargs":{isPrefix:!0,mask:MaskLevel.Partial},"celery.retry_reason":{isPrefix:!1,mask:MaskLevel.None},"celery.routing_key":{isPrefix:!1,mask:MaskLevel.None},"celery.success":{isPrefix:!1,mask:MaskLevel.None},"celery.task":{isPrefix:!1,mask:MaskLevel.None},"celery.task_id":{isPrefix:!1,mask:MaskLevel.None},"db.collection":{isPrefix:!1,mask:MaskLevel.None},"db.command":{isPrefix:!1,mask:MaskLevel.None},"db.database":{isPrefix:!1,mask:MaskLevel.None},"db.host":{isPrefix:!1,mask:MaskLevel.None},"db.mongodb.collection":{isPrefix:!1,mask:MaskLevel.None},"db.mongodb.command_json":{isPrefix:!1,mask:MaskLevel.Partial},"db.mongodb.filter":{isPrefix:!1,mask:MaskLevel.Partial},"db.port":{isPrefix:!1,mask:MaskLevel.None},"db.replica_set":{isPrefix:!1,mask:MaskLevel.None},"db.statement":{isPrefix:!1,mask:MaskLevel.Partial},"db.sub_commands":{isPrefix:!1,mask:MaskLevel.None},"db.user":{isPrefix:!1,mask:MaskLevel.None},envvar:{isPrefix:!0,mask:MaskLevel.None},"execution_host.container_id":{isPrefix:!1,mask:MaskLevel.None},"execution_host.hostname":{isPrefix:!1,mask:MaskLevel.None},"execution_host.libc":{isPrefix:!1,mask:MaskLevel.None},"execution_host.os":{isPrefix:!1,mask:MaskLevel.None},"execution_host.os_version":{isPrefix:!1,mask:MaskLevel.None},"execution_host.parent_pid":{isPrefix:!1,mask:MaskLevel.None},"execution_host.pid":{isPrefix:!1,mask:MaskLevel.None},"execution_host.platform":{isPrefix:!1,mask:MaskLevel.None},"execution_host.platform_version":{isPrefix:!1,mask:MaskLevel.None},"flask.import_name":{isPrefix:!1,mask:MaskLevel.None},"http.header":{isPrefix:!0,mask:MaskLevel.None},"http.host":{isPrefix:!1,mask:MaskLevel.None},"http.method":{isPrefix:!1,mask:MaskLevel.None},"http.params":{isPrefix:!1,mask:MaskLevel.None},"http.path":{isPrefix:!1,mask:MaskLevel.None},"http.status_code":{isPrefix:!1,mask:MaskLevel.None},"http.user_agent":{isPrefix:!1,mask:MaskLevel.None},"integration_module.resource_id":{isPrefix:!1,mask:MaskLevel.None},"platform.name":{isPrefix:!1,mask:MaskLevel.None},"platform.version":{isPrefix:!1,mask:MaskLevel.None},"st._account_id":{isPrefix:!1,mask:MaskLevel.None},"st._collector_id":{isPrefix:!1,mask:MaskLevel.None},"st._document_id":{isPrefix:!1,mask:MaskLevel.None},"st._path":{isPrefix:!1,mask:MaskLevel.None},"st._span_flushed":{isPrefix:!1,mask:MaskLevel.None},"st.action.override_http_headers":{isPrefix:!1,mask:MaskLevel.None},"st.canceled":{isPrefix:!1,mask:MaskLevel.None},"st.collector_type":{isPrefix:!1,mask:MaskLevel.None},"st.completion_status":{isPrefix:!1,mask:MaskLevel.None},"st.default_server_resource_id":{isPrefix:!1,mask:MaskLevel.None},"st.document_type":{isPrefix:!1,mask:MaskLevel.None},"st.error":{isPrefix:!1,mask:MaskLevel.None},"st.integration_module":{isPrefix:!1,mask:MaskLevel.None},"st.metric_name":{isPrefix:!1,mask:MaskLevel.None},"st.metric_type":{isPrefix:!1,mask:MaskLevel.None},"st.metric_unit":{isPrefix:!1,mask:MaskLevel.None},"st.policies_hit":{isPrefix:!1,mask:MaskLevel.None},"st.policy_hash":{isPrefix:!0,mask:MaskLevel.None},"st.qos.delay":{isPrefix:!1,mask:MaskLevel.None},"st.qos.rejected":{isPrefix:!1,mask:MaskLevel.None},"st.resource_id":{isPrefix:!1,mask:MaskLevel.None},"st.resource_type":{isPrefix:!1,mask:MaskLevel.None},"st.span_state":{isPrefix:!1,mask:MaskLevel.None},"st.span_type":{isPrefix:!1,mask:MaskLevel.None},"st.tenant_id":{isPrefix:!1,mask:MaskLevel.None},timestamp:{isPrefix:!1,mask:MaskLevel.None},value:{isPrefix:!1,mask:MaskLevel.None},value_type:{isPrefix:!1,mask:MaskLevel.None}},exports.LabelPrefixesMetadata={argv:MaskLevel.Partial,"celery.args":MaskLevel.Partial,"celery.kwargs":MaskLevel.Partial,envvar:MaskLevel.None,"http.header":MaskLevel.None,"st.policy_hash":MaskLevel.None},exports.default={MaskLevel:exports.MaskLevel,Label:exports.Label,LabelsMetadata:exports.LabelsMetadata,LabelPrefixesMetadata:exports.LabelPrefixesMetadata};