Skip to content

Releases: amco/librato-iOS

1.2.3

10 Jul 22:16
98b0357
Compare
Choose a tag to compare
  • Upgrade to AFNetworking ~> 3.2
  • Upgrade to Mantle ~> 2.1

1.2.2

07 Jul 20:22
9de8dbe
Compare
Choose a tag to compare
Merge pull request #50 from amco/release_1.2.2

Update cocoapods config

1.1.0

22 Aug 20:48
Compare
Choose a tag to compare

1.0.3

01 Apr 18:18
Compare
Choose a tag to compare

Minor update to remove call to trackDefaultMetrics when initializing a new Librato instance.

1.0.2

18 Dec 02:02
Compare
Choose a tag to compare
  • Removed the init override in LibratoMetric to fix an issue where offline cached metrics could not be rehydrated

1.0.1

04 Dec 00:51
Compare
Choose a tag to compare
  • Fixed an incorrect method signature with groupNamed:context: that was configured to return an NSArray instead of being void.
  • Fixed a misspelling in the README

1.0.0

24 Oct 18:41
Compare
Choose a tag to compare

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: to LibratoMetric (0e10150)
  • Added metricNamed:valued:source:measureTime: to LibratoMetric (0e10150)
  • Fixed metricTime not being set when passed in via metricNamed: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 blank NSDictionary
  • Fixed queue firing removeAllObjects when clearing instead of overwriting with new NSMutableDictonary so dictionary children are released. (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 LibratoGaugeMetric init to disable use in favor of their custom initialization methods (ebc4dcd)

Submission

  • Added add: interface which is preferred over submit:
  • 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 an NSDictionary into an array of LibratoMetrics (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 with listenForNotification:context: and perform given context when notification is caught (4a7b5a9)
  • Added queue specific to Librato subscriptions for dispatch_asyncing execution of assigned context

User agent

  • Added custom user agent setting available in Librato (24e9edb)
  • Removed agentIdentifier from LibratoClient

Descriptions

  • Added custom descriptions for Librato, LibratoClient, LibratoMetric, LibratoMetricCollection and LibratoQueue to aid debugging (704c245)

Miscellaneous

  • Removed numerous NSLogs. Sorry about the extra noise. (474fe9a, 7433254)