@@ -79,34 +79,4 @@ const string LOG_RESERVED_KEY_TOPIC = "__topic__";
79
79
const string LOG_RESERVED_KEY_MACHINE_UUID = " __machine_uuid__" ;
80
80
const string LOG_RESERVED_KEY_PACKAGE_ID = " __pack_id__" ;
81
81
82
- // //////////////////////// METRIC ////////////////////////
83
- const string DEFAULT_METRIC_TAG_NAMESPACE = ebpf::kNamespace .MetricKey().to_string();
84
- const string DEFAULT_METRIC_TAG_POD_NAME = ebpf::kPodName .MetricKey().to_string();
85
- const string DEFAULT_METRIC_TAG_POD_UID = ebpf::kPodUid .MetricKey().to_string();
86
- const string DEFAULT_METRIC_TAG_CONTAINER_NAME = ebpf::kContainerName .MetricKey().to_string();
87
- const string DEFAULT_METRIC_TAG_CONTAINER_IP = ebpf::kContainerIp .MetricKey().to_string();
88
- const string DEFAULT_METRIC_TAG_IMAGE_NAME = ebpf::kImageName .MetricKey().to_string();
89
-
90
- // //////////////////////// TRACE ////////////////////////
91
- const std::string DEFAULT_TRACE_TAG_K8S_NAMESPACE = ebpf::kNamespace .SpanKey().to_string();
92
- const std::string DEFAULT_TRACE_TAG_K8S_PEER_NAMESPACE = ebpf::kPeerNamespace .SpanKey().to_string();
93
- const std::string DEFAULT_TRACE_TAG_K8S_POD_NAME = ebpf::kPodName .SpanKey().to_string();
94
- const std::string DEFAULT_TRACE_TAG_K8S_PEER_POD_NAME = ebpf::kPeerPodName .SpanKey().to_string();
95
- const std::string DEFAULT_TRACE_TAG_K8S_POD_UID = ebpf::kPodUid .SpanKey().to_string();
96
- const std::string DEFAULT_TRACE_TAG_K8S_POD_IP = ebpf::kPodIp .SpanKey().to_string();
97
- const std::string DEFAULT_TRACE_TAG_K8S_PEER_POD_IP = ebpf::kPeerPodIp .SpanKey().to_string();
98
- const std::string DEFAULT_TRACE_TAG_K8S_WORKLOAD_KIND = ebpf::kWorkloadKind .SpanKey().to_string();
99
- const std::string DEFAULT_TRACE_TAG_K8S_PEER_WORKLOAD_KIND = ebpf::kPeerWorkloadKind .SpanKey().to_string();
100
- const std::string DEFAULT_TRACE_TAG_K8S_WORKLOAD_NAME = ebpf::kWorkloadName .SpanKey().to_string();
101
- const std::string DEFAULT_TRACE_TAG_K8S_PEER_WORKLOAD_NAME = ebpf::kPeerWorkloadName .SpanKey().to_string();
102
- const std::string DEFAULT_TRACE_TAG_K8S_SERVICE_NAME = ebpf::kServiceName .SpanKey().to_string();
103
- const std::string DEFAULT_TRACE_TAG_K8S_PEER_SERVICE_NAME = ebpf::kPeerServiceName .SpanKey().to_string();
104
- const std::string DEFAULT_TRACE_TAG_HOST_NAME = ebpf::kHostName .SpanKey().to_string();
105
- const std::string DEFAULT_TRACE_TAG_HOST_IP = ebpf::kHostIp .SpanKey().to_string();
106
- const std::string DEFAULT_TRACE_TAG_PROCESS_PID = ebpf::kProcessId .SpanKey().to_string();
107
- const std::string DEFAULT_TRACE_TAG_CONTAINER_NAME = ebpf::kContainerName .SpanKey().to_string();
108
- const std::string DEFAULT_TRACE_TAG_CONTAINER_ID = ebpf::kContainerId .SpanKey().to_string();
109
- const std::string DEFAULT_TRACE_TAG_IMAGE_NAME = ebpf::kImageName .SpanKey().to_string();
110
-
111
-
112
82
} // namespace logtail
0 commit comments