Method: NewRelic::Agent::Configuration::Manager#parsed_labels
- Defined in:
- lib/new_relic/agent/configuration/manager.rb
permalink #parsed_labels ⇒ Object
285 286 287 288 289 290 291 292 293 294 295 |
# File 'lib/new_relic/agent/configuration/manager.rb', line 285 def parsed_labels case NewRelic::Agent.config[:labels] when String parse_labels_from_string else parse_labels_from_dictionary end rescue => e NewRelic::Agent.logger.error(PARSING_LABELS_FAILURE, e) NewRelic::EMPTY_ARRAY end |