circonus 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/bin/composite_builder.rb +6 -1
  2. metadata +1 -1
@@ -60,6 +60,11 @@ OptionParser.new { |opts|
60
60
  end
61
61
  opts.on( '-t','--tags TAGLIST',"Use comma separated list of tags for searching (takes the union)" ) do |t|
62
62
  options[:tags] += t.split(/,/).sort.uniq
63
+ # these batch of tags provide information for other automation tools to keep the formulas up to date:
64
+ options[:tags] << "source:composite-builder"
65
+ options[:tags] << "type:#{options[:type]}"
66
+ options[:tags] << "datatype:#{options[:datatype]}"
67
+ options[:tags] << "consolidation:#{options[:consolidation]}"
63
68
  end
64
69
  }.parse!
65
70
 
@@ -119,7 +124,7 @@ metrics.each do |metric|
119
124
  "notes"=>nil,
120
125
  "period"=>60,
121
126
  "status"=>"active",
122
- "tags"=>options[:tags],
127
+ "tags"=>(options[:tags] + ["metric:#{metric}"]),
123
128
  "target"=>"composite",
124
129
  "timeout"=>10,
125
130
  "type"=>"composite"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: circonus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: