Skip to content

Commit 37c237c

Browse files
authored
chore: Clean up collection rules store (#4341)
This was added to store Alloy config related to Profile collection. These settings were only stored there for a very brief moment and no main commit or released version of the Profiles Drilldown app every relied on it. This clears up everything and will leave no trace. This is okay as the feature was marked as experimental
1 parent 21b137e commit 37c237c

File tree

17 files changed

+5
-5356
lines changed

17 files changed

+5
-5356
lines changed

api/gen/proto/go/settings/v1/collection_rules.pb.go

Lines changed: 0 additions & 839 deletions
This file was deleted.

api/gen/proto/go/settings/v1/collection_rules_vtproto.pb.go

Lines changed: 0 additions & 2870 deletions
This file was deleted.

api/gen/proto/go/settings/v1/settingsv1connect/collection_rules.connect.go

Lines changed: 0 additions & 197 deletions
This file was deleted.

api/gen/proto/go/settings/v1/settingsv1connect/collection_rules.connect.mux.go

Lines changed: 0 additions & 42 deletions
This file was deleted.

api/openapiv2/gen/phlare.swagger.json

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@
4141
{
4242
"name": "SegmentWriterService"
4343
},
44-
{
45-
"name": "CollectionRulesService"
46-
},
4744
{
4845
"name": "RecordingRulesService"
4946
},
@@ -938,9 +935,6 @@
938935
}
939936
}
940937
},
941-
"v1DeleteCollectionRuleResponse": {
942-
"type": "object"
943-
},
944938
"v1DeleteRecordingRuleResponse": {
945939
"type": "object"
946940
},
@@ -967,14 +961,6 @@
967961
}
968962
}
969963
},
970-
"v1EBPFSettings": {
971-
"type": "object",
972-
"properties": {
973-
"enabled": {
974-
"type": "boolean"
975-
}
976-
}
977-
},
978964
"v1FeatureFlag": {
979965
"type": "object",
980966
"properties": {
@@ -1148,41 +1134,6 @@
11481134
}
11491135
}
11501136
},
1151-
"v1GetCollectionRuleResponse": {
1152-
"type": "object",
1153-
"properties": {
1154-
"name": {
1155-
"type": "string"
1156-
},
1157-
"services": {
1158-
"type": "array",
1159-
"items": {
1160-
"type": "object",
1161-
"$ref": "#/definitions/v1ServiceData"
1162-
}
1163-
},
1164-
"ebpf": {
1165-
"$ref": "#/definitions/v1EBPFSettings"
1166-
},
1167-
"java": {
1168-
"$ref": "#/definitions/v1JavaSettings"
1169-
},
1170-
"lastUpdated": {
1171-
"type": "string",
1172-
"format": "int64",
1173-
"title": "milliseconds unix time of last update"
1174-
},
1175-
"generation": {
1176-
"type": "string",
1177-
"format": "int64",
1178-
"title": "incremented on each update"
1179-
},
1180-
"configuration": {
1181-
"type": "string",
1182-
"title": "generated configuration block in alloy syntax"
1183-
}
1184-
}
1185-
},
11861137
"v1GetCommitResponse": {
11871138
"type": "object",
11881139
"properties": {
@@ -1394,14 +1345,6 @@
13941345
}
13951346
}
13961347
},
1397-
"v1JavaSettings": {
1398-
"type": "object",
1399-
"properties": {
1400-
"enabled": {
1401-
"type": "boolean"
1402-
}
1403-
}
1404-
},
14051348
"v1LabelNamesQuery": {
14061349
"type": "object"
14071350
},
@@ -1514,23 +1457,6 @@
15141457
}
15151458
}
15161459
},
1517-
"v1ListCollectionRulesResponse": {
1518-
"type": "object",
1519-
"properties": {
1520-
"rules": {
1521-
"type": "array",
1522-
"items": {
1523-
"type": "object",
1524-
"$ref": "#/definitions/v1GetCollectionRuleResponse"
1525-
}
1526-
},
1527-
"generation": {
1528-
"type": "string",
1529-
"format": "int64",
1530-
"title": "incremented on each update"
1531-
}
1532-
}
1533-
},
15341460
"v1ListRecordingRulesResponse": {
15351461
"type": "object",
15361462
"properties": {
@@ -2307,17 +2233,6 @@
23072233
}
23082234
}
23092235
},
2310-
"v1ServiceData": {
2311-
"type": "object",
2312-
"properties": {
2313-
"name": {
2314-
"type": "string"
2315-
},
2316-
"enabled": {
2317-
"type": "boolean"
2318-
}
2319-
}
2320-
},
23212236
"v1SetSettingsResponse": {
23222237
"type": "object",
23232238
"properties": {

0 commit comments

Comments
 (0)