Unverified Commit e402e563 by Kevin Falcone Committed by GitHub

Merge pull request #4640 from edx/jibsheet/xqueue-cloudwatch

Allow us to set a custom cloudwatch dictionary for the metrics
parents 2069929b b1cbcbba
- XQueue
- Expose CLOUDWATCH_QUEUE_COUNT_METRIC which is defined XQueue's settings.py for further dictionary structure
- nginx: - nginx:
- remove nginx_cfg - an internal variable that was really only used for the edx-release nginx site, which served version.{html,json} off of a nonstandard port. The file it served was never populated. - remove nginx_cfg - an internal variable that was really only used for the edx-release nginx site, which served version.{html,json} off of a nonstandard port. The file it served was never populated.
......
...@@ -70,6 +70,11 @@ XQUEUE_CONSUMER_DELAY: 10 ...@@ -70,6 +70,11 @@ XQUEUE_CONSUMER_DELAY: 10
INSIGHTS_CSRF_COOKIE_SECURE: false INSIGHTS_CSRF_COOKIE_SECURE: false
# This dictionary is defined in XQueue's settings.py
# If you want to set up cloudwatch metrics/alarms this allows
# you a custom setting.
XQUEUE_CLOUDWATCH_QUEUE_COUNT_METRICS: !!null
# This block of config is dropped into /edx/etc/xqueue.yml # This block of config is dropped into /edx/etc/xqueue.yml
# and is read in by xqueue.XQUEUE_SETTINGS # and is read in by xqueue.XQUEUE_SETTINGS
XQUEUE_CONFIG: XQUEUE_CONFIG:
...@@ -110,6 +115,8 @@ XQUEUE_CONFIG: ...@@ -110,6 +115,8 @@ XQUEUE_CONFIG:
CONN_MAX_AGE: "{{ XQUEUE_MYSQL_CONN_MAX_AGE }}" CONN_MAX_AGE: "{{ XQUEUE_MYSQL_CONN_MAX_AGE }}"
OPTIONS: "{{ XQUEUE_MYSQL_OPTIONS }}" OPTIONS: "{{ XQUEUE_MYSQL_OPTIONS }}"
NEWRELIC_LICENSE_KEY: "{{ NEWRELIC_LICENSE_KEY | default('') }}" NEWRELIC_LICENSE_KEY: "{{ NEWRELIC_LICENSE_KEY | default('') }}"
CLOUDWATCH_QUEUE_COUNT_METRICS: "{{ XQUEUE_CLOUDWATCH_QUEUE_COUNT_METRICS }}"
XQUEUE_VERSION: "master" XQUEUE_VERSION: "master"
XQUEUE_GIT_IDENTITY: !!null XQUEUE_GIT_IDENTITY: !!null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment