Stackdriver

The stackdriver adapter enables Istio to deliver log and metric data to the Stackdriver logging and monitoring backend.

Params

Configuration format for the stackdriver adapter.

FieldTypeDescription
endpointstring

Endpoint URL to send stackdriver data - leave empty to use the StackDriver SDK’s default value (monitoring.googleapis.com).

projectIdstring

GCP Project to attach metrics to.

pushIntervalgoogle.protobuf.Duration

This adapter batches the data it sends to Stackdriver; we will push to stackdriver every push_interval. If no value is provided we default to once per minute.

appCredentialsbool (oneof)

Use Google’s Application Default Credentials to authorize calls made by the StackDriver SDK.

See Google’s documentation.

apiKeystring (oneof)

The API Key to be used for auth.

serviceAccountPathstring (oneof)

The path to a Google service account credential file, relative to the Mixer. E.g. /etc/opt/mixer/gcp-serviceaccount-creds.json or ./testdata/my-test-account-creds.json.

metricInfomap<string, Params.MetricInfo>

A map of Istio metric name to Stackdriver metric info.

logInfomap<string, Params.LogInfo>

A map of Istio LogEntry name to Stackdriver log info.

Params.LogInfo

Describes how to represent an Istio Log in Stackdriver.

FieldTypeDescription