Releases: DFE-Digital/get-into-teaching-api
Release 1466
Context :
Updated all terraform providers.
Review
make production_aks terraform-plan IMAGE_TAG=sha-13ba0ed - > No Changes
Release 1464
Adds a new endpoint, /api/operations/backfill_apply_candidates_from_ids
for triggering a synchronise with the Apply system for a specific Candidate ID.
See trello ticket: https://trello.com/c/xcork9SB/6409-backfill-missing-data-from-apply-into-the-crm
Release 1457
Bump Swashbuckle.AspNetCore from 6.5.0 to 6.7.0
Release 1456
Bump Microsoft.AspNetCore.DataProtection.StackExchangeRedis from 8.0.3 to 8.0.7
Release 1458
Fix issue with build pipeline - see this discussion
Release 1455
Bump xunit.runner.visualstudio from 2.8.0 to 2.8.2
Release 1449
Bump Hangfire.PostgreSql from 1.20.8 to 1.20.9
Release 1446
Bump Microsoft.EntityFrameworkCore.Tools from 7.0.18 to 7.0.20
Release 1454
Terraform Plan :
` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following
symbols:
~ update in-place
<= read (data resources)
Terraform will perform the following actions:
module.api_application.kubernetes_deployment.main will be updated in-place
~ resource "kubernetes_deployment" "main" {
id = "git-production/getintoteachingapi-production"
(1 unchanged attribute hidden)
~ spec {
(5 unchanged attributes hidden)
~ template {
~ metadata {
~ annotations = {
- "prometheus.io/path" = "/metrics"
- "prometheus.io/port" = "8080"
- "prometheus.io/scrape" = "true"
(2 unchanged elements hidden)
}
(2 unchanged attributes hidden)
}
(1 unchanged block hidden)
}
(2 unchanged blocks hidden)
}
(1 unchanged block hidden)
}
module.postgres.data.azurerm_monitor_diagnostic_categories.main[0] will be read during apply
(depends on a resource or a module with changes pending)
<= data "azurerm_monitor_diagnostic_categories" "main" {
- id = (known after apply)
- log_category_groups = (known after apply)
- log_category_types = (known after apply)
- logs = (known after apply)
- metrics = (known after apply)
- resource_id = "/subscriptions/3c033a0c-7a1c-4653-93cb-0f2a9f57a391/resourceGroups/s189p01-gitapi-pd-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/s189p01-gitapi-pd-pg"
}
module.postgres.azurerm_postgresql_flexible_server.main[0] will be updated in-place
~ resource "azurerm_postgresql_flexible_server" "main" {
id = "/subscriptions/3c033a0c-7a1c-4653-93cb-0f2a9f57a391/resourceGroups/s189p01-gitapi-pd-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/s189p01-gitapi-pd-pg"
name = "s189p01-gitapi-pd-pg"
tags = {
"Environment" = "Prod"
"Product" = "Get into teaching website"
"Service Offering" = ""
}
(16 unchanged attributes hidden)
- maintenance_window {
- day_of_week = 0
- start_hour = 3
- start_minute = 0
}
(2 unchanged blocks hidden)
}
Plan: 0 to add, 2 to change, 0 to destroy.
`
Release 1452
Context
Scrape custom metrics that are exported for gitapi,
which can then be used in dashboards and alerting
https://trello.com/c/Zlih3dRZ/1889-scrape-custom-metrics
Changes proposed in this pull request
Add enable_prometheus_monitoring to application deployments and set for each env
Guidance to review
make development_aks terraform-plan IMAGE_TAG=x
This has been deployed manually to dev & test envs and metrics are available in test prometheus (look for metrics starting with api)
Some metrics (e.g. hangfire) are possibly not being exported, and that may need follow up with the dev team.