Skip to content

Commit d034f67

Browse files
ebenshkovayur
andauthored
ROX-31635: Remove observatorium metrics federation (#2484)
* ROX-31635: Add design proposal for removing observatorium metrics federation.: * ROX-31635: Remove Observatorium metrics federation * ROX-31635: Fix pre-commit and remove excessive doc files (#2646) --------- Co-authored-by: Yury Kovalev <8366110+kovayur@users.noreply.github.com>
1 parent db3d572 commit d034f67

12 files changed

Lines changed: 5 additions & 471 deletions

.design-proposals/remove-dead-code-sentry.md

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

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,6 @@ reports/
8989
.envrc
9090
e2e-report.json
9191
cover.profile
92+
93+
# AI local configuration
94+
.claude/settings.local.json

.secrets.baseline

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -244,15 +244,6 @@
244244
"line_number": 1
245245
}
246246
],
247-
"internal/central/pkg/api/public/api/openapi.yaml": [
248-
{
249-
"type": "Base64 High Entropy String",
250-
"filename": "internal/central/pkg/api/public/api/openapi.yaml",
251-
"hashed_secret": "5b455797b93de5b6a19633ba22127c8a610f5c1b",
252-
"is_verified": false,
253-
"line_number": 1343
254-
}
255-
],
256247
"internal/central/pkg/services/centralservice_moq.go": [
257248
{
258249
"type": "Secret Keyword",
@@ -382,5 +373,5 @@
382373
}
383374
]
384375
},
385-
"generated_at": "2026-01-26T16:35:51Z"
376+
"generated_at": "2026-03-27T17:26:09Z"
386377
}

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,8 +612,6 @@ secrets/touch:
612612
secrets/ocm-service.token \
613613
secrets/rhsso-logs.clientId \
614614
secrets/rhsso-logs.clientSecret \
615-
secrets/rhsso-metrics.clientId \
616-
secrets/rhsso-metrics.clientSecret \
617615
secrets/redhatsso-service.clientId \
618616
secrets/redhatsso-service.clientSecret
619617
.PHONY: secrets/touch

internal/central/pkg/api/public/api/openapi.yaml

Lines changed: 0 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -723,27 +723,6 @@ components:
723723
supported_instance_types:
724724
- standard
725725
- eval
726-
MetricsRangeQueryExample:
727-
value:
728-
metric:
729-
__name__: central_server_brokertopicmetrics_bytes_in_total
730-
central_operator_io_cluster: central-service
731-
topic: __consumer_offsets
732-
values:
733-
- timestamp: 1611670230000
734-
value: 84154
735-
- timestamp: 1611670260000
736-
value: 85888
737-
- timestamp: 1611670290000
738-
value: 87622
739-
MetricsInstantQueryExample:
740-
value:
741-
metric:
742-
__name__: central_server_brokertopicmetrics_bytes_in_total
743-
central_operator_io_cluster: central-service
744-
topic: __consumer_offsets
745-
timestamp: 1611670230000
746-
value: 84154
747726
CloudAccountsList:
748727
value:
749728
cloudAccounts:
@@ -1176,51 +1155,6 @@ components:
11761155
required:
11771156
- enabled
11781157
- supported_instance_types
1179-
MetricsRangeQueryList:
1180-
allOf:
1181-
- $ref: '#/components/schemas/MetricsRangeQueryList_allOf'
1182-
RangeQuery:
1183-
properties:
1184-
metric:
1185-
additionalProperties:
1186-
type: string
1187-
type: object
1188-
values:
1189-
items:
1190-
$ref: '#/components/schemas/values'
1191-
type: array
1192-
type: object
1193-
values:
1194-
properties:
1195-
timestamp:
1196-
format: int64
1197-
type: integer
1198-
value:
1199-
format: double
1200-
type: number
1201-
required:
1202-
- value
1203-
type: object
1204-
MetricsInstantQueryList:
1205-
allOf:
1206-
- $ref: '#/components/schemas/MetricsInstantQueryList_allOf'
1207-
MetricsFederationResult:
1208-
type: string
1209-
InstantQuery:
1210-
properties:
1211-
metric:
1212-
additionalProperties:
1213-
type: string
1214-
type: object
1215-
timestamp:
1216-
format: int64
1217-
type: integer
1218-
value:
1219-
format: double
1220-
type: number
1221-
required:
1222-
- value
1223-
type: object
12241158
CloudAccountsList:
12251159
example:
12261160
cloudAccounts:
@@ -1339,30 +1273,6 @@ components:
13391273
allOf:
13401274
- $ref: '#/components/schemas/CloudRegion'
13411275
type: array
1342-
MetricsRangeQueryList_allOf:
1343-
example: '{"kind":"MetricsRangeQueryList","id":"1nbpS70HduPe4l0to8jSg2CLzfu","items":{"$ref":"#/components/examples/MetricsRangeQueryExample"}}'
1344-
properties:
1345-
kind:
1346-
type: string
1347-
id:
1348-
type: string
1349-
items:
1350-
items:
1351-
allOf:
1352-
- $ref: '#/components/schemas/RangeQuery'
1353-
type: array
1354-
MetricsInstantQueryList_allOf:
1355-
example: '{"kind":"MetricsInstantQueryList","id":"1nbpS70HduPe4l0to8jSg2CLzfu","items":{"$ref":"#/components/examples/MetricsInstantQueryExample"}}'
1356-
properties:
1357-
kind:
1358-
type: string
1359-
id:
1360-
type: string
1361-
items:
1362-
items:
1363-
allOf:
1364-
- $ref: '#/components/schemas/InstantQuery'
1365-
type: array
13661276
securitySchemes:
13671277
Bearer:
13681278
bearerFormat: JWT

internal/central/pkg/api/public/model_instant_query.go

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

internal/central/pkg/api/public/model_metrics_instant_query_list.go

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

internal/central/pkg/api/public/model_metrics_range_query_list.go

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

0 commit comments

Comments
 (0)