aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/proto/spark
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2022-09-19 18:57:02 +0100
committerLuck <git@lucko.me>2022-09-19 20:09:01 +0100
commit7079484d428321c9b3db09394577efda4d591a4e (patch)
tree1e751e3c832d6df00c7e50357be44b85a2fd5df9 /spark-common/src/main/proto/spark
parent7ef9b6281135ce0a24f3c14c2255d9a2c2eca969 (diff)
downloadspark-7079484d428321c9b3db09394577efda4d591a4e.tar.gz
spark-7079484d428321c9b3db09394577efda4d591a4e.tar.bz2
spark-7079484d428321c9b3db09394577efda4d591a4e.zip
Provide extra metadata about sources in sampler data
Diffstat (limited to 'spark-common/src/main/proto/spark')
-rw-r--r--spark-common/src/main/proto/spark/spark_sampler.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/spark-common/src/main/proto/spark/spark_sampler.proto b/spark-common/src/main/proto/spark/spark_sampler.proto
index f670ddf..e4c2481 100644
--- a/spark-common/src/main/proto/spark/spark_sampler.proto
+++ b/spark-common/src/main/proto/spark/spark_sampler.proto
@@ -28,6 +28,7 @@ message SamplerMetadata {
map<string, string> server_configurations = 10;
int64 end_time = 11;
int32 number_of_ticks = 12;
+ map<string, SourceMetadata> sources = 13;
message ThreadDumper {
Type type = 1;
@@ -58,6 +59,11 @@ message SamplerMetadata {
AS_ONE = 2;
}
}
+
+ message SourceMetadata {
+ string name = 1;
+ string version = 2;
+ }
}
message ThreadNode {