feat: Add golden and summary metrics for four GCP entity types#3027
Merged
vlopeziglesias merged 6 commits intoJul 10, 2026
Conversation
Adds golden_metrics.yml, summary_metrics.yml, and dashboard.json for GCP Cloud Tasks Queue. Updates definition.yml with goldenTags (gcp.projectId, gcp.region — queues are region-scoped). Golden metrics: queue depth (max), task attempt count (sum), task attempt delay (average, ms). Dashboard adds 3 additional widgets faceted by response code, API method, and max delay.
entityBot
previously requested changes
Jul 7, 2026
entityBot
left a comment
Collaborator
There was a problem hiding this comment.
beep boop bop.
I have found some errors processing these changes:
- No valid, approved ARB ticket found in the PR description. This PR has to be reviewed by the API Review Board, please include a link to the ticket of that review in the PR description. Check how to start the process here or reach
#api-review-boardchannel in case of doubts
- Add goldenTags (gcp.projectId, gcp.region) - Add Metric-based queries to golden_metrics.yml alongside legacy Sample entries - Update summary_metrics.yml formatting - Add dashboard.json with 4 widgets (duration + task_completed_count)
entityBot
previously requested changes
Jul 8, 2026
entityBot
left a comment
Collaborator
There was a problem hiding this comment.
beep boop bop.
I have found some errors processing these changes:
- No valid, approved ARB ticket found in the PR description. This PR has to be reviewed by the API Review Board, please include a link to the ticket of that review in the PR description. Check how to start the process here or reach
#api-review-boardchannel in case of doubts
Closed
3 tasks
Adds golden metrics, summary metrics, dashboard and goldenTags for Firebase Storage. Uses the Firebase-specific metric gcp.firebasestorage.rules.evaluation_count (GA, DELTA) — the sole firebasestorage.googleapis.com metric on gcs_bucket resource. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
entityBot
previously requested changes
Jul 8, 2026
entityBot
left a comment
Collaborator
There was a problem hiding this comment.
beep boop bop.
I have found some errors processing these changes:
- No valid, approved ARB ticket found in the PR description. This PR has to be reviewed by the API Review Board, please include a link to the ticket of that review in the PR description. Check how to start the process here or reach
#api-review-boardchannel in case of doubts
Adds golden_metrics.yml, summary_metrics.yml, and dashboard.json for GCP Interconnect Attachment. All 11 GA metrics under interconnect.googleapis.com/network/attachment/* are covered: 5 golden (Capacity, Ingress/Egress Bytes and Packets) plus dropped packets and by-L3-protocol variants on the dashboard. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
entityBot
previously requested changes
Jul 8, 2026
entityBot
left a comment
Collaborator
There was a problem hiding this comment.
beep boop bop.
I have found some errors processing these changes:
- No valid, approved ARB ticket found in the PR description. This PR has to be reviewed by the API Review Board, please include a link to the ticket of that review in the PR description. Check how to start the process here or reach
#api-review-boardchannel in case of doubts
Drops dashboard.json from: - entity-types/infra-gcpaiplatformpipelinejob/ - entity-types/infra-gcpcloudtasksqueue/ - entity-types/infra-gcpfirebasestoragebucket/ - entity-types/infra-gcpinterconnectattachment/ Dashboard definitions are now maintained solely in infra-summary templates; entity-definitions no longer carries per-entity dashboards. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
entityBot
requested changes
Jul 9, 2026
entityBot
left a comment
Collaborator
There was a problem hiding this comment.
beep boop bop.
I have found some errors processing these changes:
- No valid, approved ARB ticket found in the PR description. This PR has to be reviewed by the API Review Board, please include a link to the ticket of that review in the PR description. Check how to start the process here or reach
#api-review-boardchannel in case of doubts
…er` -> `gcp` The Metric-based query blocks in golden_metrics.yml were keyed under `provider:` — this file used `gcp:` consistently before but the two new entries drifted. Rename both to `gcp:` to match the sibling GCP entity convention (single query key per data source). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
entityBot
approved these changes
Jul 9, 2026
cnivyanthsai
approved these changes
Jul 9, 2026
vlopeziglesias
approved these changes
Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ARB ticket
https://new-relic.atlassian.net/browse/NR-567584
Relevant information
Batch PR adding
golden_metrics.yml+summary_metrics.yml(anddefinition.ymlupdates where applicable) for four GCP entity types. Per-entity dashboards are intentionally omitted — dashboards are maintained ininfra-summarytemplates going forward, so nodashboard.jsonfile is included for any of these entities.Entities included
cloudtasks.googleapis.com/Queue(MRTcloud_tasks_queue)aiplatform.googleapis.com/PipelineJob(MRTaiplatform.googleapis.com/PipelineJob)firebasestorage.googleapis.com/Bucket(MRTfirebasestorage_bucket)compute.googleapis.com/InterconnectAttachment(MRTinterconnect_attachment)Files changed per entity
Each entity folder adds:
golden_metrics.yml— key performance metricssummary_metrics.yml—providerAccountNametag,gcp.projectIdtag, plus references to golden metricsTwo entities also update
definition.yml:goldenTags: [gcp.projectId, gcp.region](regional resource)goldenTags: [gcp.projectId]No dashboards
dashboard.jsonis not included for any of these entities. Theinfra-summaryNerdlet templates provide the interactive dashboards for these entity types, so per-entity dashboards inentity-definitionsare redundant.Metric sources
All metrics sourced from official GCP Cloud Monitoring docs:
https://cloud.google.com/monitoring/api/metrics_gcp_c#gcp-cloudtaskshttps://cloud.google.com/monitoring/api/metrics_gcp_a_b#gcp-aiplatformhttps://cloud.google.com/monitoring/api/metrics_gcp_d_h#gcp-firebasestoragehttps://cloud.google.com/monitoring/api/metrics_gcp_i_o#gcp-interconnectAll referenced metrics are GA or BETA. NR attribute naming follows the standard gcp-polling-v2 convention (
gcp.<service>.<metric_path>).Companion PRs
Entity synthesis, UI definitions, and dashboards live in companion PRs:
Checklist