Enable self-monitoring for the GCP Monitor deployment
In the Google Cloud console, go to Cloud Functions.
Select dynatrace-gcp-monitor.
Select Edit.
Under Runtime, build and connection settings, change the value of the SELF_MONITORING_ENABLED runtime environment variable to true.
Select Next, and then select Deploy to apply the new settings.
Self-monitoring metrics
The Dynatrace GCP Monitor deployment reports self-monitoring metrics as Google Cloud metrics. See below the list of self-monitoring metrics for metric/log ingest.
Self-monitoring metrics for the GKE deployment
Metric ingestion
Metric
Description
MINT lines ingested
The number of data points (metrics with dimensions) ingested by Dynatrace Metrics API v2 in a given interval.
Dynatrace connectivity
The connectivity status (1 = OK) between the monitoring function and Dynatrace. Connectivity can be broken due to an incorrect Dynatrace URL, an incorrect API token, or network connectivity issues.
The number of failed requests to connect to Dynatrace
Too old records
The number of log records that were invalid because the timestamp was too old
Too long content size
The number of records with content exceeding the maximum content length
Parsing errors
The number of errors that occurred while parsing logs
Processing time
The total amount of time for processing logs
Sending time
The total amount of time for sending logs
Sent logs entries
The number of log entries sent to Dynatrace
Log ingest payload size
The size of the log payload sent to Dynatrace (in KB)
Self-monitoring metrics for the GCP Monitor deployment
Metric ingestion
Metric
Description
MINT lines ingested
The number of data points (metrics with dimensions) ingested by Dynatrace Metrics API v2 in a given interval.
Dynatrace connectivity
The connectivity status (1 = OK) between the monitoring function and Dynatrace. Connectivity can be broken due to an incorrect Dynatrace URL, an incorrect API token, or network connectivity issues.