Last active
March 20, 2017 17:49
-
-
Save jamesbeedy/bf28aed5c849828f2fc4e53e84479023 to your computer and use it in GitHub Desktop.
newrelic-plugin-agent template for elasticsearch integration charm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %YAML 1.2 | |
| --- | |
| Application: | |
| license_key: {{license_key}} | |
| wake_interval: 60 | |
| elasticsearch: | |
| name: {{cluster_name}} | |
| host: localhost | |
| port: 9200 | |
| scheme: http | |
| Daemon: | |
| user: root | |
| pidfile: /var/run/newrelic/newrelic-plugin-agent.pid | |
| Logging: | |
| formatters: | |
| verbose: | |
| format: '%(levelname) -10s %(asctime)s %(process)-6d %(processName) -15s %(threadName)-10s %(name) -45s %(funcName) -25s L%(lineno)-6d: %(message)s' | |
| handlers: | |
| file: | |
| class : logging.handlers.RotatingFileHandler | |
| formatter: verbose | |
| filename: /var/log/newrelic/newrelic-plugin-agent.log | |
| maxBytes: 10485760 | |
| backupCount: 3 | |
| loggers: | |
| newrelic_plugin_agent: | |
| level: INFO | |
| propagate: True | |
| handlers: [console, file] | |
| requests: | |
| level: ERROR | |
| propagate: True | |
| handlers: [console, file] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment