Stackdriver + Resiliency4j - 指标 custom.googleapis.com/resilience4j/circuitbreaker/calls 的值类型必须为 DOUBLE,但为 DISTRIBUTION

Stackdriver + Resiliency4j - Value type for metric custom.googleapis.com/resilience4j/circuitbreaker/calls must be DOUBLE, but is DISTRIBUTION

提问人:pradz_stack 提问时间:4/24/2023 更新时间:4/24/2023 访问量:26

问:

我正在使用 resiliency4j 和 1.6.1 版和 java 版 11。Stackdriver 指标失败,并出现 followig 异常

INVALID_ARGUMENT: One or more TimeSeries could not be written: Value type for metric custom.googleapis.com/resilience4j/circuitbreaker/calls must be DOUBLE, but is DISTRIBUTION.

我发现这个线程 https://github.com/resilience4j/resilience4j/issues/942。但此问题已关闭并针对 1.5.0 发布。但我们仍然有这个问题。

google-cloud-platform stackdriver resilience4j

评论


答: 暂无答案