flatspan.proto 821 B

1234567891011121314151617181920212223242526272829
  1. syntax = "proto3";
  2. package pkg.pb;
  3. import "opentelemetry/proto/common/v1/common.proto";
  4. import "opentelemetry/proto/resource/v1/resource.proto";
  5. import "opentelemetry/proto/trace/v1/trace.proto";
  6. option csharp_namespace = "OpenTelemetry.Proto.Trace.V1";
  7. option java_multiple_files = true;
  8. option java_package = "io.opentelemetry.proto.trace.v1";
  9. option java_outer_classname = "TraceProto";
  10. option go_package = "git.cestong.com.cn/cecf/tracestreamcreator/pkg/pb";
  11. message FlatSpan {
  12. opentelemetry.proto.trace.v1.Span span = 1;
  13. opentelemetry.proto.common.v1.InstrumentationScope scope = 2;
  14. opentelemetry.proto.resource.v1.Resource resource = 3;
  15. }
  16. message FlatSpanNode {
  17. FlatSpan flat_span = 1;
  18. repeated FlatSpan children = 2;
  19. }
  20. message FlatTrace {
  21. bytes trace_id = 1;
  22. repeated FlatSpan flat_spans = 2;
  23. }