Adding dimensions to the putMetricData method. Dimensions should be defined in the configuration. e.g.
cloudwatch: {
	region: "ap-northeast-1",
	dimensions: [
	{
		Name: "stackname",
		Value: "something goes here"
	},
	{
		Name: "hostname",
		Value: "ia9d1xxxx"
	}]
  }