Skip to content

Commit 9d7071b

Browse files
authored
Fix LTTng zoom/filtering by fixing default graph configurations (#79)
* Fix LTTng zoom/filtering by fixing default graph configurations .json serializations. These broken with new 1.0 SDK changes
1 parent 12065f9 commit 9d7071b

File tree

4 files changed

+22
-88
lines changed

4 files changed

+22
-88
lines changed

LTTngDataExtensions/LTTngDataExtensions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
5-
<Version>1.2</Version>
5+
<Version>1.2.1</Version>
66
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
77
<Authors>Microsoft</Authors>
88
<Company>Microsoft Corp.</Company>

LTTngDataExtensions/Resources/DiskActivityPrebuiltConfiguration.json

Lines changed: 13 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,42 +5,20 @@
55
{
66
"ChartType": 0,
77
"ColumnRoles": [
8-
{
9-
"Key": 3,
10-
"Value": {
11-
"DisplayHints": {
12-
"AggregationMode": 0,
13-
"IsVisible": true,
14-
"SortOrder": 0,
15-
"SortPriority": 7,
16-
"TextAlignment": 0,
17-
"Width": 99
18-
},
19-
"Metadata": {
20-
"Description": "Complete Time",
21-
"Guid": "9c0f7be4-90d9-4098-abcb-ad767329c65b",
22-
"Name": "Complete Time"
23-
}
24-
}
25-
},
26-
{
27-
"Key": 6,
28-
"Value": {
29-
"DisplayHints": {
30-
"AggregationMode": 0,
31-
"IsVisible": true,
32-
"SortOrder": 0,
33-
"SortPriority": 1,
34-
"TextAlignment": 1,
35-
"Width": 117
36-
},
37-
"Metadata": {
38-
"Description": "Device Id",
39-
"Guid": "ec918167-5a00-467a-abe6-f4c2e14b5c31",
40-
"Name": "Device Id"
41-
}
42-
}
8+
{
9+
"Key": 3,
10+
"Value": {
11+
"ColumnGuid": "9c0f7be4-90d9-4098-abcb-ad767329c65b",
12+
"ColumnName": "Complete Time"
4313
}
14+
},
15+
{
16+
"Key": 6,
17+
"Value": {
18+
"ColumnGuid": "ec918167-5a00-467a-abe6-f4c2e14b5c31",
19+
"ColumnName": "Device Id"
20+
}
21+
}
4422
],
4523
"Columns": [
4624
{

LTTngDataExtensions/Resources/GenericEventTablePrebuiltConfigurations.json

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,15 @@
88
{
99
"Key": 2,
1010
"Value": {
11-
"DisplayHints": {
12-
"AggregationMode": 0,
13-
"IsVisible": true,
14-
"SortOrder": 0,
15-
"SortPriority": 3,
16-
"TextAlignment": 0,
17-
"Width": 100
18-
},
19-
"Metadata": {
20-
"Description": "Timestamp",
21-
"Guid": "f74e122e-2358-4c9c-b9f7-76668b7ad957",
22-
"Name": "Timestamp"
23-
}
11+
"ColumnGuid": "f74e122e-2358-4c9c-b9f7-76668b7ad957",
12+
"ColumnName": "Timestamp"
2413
}
2514
},
2615
{
2716
"Key": 3,
2817
"Value": {
29-
"DisplayHints": {
30-
"AggregationMode": 0,
31-
"IsVisible": true,
32-
"SortOrder": 0,
33-
"SortPriority": 3,
34-
"TextAlignment": 0,
35-
"Width": 100
36-
},
37-
"Metadata": {
38-
"Description": "Timestamp",
39-
"Guid": "f74e122e-2358-4c9c-b9f7-76668b7ad957",
40-
"Name": "Timestamp"
41-
}
18+
"ColumnGuid": "f74e122e-2358-4c9c-b9f7-76668b7ad957",
19+
"ColumnName": "Timestamp"
4220
}
4321
}
4422
],

LTTngDataExtensions/Resources/SyscallTablePrebuiltConfigurations.json

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,15 @@
88
{
99
"Key": 2,
1010
"Value": {
11-
"DisplayHints": {
12-
"AggregationMode": 0,
13-
"IsVisible": true,
14-
"SortOrder": 0,
15-
"SortPriority": 3,
16-
"TextAlignment": 0,
17-
"Width": 100
18-
},
19-
"Metadata": {
20-
"Description": "Syscall Start Time",
21-
"Guid": "F8BBE984-0241-4DAC-99F4-A5D07DF0571A",
22-
"Name": "Syscall Start Time"
23-
}
11+
"ColumnGuid": "F8BBE984-0241-4DAC-99F4-A5D07DF0571A",
12+
"ColumnName": "Syscall Start Time"
2413
}
2514
},
2615
{
2716
"Key": 3,
2817
"Value": {
29-
"DisplayHints": {
30-
"AggregationMode": 0,
31-
"IsVisible": true,
32-
"SortOrder": 0,
33-
"SortPriority": 3,
34-
"TextAlignment": 0,
35-
"Width": 100
36-
},
37-
"Metadata": {
38-
"Description": "Syscall End Time",
39-
"Guid": "4F3066C1-C66E-4E94-847C-5D36626DA824",
40-
"Name": "Syscall End Time"
41-
}
18+
"ColumnGuid": "4F3066C1-C66E-4E94-847C-5D36626DA824",
19+
"ColumnName": "Syscall End Time"
4220
}
4321
}
4422
],

0 commit comments

Comments
 (0)