diff --git a/pkg/pipeline/integration/alibabacloud/pipeline.go b/pkg/pipeline/integration/alibabacloud/pipeline.go index c9809a2..32f373c 100644 --- a/pkg/pipeline/integration/alibabacloud/pipeline.go +++ b/pkg/pipeline/integration/alibabacloud/pipeline.go @@ -410,8 +410,8 @@ func (p *Pipeline) collectOneMetric(traceId string, ams *alibabacloud.AliyunMetr // 遍历每种聚合方式 (一般只有一个, 比如 average) for _, aggregation := range conf.metricConf.Aggregations { convertedName := fmt.Sprintf("%s_%s_%s_%s", prefix, // - strings.ReplaceAll(conf.namespaceMetrics.Name, "-", "_"), // - conf.metricConf.ConvertedMetricName, aggregation) // + strings.ReplaceAll(conf.namespaceMetrics.Namespace, "-", "_"), // + conf.metricConf.ConvertedMetricName, aggregation) // for _, aliyunMetric := range aliyunMetrics { aggregationValue, ok := aliyunMetric.Value[aggregation] if !ok {