Releases: amco/librato-iOS
Releases · amco/librato-iOS
1.2.3
1.2.2
Merge pull request #50 from amco/release_1.2.2 Update cocoapods config
1.1.0
- Updated to AFNetworking 2.0.
1.0.3
Minor update to remove call to trackDefaultMetrics
when initializing a new Librato
instance.
1.0.2
- Removed the
init
override inLibratoMetric
to fix an issue where offline cached metrics could not be rehydrated
1.0.1
- Fixed an incorrect method signature with
groupNamed:context:
that was configured to return anNSArray
instead of beingvoid
. - Fixed a misspelling in the README
1.0.0
Version 1.0.0
This is a major revision which means APIs will break. It is not backwards compatible with 0.1.x releases. Code from 0.1.x branches will no longer be supported. Please update!
Demo Project
- Added descriptions and examples on how to use various features to demo project
Metrics
- Added
metricNamed:valued:
toLibratoMetric
(0e10150) - Added
metricNamed:valued:source:measureTime:
toLibratoMetric
(0e10150) - Fixed
metricTime
not being set when passed in viametricNamed:valued:options:
(0e10150) - Changed metrics to extend Mantle instead of
NSObject
(e418ff7) - Changed
isValidValue
from instance to class method - Changed maximum metric age from one year to fifteen minutes (Librato Metric rules) (53fbe0b)
- Added automatic collection of device, OS, app and Librato library metrics when a
Librato
instance is initialized (5ce4d5d) - Fixed
LibratoClient.metrics
to report queued metrics instead of blankNSDictionary
- Fixed queue firing
removeAllObjects
whenclear
ing instead of overwriting with newNSMutableDictonary
so dictionary children arerelease
d. (704c245)
Collections
- Added
LibratoMetricCollection
which contains metrics based on type and handles conversion of metrics into structured JSON (704c245)
Initialization
- Added
NSAsserts
in Librato, LibratoMetric and LibratoGaugeMetricinit
to disable use in favor of their custom initialization methods (ebc4dcd)
Submission
- Added
add:
interface which is preferred oversubmit:
- Changed manual submission to an optional command as queues are automatically submitted on a configurable interval (fda9cba)
- Added global block handlers for submission success and failure (e3e095c)
- Changed queue to clear just before firing submission instead of after successful submission to prevent accidental double submission (5ce4d5d)
- Note: Queue is not cached before clearing, would could be useful if submission fails to re-queue items
Offline
- Added prevention of metrics submission if device is offline (704c245)
- Added automatic queue submission when internet becomes available
- Added storage of queue in
NSKeyedArchiver
when app is backgrounded - Added queue hydration via
NSKeyedArchiver
when app is brought to foreground
Group metrics
- Added
groupNamed:valued:
to convert anNSDictionary
into an array ofLibratoMetric
s (fa4a9a5) - Added
groupNamed:context:
to automatically prefix any metrics created in the context with the group name
Notification subscription
- Added ability of
Librato
to subscribe to notifications withlistenForNotification:context:
and perform givencontext
when notification is caught (4a7b5a9) - Added queue specific to Librato subscriptions for
dispatch_async
ing execution of assignedcontext
User agent
- Added custom user agent setting available in
Librato
(24e9edb) - Removed
agentIdentifier
fromLibratoClient
Descriptions
- Added custom descriptions for Librato, LibratoClient, LibratoMetric, LibratoMetricCollection and LibratoQueue to aid debugging (704c245)