Cinnamon 2.2 migration guide

This is a guide for migrating from Cinnamon 2.1 to Cinnamon 2.2.

StatsD reporter and DogStatsD

The StatsD reporter now supports DogStatsD tags for metric metadata, such as actor, actor system, and dispatcher. There was previously only support for application-wide tags to be added to all metrics. See the DogStatsD configuration for enabling DogStatsD tags.

Any previous settings for DogStatsD tags should be updated to the new settings. For example, if an app tag was added with something similar to:

cinnamon.chmetrics {
  reporters += statsd-reporter

  statsd-reporter {
    prefix = ""
    tags {
      app = "$APPLICATION_ID$"
    }
  }
}

This should become the following:

cinnamon.chmetrics {
  reporters += statsd-reporter

  statsd-reporter {
    dogstatsd {
      enabled = on
      tags {
        app = "$APPLICATION_ID$"
      }
    }
  }
}

Note that when DogStatsD is enabled, a separate prefix setting under dogstatsd.prefix is used, which is empty by default. Also note that the DogStatsD agent will add a host tag automatically.