Skip to content

[DOCS-13132] Expand GCP metric discrepancy guide to cover missing metrics#36309

Open
buraizu wants to merge 3 commits into
masterfrom
docs13132/gcp-missing-metric-troubleshooting
Open

[DOCS-13132] Expand GCP metric discrepancy guide to cover missing metrics#36309
buraizu wants to merge 3 commits into
masterfrom
docs13132/gcp-missing-metric-troubleshooting

Conversation

@buraizu
Copy link
Copy Markdown
Contributor

@buraizu buraizu commented Apr 27, 2026

What does this PR do? What is the motivation?

Fixes DOCS-13132

Expands the Google Cloud metric discrepancy guide (/integrations/guide/gcp-metric-discrepancy/) to cover both missing metrics and value mismatches. The guide previously covered only alignment-function value mismatches, but escalated GCP support tickets analyzed under DOCS-13132 showed missing-metric confusion was the larger cluster.

Changes:

  • Replaces the single ## Metric discrepancies section with two symptom-scoped sections: ## Metric is missing in Datadog (new) and ## Metric values do not match the Google Cloud console (existing alignment-functions walkthrough, with original step 1 promoted to a shared section and remaining steps renumbered).
  • Adds ## Confirm the metric exists in Google Cloud as a shared first step covering Datadog's gcp.SERVICE.METRIC naming convention and metric kinds.
  • Broadens the front-matter title and description. Slug is unchanged.

The new missing-metric flow walks customers through five self-serve checks: Datadog Metric Summary search (with .delta reminder for CUMULATIVE metrics), custom/log-based metric scope, IAM and project access, metric collection filters, and Google Cloud emission verification.

Follow-up work is tracked in DOCS-14212: a metric-availability callout on the getting-started page, and SME-led per-service "Not collected" scaffolding for high-traffic GCP service tile pages.

Merge instructions

Merge readiness:

  • Ready for merge

Additional notes

@buraizu buraizu requested a review from a team as a code owner April 27, 2026 18:50
@buraizu buraizu added the WORK IN PROGRESS No review needed, it's a wip ;) label Apr 27, 2026
@github-actions github-actions Bot added the Guide Content impacting a guide label Apr 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Preview links (active after the build_preview check completes)

Modified Files


1. Search for the metric on the [Datadog Metric Summary page][7]. If the metric kind is `CUMULATIVE`, also search for the `.delta` variant (for example, `gcp.gke.container.restart_count.delta`). See [Cumulative metrics][8] for background.

2. Confirm the metric is part of the standard Google Cloud Monitoring catalog. The Google Cloud integration does not automatically import [custom metrics][9] or [log-based metrics][10].
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this 100% true; we see Prometheus and user-defined logging metrics get collected in practice. We disable Prometheus metrics by default for new integrations, but we still collect them for many customers. I'd have to do more digging to understand if we collect the other types of custom metrics listed on that page

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for flagging, I did a bit of digging myself and your concern is legimitate:

Proposing this softer wording for step 2:

Confirm the metric is part of the Google Cloud metric catalog. Some custom metric and log-based metric types are not automatically imported by the integration. If your metric is user-defined or comes from a non-standard source, check the Google Cloud integration page for the current collection behavior, and contact Datadog support if you're unsure.

This drops the absolute claim, keeps the actionable catalog check, and routes uncertainty to support.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we could just say that we don't support Anthos metrics (which are prefixed with kubernetes.io/anthos/ in GCP's naming), but leave out the bit about saying we don't support custom metrics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Guide Content impacting a guide WORK IN PROGRESS No review needed, it's a wip ;)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants