mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 17:07:15 +02:00
Add metrics for the new Check API
New metrics are necessary because the new API no longer wraps an EPP flow, therefore does not get metrics for free. Metrics include - An EventMetric for processing time - An IncrementableMetric for request count, with availability (available/reserved/registered) and pricing (standard/premium) fields ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199708592
This commit is contained in:
parent
1c71487e5d
commit
658f31933c
7 changed files with 391 additions and 30 deletions
|
@ -71,6 +71,11 @@ public class WhiteboxModule {
|
|||
return EppMetric.builderForRequest(requestLogId, clock);
|
||||
}
|
||||
|
||||
@Provides
|
||||
static CheckApiMetric.Builder provideCheckApiMetricBuilder(Clock clock) {
|
||||
return CheckApiMetric.builder(clock);
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Named(QUEUE_BIGQUERY_STREAMING_METRICS)
|
||||
static Queue provideBigQueryStreamingMetricsQueue() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue