To collect the metrics from the GCP services like compute, storage, pub-sub etc, we need to make following changes to gcp.yaml
# Credential file (credentials.json) is provided by customer which is the key downloaded # for the service account with "MONITOR VIEWER" permissions to collect gcp metrics. kubectl create secret generic kfuse-sd-secret --from-file=./credentials.json
# Update the typePrefixes to collect the metrics from relevant services of GCP # as described here https://github.com/prometheus-community/stackdriver_exporter kfuse-cloud-exporter: prometheus-stackdriver-exporter: enabled: true stackdriver: enabled: false httpTimeout: 30s maxRetries: 3 ## gcp project id projectId: "YOUR PROJECT ID" ## create this secret with access credentials to gcp account serviceAccountSecret: kfuse-sd-secret metrics: typePrefixes: "compute.googleapis.com"