Skip to content

Commit

Permalink
Merge branch 'develop' into 2990-stuck-files-notification
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimpe authored Sep 20, 2024
2 parents 65e9a4f + db12f08 commit d2740e4
Show file tree
Hide file tree
Showing 29 changed files with 7,314 additions and 34 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/dev-issue-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ assignees: ''

**Description:**
_Provide a brief background and justification for this issue_
_OFA & UX team: Please include bullets capturing the value to STT end users, related guidance, and/or talking points that should be communicated to STTs in release notes_


**Acceptance Criteria:**
Expand Down
2 changes: 1 addition & 1 deletion docs/How-We-Work/team-meetings.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ A typical sprint schedule is described in the table below.
- External factors outside of the author spending time building the ticket (ie need external team's input, see how a feature develops, etc.)
- Ex. Waiting on X ticket to finish the scope of said unrefined ticket, problem found / unsure how big it is and knows other work will unearth it
- If we know the ACs but not the tasks, then its unrefined
- Release Notes summary is empty or incomplete as applicable, to be provided by UX/Product by default.
- Refined: Ticket is complete and is ready to be executed.
- Refined & Ready to Go (Next Sprint)
- "Earmarked" work for the upcoming sprint.
- **Labelling:**
- WIP
- Author knows the 5 W's or darn near (90%)
- Drafted ticket – either still on the author the finish their part or a short team conversation is needed.
- Administrative in nature
- Ex. Stub, ticket that doesn't feel there's enough to warrant an introduction
Expand Down
1 change: 1 addition & 0 deletions tdrs-backend/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ cerberus = "==1.3.4"
xlsxwriter = "==3.1.9"
openpyxl = "==3.1.2"
sendgrid = "==6.10.0"
django_prometheus = "==2.3.1"
sentry-sdk = "==2.11.0"

[requires]
Expand Down
20 changes: 14 additions & 6 deletions tdrs-backend/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 71 additions & 1 deletion tdrs-backend/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,71 @@ services:
volumes:
- elastic_data:/usr/share/elasticsearch/data

grafana:
restart: always
image: grafana/grafana:11.2.0
ports:
- 9400:9400
volumes:
- ./plg/grafana/datasources.yml:/etc/grafana/provisioning/datasources/default.yml
- ./plg/grafana/dashboards/provider.yml:/etc/grafana/provisioning/dashboards/default.yml
- ./plg/grafana/dashboards:/var/lib/grafana/provisioning/dashboards
- ./plg/grafana/custom.ini:/etc/grafana/grafana.ini
- grafana_data:/var/lib/grafana

prometheus:
restart: always
image: prom/prometheus:v2.54.1
ports:
- 9090:9090
volumes:
- ./plg/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- ./plg/prometheus/django_rules.yml:/etc/prometheus/prom_django_rules.yml
- prometheus_data:/prometheus
depends_on:
- web
- celery-exporter
- postgres-exporter

promtail:
restart: always
image: grafana/promtail:3.0.1
ports:
- 9080:9080
volumes:
- ./plg/promtail/config.yml:/etc/promtail/config.yml
- ~/tdp-logs/nginx:/var/log/nginx
- logs:/logs
command: -config.file=/etc/promtail/config.yml

loki:
restart: always
image: grafana/loki:3.0.1
ports:
- 3100:3100
volumes:
- loki_data:/loki

celery-exporter:
restart: always
image: ovalmoney/celery-exporter:1.5.1
ports:
- 9540:9540
environment:
- CELERY_EXPORTER_BROKER_URL=redis://redis-server:6379/0
depends_on:
- web

postgres-exporter:
restart: always
image: prometheuscommunity/postgres-exporter:v0.15.0
ports:
- 9187:9187
environment:
- DATA_SOURCE_NAME=postgres://tdpuser:something_secure@postgres:5432/tdrs_test?sslmode=disable
depends_on:
- web

web:
restart: always
environment:
Expand Down Expand Up @@ -97,7 +162,7 @@ services:
- DJANGO_DEBUG
- SENDGRID_API_KEY
- GENERATE_TRAILER_ERRORS=True
- BYPASS_KIBANA_AUTH
- BYPASS_OFA_AUTH
- ELASTICSEARCH_REINDEX_THREAD_COUNT
- ELASTICSEARCH_REINDEX_CHUNK_SIZE
- ELASTICSEARCH_REINDEX_REQUEST_TIMEOUT
Expand All @@ -111,6 +176,7 @@ services:
- ELASTICSEARCH_LOG_INDEX_SLOW_LEVEL
volumes:
- .:/tdpapp
- logs:/logs
image: tdp
build: .
command: >
Expand Down Expand Up @@ -141,6 +207,10 @@ volumes:
localstack_data:
postgres_data:
elastic_data:
prometheus_data:
grafana_data:
loki_data:
logs:


networks:
Expand Down
Loading

0 comments on commit d2740e4

Please sign in to comment.