mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-08-01 09:13:23 +08:00
Move DD code into its own directory (#6)
This commit is contained in:
15
reference/ddtrace/constants.py
Normal file
15
reference/ddtrace/constants.py
Normal file
@ -0,0 +1,15 @@
|
||||
FILTERS_KEY = 'FILTERS'
|
||||
SAMPLE_RATE_METRIC_KEY = '_sample_rate'
|
||||
SAMPLING_PRIORITY_KEY = '_sampling_priority_v1'
|
||||
ANALYTICS_SAMPLE_RATE_KEY = '_dd1.sr.eausr'
|
||||
SAMPLING_AGENT_DECISION = '_dd.agent_psr'
|
||||
SAMPLING_RULE_DECISION = '_dd.rule_psr'
|
||||
SAMPLING_LIMIT_DECISION = '_dd.limit_psr'
|
||||
ORIGIN_KEY = '_dd.origin'
|
||||
HOSTNAME_KEY = '_dd.hostname'
|
||||
ENV_KEY = 'env'
|
||||
|
||||
NUMERIC_TAGS = (ANALYTICS_SAMPLE_RATE_KEY, )
|
||||
|
||||
MANUAL_DROP_KEY = 'manual.drop'
|
||||
MANUAL_KEEP_KEY = 'manual.keep'
|
Reference in New Issue
Block a user