This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/skywalking-banyandb-java-client.git


The following commit(s) were added to refs/heads/main by this push:
     new a4b0057  Add the span_id_tag_name field to trace schema (#99)
a4b0057 is described below

commit a4b0057a08a384a205bf20281866c0bdf670345c
Author: Huang Youliang <[email protected]>
AuthorDate: Tue Sep 30 08:41:12 2025 +0800

    Add the span_id_tag_name field to trace schema (#99)
---
 README.md                                          | 1 +
 src/main/proto/banyandb/v1/banyandb-database.proto | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/README.md b/README.md
index a884345..1922d14 100644
--- a/README.md
+++ b/README.md
@@ -351,6 +351,7 @@ BanyandbDatabase.Trace trace = 
BanyandbDatabase.Trace.newBuilder()
     // Mandatory identifiers
     .setTraceIdTagName("trace_id")
     .setTimestampTagName("start_time")
+    .setSpanIdTagName("span_id")
     .build();
 client.define(trace);
 ```
diff --git a/src/main/proto/banyandb/v1/banyandb-database.proto 
b/src/main/proto/banyandb/v1/banyandb-database.proto
index 5c65eff..c37031e 100644
--- a/src/main/proto/banyandb/v1/banyandb-database.proto
+++ b/src/main/proto/banyandb/v1/banyandb-database.proto
@@ -244,6 +244,8 @@ message Trace {
   string timestamp_tag_name = 4 [(validate.rules).string.min_len = 1];
   // updated_at indicates when the trace resource is updated.
   google.protobuf.Timestamp updated_at = 5;
+  // span_id_tag_name is the name of the tag that stores the span ID.
+  string span_id_tag_name = 6 [(validate.rules).string.min_len = 1];
 }
 
 message StreamRegistryServiceCreateRequest {

Reply via email to