diff --git a/librato-iOS/Metrics/LibratoGaugeMetric.h b/librato-iOS/Metrics/LibratoGaugeMetric.h index 69e2271..b77afcc 100644 --- a/librato-iOS/Metrics/LibratoGaugeMetric.h +++ b/librato-iOS/Metrics/LibratoGaugeMetric.h @@ -12,7 +12,7 @@ extern NSString *const LibratoMetricMeasurementsKey; @interface LibratoGaugeMetric : LibratoMetric -@property (nonatomic, strong) NSNumber *count; +@property (nonatomic, strong) NSNumber *counter; @property (nonatomic, strong) NSNumber *sum; @property (nonatomic, strong) NSNumber *min; @property (nonatomic, strong) NSNumber *max; diff --git a/librato-iOS/Metrics/LibratoGaugeMetric.m b/librato-iOS/Metrics/LibratoGaugeMetric.m index 16ee6df..8b4605f 100644 --- a/librato-iOS/Metrics/LibratoGaugeMetric.m +++ b/librato-iOS/Metrics/LibratoGaugeMetric.m @@ -52,7 +52,7 @@ - (instancetype)initWithName:(NSString *)name valued:(NSNumber *)value options:( #pragma mark - Calculations - (void)calculateStatisticsFromMeasurements:(NSArray *)measurements { - _count = [measurements valueForKeyPath:@"@count.self"]; + _counter = [measurements valueForKeyPath:@"@count.self"]; _sum = [measurements valueForKeyPath:@"@sum.value"]; _max = [measurements valueForKeyPath:@"@max.value"]; _min = [measurements valueForKeyPath:@"@min.value"];