-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sadhbh a/gcp guide - WIP #25708
base: master
Are you sure you want to change the base?
Sadhbh a/gcp guide - WIP #25708
Conversation
Preview links (active after the
|
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a first pass with a few comments, let me know if you want to review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This image is going to change relatively soon with the Resource Change input modification cc @sriramkraman
Co-authored-by: Dan T <[email protected]>
Co-authored-by: Dan T <[email protected]>
Co-authored-by: Dan T <[email protected]>
Co-authored-by: Dan T <[email protected]>
- If your organization restricts identities by domain, you must add Datadog's customer identity `C0147pk0i` as an allowed value in your policy. | ||
{{% /site-region %}} | ||
|
||
- Ensure that any projects being monitored are **not** configured as [scoping projects][42] that pull in metrics from multiple other projects. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to say to customers we don't support scoping projects as we are rolling out this change. How do we change this framing so it doesn't sound like they (customers) have to take some action to confirm (which is the current status quo) to the future model of scoping projects simply aren't supported. (i.e that we will only pull metrics from the project itself and not any metric scopes)
cc @dtru-ddog
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would something like this work?
- Datadog does not support scoping projects that pull in metrics from multiple other projects. Only metrics from the project itself will be ingested
[Google Cloud Billing API][12] | ||
: Enables accurate billing for API calls. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dtru-ddog what do we use this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to have a customer to enable that so that Google can bill the customer for the API calls we'll be making
|
||
## Setup | ||
|
||
Integrate Datadog with [Google Cloud][4] using [service account impersonation][5] and project discovery. This enables Datadog to automatically discover and monitor new projects as they are created within the assigned scope, providing seamless monitoring as your Google Cloud environment grows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the organization here but it's essentially a copy of the setup instructions in Google Cloud setup page. That's not useful as an opinionated Getting Started guide. Consider instead telling customers how they can give Datadog broad access to their entire Google Cloud environment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in e66f3b8, but I don't have a sandbox organization to confirm the steps. Is there one available for testing?
|
||
## Metric collection | ||
|
||
The Google Cloud integration collects [**all GA Google Cloud metrics**][17] from your projects through the Google Cloud Monitoring API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it turns out we do collect all Beta metrics that are available. Do we still want to say we collect "GA" metrics?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does "The Google Cloud integration collects all available Google Cloud metrics from your projects through the Google Cloud Monitoring API." sound to you?
The [Integrations page][26] provides a full listing of the available sub-integrations for Google Cloud. | ||
Many of these integrations are installed by default when Datadog recognizes data being ingested in from your Google Cloud account. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't call them "sub-" integrations. They are integrations for Google Cloud services. I would recommend saying we have 35+ integrations for Google Cloud services including BigQuery, ... (and link to blogs)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in e66f3b8, thanks in advance for any additional feedback
Forward logs from your Google Cloud services to Datadog using [Google Cloud Dataflow][21] and the [Datadog template][22]. This method provides both compression and batching of events before they are forwarded to Datadog. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start each section with a brief "why". Let me know if I can help point to feature blogs that speak to the value proposition.
https://www.datadoghq.com/blog/stream-logs-datadog-dataflow-template/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A link to the blog would be helpful @sriramkraman
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in e66f3b8, thanks in advance for any additional feedback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll be changing this later this week, may want an updated snapshot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Second pass of feedback
2) Set up a [Service Account][2] in any of your Google Cloud projects | ||
3) Review these Google Cloud Prerequisites: | ||
|
||
{{% site-region region="us,us3,us5,eu,ap1" %}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dope
|
||
## Setup | ||
|
||
For simplicity of setup, and to ensure there are no gaps in your monitoring, integrate Datadog with [Google Cloud][4] using [service account impersonation][5] at the organization or folder level. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: sentence seems a bit wordy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in 0493d54
|
||
The Google Cloud integration collects all available [Google Cloud metrics][17] from your projects through the Google Cloud Monitoring API. | ||
|
||
{{% collapse-content title="Click here for a sample of the Google Cloud metrics Datadog collects" level="h5" %}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to have this table be centralized since we have the same content on the README md and I can see opportunities for this to get out of sync
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, added a shortcode in bb8b1cf that we can use to render this table on multiple pages
|
||
### Limit metric collection filters | ||
|
||
Limit the GCE/GKE instances and Cloud Run revisions that are pulled into Datadog by entering tags in the **Limit Metric Collection Filters** text boxes under the **General** tab of the Google Cloud Integration tile. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sriramkraman per our recent Metric Collection configuration convo we may want to update this, also this has been moved to the Metric Collection tab
3) Review these Google Cloud Prerequisites: | ||
|
||
{{% site-region region="us,us3,us5,eu,ap1" %}} | ||
- If your organization restricts identities by domain, you must add Datadog's customer identity `C0147pk0i` as an allowed value in your policy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can we update these dashes to be bullets?
{{% site-region region="us,us3,us5,eu,ap1" %}} | ||
- If your organization restricts identities by domain, you must add Datadog's customer identity `C0147pk0i` as an allowed value in your policy. | ||
{{% /site-region %}} | ||
- Datadog does not support [scoping projects][42] that pull in metrics from multiple other projects. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a "prerequisite". We should instead note it as a warning.
|
||
For the most comprehensive level of monitoring in your Google Cloud environment, integrate Datadog with [Google Cloud][4] using [service account impersonation][5] at the organization or folder level. | ||
|
||
After reviewing the above [Prerequisites][3], follow these step-by-step instructions to set up the Google Cloud integration: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this?
- Compute Viewer | ||
- Monitoring Viewer | ||
- Cloud Asset Viewer | ||
- Browser |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes true but why?
**Note**: The `Browser` role is only required in the default project of the service account. Other projects require only the other listed roles. | ||
{{% /collapse-content %}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is "default" project here? (Would a customer know?)
What does this PR do? What is the motivation?
Merge instructions
Additional notes