Explorar o código

Fix metrics id for `nat gateway ingress price per GB` in collector (#3588)

Ishaan Mittal hai 4 meses
pai
achega
bdb45bcb93
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/collector-source/pkg/collector/metricsquerier.go

+ 1 - 1
modules/collector-source/pkg/collector/metricsquerier.go

@@ -481,7 +481,7 @@ func (c *collectorMetricsQuerier) QueryNetInternetServiceIngressGiB(start, end t
 }
 
 func (c *collectorMetricsQuerier) QueryNetNatGatewayIngressPricePerGiB(start, end time.Time) *source.Future[source.NetNatGatewayPricePerGiBResult] {
-	return queryCollector(c, start, end, metric.NetNatGatewayPricePerGiBID, source.DecodeNetNatGatewayPricePerGiBResult)
+	return queryCollector(c, start, end, metric.NetNatGatewayIngressPricePerGiBID, source.DecodeNetNatGatewayPricePerGiBResult)
 }
 
 func (c *collectorMetricsQuerier) QueryNetNatGatewayIngressGiB(start, end time.Time) *source.Future[source.NetNatGatewayIngressGiBResult] {