Parcourir la source

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

Ishaan Mittal il y a 2 mois
Parent
commit
bdb45bcb93
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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] {
 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] {
 func (c *collectorMetricsQuerier) QueryNetNatGatewayIngressGiB(start, end time.Time) *source.Future[source.NetNatGatewayIngressGiBResult] {