Line data Source code
1 : #include "tags.h" 2 : 3 : #include "parse_util.h" 4 : 5 : namespace datadog { 6 : namespace tracing { 7 : namespace tags { 8 : 9 : const std::string environment = "env"; 10 : const std::string service_name = "service.name"; 11 : const std::string span_type = "span.type"; 12 : const std::string operation_name = "operation"; 13 : const std::string resource_name = "resource.name"; 14 : const std::string version = "version"; 15 : 16 : namespace internal { 17 : 18 : const std::string propagation_error = "_dd.propagation_error"; 19 : const std::string decision_maker = "_dd.p.dm"; 20 : const std::string origin = "_dd.origin"; 21 : const std::string hostname = "_dd.hostname"; 22 : const std::string sampling_priority = "_sampling_priority_v1"; 23 : const std::string rule_sample_rate = "_dd.rule_psr"; 24 : const std::string rule_limiter_sample_rate = "_dd.limit_psr"; 25 : const std::string agent_sample_rate = "_dd.agent_psr"; 26 : const std::string span_sampling_mechanism = "_dd.span_sampling.mechanism"; 27 : const std::string span_sampling_rule_rate = "_dd.span_sampling.rule_rate"; 28 : const std::string span_sampling_limit = "_dd.span_sampling.max_per_second"; 29 : const std::string w3c_extraction_error = "_dd.w3c_extraction_error"; 30 : const std::string trace_id_high = "_dd.p.tid"; 31 : const std::string process_id = "process_id"; 32 : const std::string language = "language"; 33 : const std::string runtime_id = "runtime-id"; 34 : 35 : } // namespace internal 36 : 37 67 : bool is_internal(StringView tag_name) { return starts_with(tag_name, "_dd."); } 38 : 39 : } // namespace tags 40 : } // namespace tracing 41 : } // namespace datadog