Commit a10c442
refactor: Consolidate GCPCLOUDRUNREVISION into existing GCPRUNREVISION (#3037)
The GCPCLOUDRUNREVISION entity type was added recently but duplicates
the pre-existing GCPRUNREVISION type used for GCP Cloud Run revisions.
Consolidate by:
- Deleting entity-types/infra-gcpcloudrunrevision/ entirely (definition.yml,
golden_metrics.yml, summary_metrics.yml, dashboard.json).
- Adding golden_metrics.yml and summary_metrics.yml under
entity-types/infra-gcprunrevision/, copied verbatim from the deleted
cloudrun folder (queries reference gcp.run.* metrics which are entity-
type-agnostic).
- Extending entity-types/infra-gcprunrevision/definition.yml with the
goldenTags block ([gcp.projectId, gcp.region]) that was on the deleted
definition; type key stays GCPRUNREVISION.
Downstream (gcp-polling-v2 synthesis, infra-summary templates, UI
definitions) must also point at GCPRUNREVISION instead of the removed
GCPCLOUDRUNREVISION.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e92dca0 commit a10c442
5 files changed
Lines changed: 3 additions & 197 deletions
File tree
- entity-types
- infra-gcpcloudrunrevision
- infra-gcprunrevision
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
0 commit comments