Skip to content

Commit

Permalink
revise comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Dara-Abrams committed Dec 24, 2024
1 parent a98ca81 commit 63023e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions meters/stripe/stripe.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ func buildMetadataFromDimensions(cfgDims, extraDims meters.Dimensions) map[strin
}

func (m *StripeMeterProvider) GetValue(user meters.MeterUser, meterName string, startTime time.Time, endTime time.Time, dims meters.Dimensions) (float64, bool) {
// TODO: Implement GetValue using Stripe's v2 metering API
// This will be implemented once Stripe provides an API endpoint for querying meter usage
log.Error().Msg("GetValue not yet implemented for Stripe v2 metering API")
// TODO: Implement GetValue using https://docs.stripe.com/api/billing/meter-event-summary
// Not needed
log.Error().Msg("GetValue not yet implemented")
return 0, false
}

Expand Down

0 comments on commit 63023e2

Please sign in to comment.