Loading repository data…
Loading repository data…
bigfito / repository
This repository contains a series of bash shell scripts meant to facilitate the setup process of the Datadog integration with Google Cloud Platform in order to start receiving metrics and logs from the available GCP services.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This repository contains a series of bash shell scripts meant to facilitate the setup process of the Datadog integration with Google Cloud Platform in order to start receiving metrics and logs from the available GCP services. The scripts were developed following the directions from the official Datadog documentation for the Datadog-GCP integration that can be found at https://docs.datadoghq.com/integrations/google_cloud_platform/?tab=dataflowmethodrecommended#log-collection.
The shell scripts make calls to different commands from the Google Cloud SDK, especially "gcloud" commands in order to enable and create the required resources. For more information regarding the Google Cloud SDK you can visit the following link: https://cloud.google.com/sdk/docs/install.
For enbaling the Datadog-GCP integration you must execute the following scripts:
The main idea is creating a new dedicated GCP project (03-OBSERVABILITY/PRJ-DD-INTEGRATION-01) to host all related resources that will be needed for the Datadog-GCP integration to work properly. If you have a resource architecture based in "Shared VPC", it is not necessary to create your observability project based on that, again, the main purpose is to reduce complexity. At the end, the resources created in the GCP datadog integration project will be monitoring the whole structure of projects in your organization. A recommended hierarchy of resources in GCP is shown below:
By default the Datadog-GCP integration DOES NOT configure your GCP environment to forward LOGS to the Datadog intake service. This is something you will have to do on your own. But no worries, you can still get assistance by executing our last bash shell script. For enbaling the Datadog-GCP log forwarding to the Datadog intake service you must execute the following script:
If you feel my scripts were helpful to you, I will appreciate you STAR my repository, PIN it to your profile, save it in your browser's bookmarks and also tell your friends and colleagues about it. Spread the word!. I am open to suggestions as well, so in case you come up with a good idea to improve my scripts, feel free to drop me a message. Enjoy my repo!.