Skip to content

Commit d1e99c3

Browse files
committed
styling traces
1 parent 90fb58d commit d1e99c3

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/views/codeAnalytics/Traces/tracePanel.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class TracePanel {
4141
const traceId = traceIds[0];
4242
html =`
4343
<body>
44-
<h1>Trace: ${span}</h1>
44+
<h1>Trace:</h1>
4545
<iframe style="width:100%; height:500px;"src="${jaegerAddress}/trace/${traceId}?uiEmbed=v0" title="Trace" ></iframe>
4646
</body>`;
4747

@@ -54,9 +54,7 @@ export class TracePanel {
5454

5555
const src = `${jaegerAddress}/trace/${trace1}...${trace2}?cohort=${trace1}&cohort=${trace2}&uiEmbed=v0`;
5656
html =`
57-
<body>
58-
<h1>Trace: ${span}</h1>
59-
57+
<body>
6058
<h3>Comparing: A sample ${traceIdLabels[0]} trace with a ${traceIdLabels[1]} trace</h3>
6159
<br></br>
6260
<iframe style="width:100%; height:500px;"src="${src}" title="Trace" ></iframe>

src/views/codeAnalytics/codeAnalyticsView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ class CodeAnalyticsViewProvider implements vscode.WebviewViewProvider,vscode.Dis
212212
};
213213
const panel = vscode.window.createWebviewPanel(
214214
'traceData', // Identifies the type of the webview. Used internally
215-
`Trace`, // Title of the panel displayed to the user
215+
`${e.span}`, // Title of the panel displayed to the user
216216
vscode.ViewColumn.One,
217217
options // Webview options. More on these later.
218218
);

0 commit comments

Comments
 (0)