File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/jaeger-ui/src/utils Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { Span } from '../types/trace';
33interface IDigmaSpanData {
44 id : string ;
55 name : string ;
6+ serviceName : string ;
67 instrumentationLibrary ?: string ;
78 function ?: string ;
89 namespace ?: string ;
@@ -11,7 +12,7 @@ interface IDigmaSpanData {
1112}
1213
1314const getSpanDataForDigma = ( span : Span ) : IDigmaSpanData => {
14- const tagsToGet : Omit < IDigmaSpanData , 'id' | 'name' > = {
15+ const tagsToGet : Omit < IDigmaSpanData , 'id' | 'name' | 'serviceName' > = {
1516 instrumentationLibrary : 'otel.library.name' ,
1617 function : 'code.function' ,
1718 namespace : 'code.namespace' ,
@@ -28,6 +29,7 @@ const getSpanDataForDigma = (span: Span): IDigmaSpanData => {
2829 ...tagsValues ,
2930 id : span . spanID ,
3031 name : span . operationName ,
32+ serviceName : span . process . serviceName ,
3133 } ;
3234} ;
3335
You can’t perform that action at this time.
0 commit comments