djoos-cookbooks / newrelic

Development repository for the newrelic cookbook
https://supermarket.chef.io/cookbooks/newrelic
MIT License
143 stars 245 forks source link

No way to set custom_attributes in newrelic-infra.yml #331

Closed acondrat closed 6 years ago

acondrat commented 6 years ago

Hi,

According to https://docs.newrelic.com/docs/infrastructure/new-relic-infrastructure/configuration/infrastructure-config-file-template-newrelic-infrayml, New Relic Infrastructure agent supports optional custom attributes to facilitate filtering, grouping, etc

# Option : Optional custom attributes
# Use optional key-value pairs to build filter sets, group your results, 
# annotate your Insights data, etc.
#
#custom_attributes:
#  environment: production
#  service: login service
#  team: alpha-team

Seems like there is no way to insert them with the current template.