Custom values in Google Cloud Logging / Metrics

3/14/2016

Can Google Cloud Logging / Metrics support custom values? E.g. can a log line contain a key-value pair, such as its value is included in metrics as value, as opposed to having to print the key multiple times?

-- Ivan Balashov
google-cloud-logging
google-kubernetes-engine

1 Answer

3/20/2016

Currently this is not supported. Logs-based metrics are "gauge" metrics (counters) that increment once each time a log entry matches the filter.

-- Marc Unangst
Source: StackOverflow