Skip to content

Commit

Permalink
Added OWNERS metadata by default in prometheus scapes
Browse files Browse the repository at this point in the history
  • Loading branch information
pierresouchay committed Jan 24, 2020
1 parent 357b3cf commit 4756b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/metrics.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# EXCLUDE_SERVICES: comma-separated services regexps to exclude (example: lbl7.*,netsvc-probe.*,consul-probed.*)
# PROMETHEUS_EXPORTED_SERVICE_META: comma-separated list of meta to export into metrics of service
<%
service_metas_to_export = (ENV['PROMETHEUS_EXPORTED_SERVICE_META'] || 'version,os,criteo_flavor,node_group').split(',')
service_metas_to_export = (ENV['PROMETHEUS_EXPORTED_SERVICE_META'] || 'OWNERS,version,os,criteo_flavor,node_group').split(',')

service_tag_filter = ENV['SERVICES_TAG_FILTER'] || nil
instance_must_tag = ENV['INSTANCE_MUST_TAG'] || service_tag_filter
Expand Down

0 comments on commit 4756b5f

Please sign in to comment.