about summary refs log tree commit diff
path: root/main/civisibility/constants/runtime.go
diff options
context:
space:
mode:
Diffstat (limited to 'main/civisibility/constants/runtime.go')
-rw-r--r--main/civisibility/constants/runtime.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/civisibility/constants/runtime.go b/main/civisibility/constants/runtime.go
new file mode 100644
index 0000000..15257ef
--- /dev/null
+++ b/main/civisibility/constants/runtime.go
@@ -0,0 +1,16 @@
+// Unless explicitly stated otherwise all files in this repository are licensed
+// under the Apache License Version 2.0.
+// This product includes software developed at Datadog (https://www.datadoghq.com/).
+// Copyright 2024 Datadog, Inc.
+
+package constants
+
+const (
+	// RuntimeName indicates the name of the runtime compiler.
+	// This constant is used to tag traces with the name of the runtime compiler being used (e.g., Go, JVM).
+	RuntimeName = "runtime.name"
+
+	// RuntimeVersion indicates the version of the runtime compiler.
+	// This constant is used to tag traces with the specific version of the runtime compiler being used.
+	RuntimeVersion = "runtime.version"
+)