尝试将自定义指标从我的代码推送到 Google Stackdriver 时出现以下错误。我正在使用 Java SDK。
Caused by: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: Unknown metric: custom.googleapis.com/jvm/heap/used (cannot auto-create custom metric descriptors without a Stackdriver account). at io.grpc.Status.asRuntimeException(Status.java:526)