agentplat▸control runs deployments agents metering + agent
← runs

run_b1440c5840779b6f

SUCCEEDED retrigger →
jira-triage v1 · jira-triage-k8s · owner ingest:jira-new-ticket (api) · via jira-new-ticket · cloud-engineering

input

{
  "request": "Triage Jira ticket MZCLD-3656: Investigate why azure_0din_actual_daily_actual_view is empty \u2014 0DIN Azure export delivers no data",
  "references": [
    "https://mozilla-hub.atlassian.net/browse/MZCLD-3656"
  ],
  "sourceContext": {
    "issue": "MZCLD-3656"
  }
}

summary

MZCLD-3656 tracks a broken dedicated Azure cost pipeline for the 0DIN subscription: `azure_0din_actual_daily_actual_view` returns 0 rows / NULL total_cost even though ~$2,555 of 0DIN spend (since 2024-04, ~$380–560/mo) is visible in the EA-wide `mozilla_all_actual_view`. The ticket is in Backlog with no comments yet. The description already contains a strong root-cause hypothesis (likely a container/export path mismatch on the Azure cost-management/export side) and correctly notes there is no current data-loss impact because MZCLD-3399's azure_uncovered fallback in the EA-wide pull is masking the gap. Triage should confirm the export config, verify the Cloud Function is running/succeeding, and check the container path mismatch called out in the ticket, then prioritize as a data-quality/tech-debt fix rather than urgent incident.

findings

  • The dedicated 0DIN Azure pipeline (provisioned in variables_all_the_vars.tf, commit #6171) — including the container transfer, load/lookup tables, BigQuery view, and daily Cloud Function azure-0din-actual-daily-actual-function — is non-functional: the resulting view has 0 rows and NULL total_cost.
  • 0DIN Azure spend clearly exists and is being captured elsewhere — via the EA-wide pull — confirming the source data exists but isn't landing in the dedicated pipeline's bucket/tables.
  • The ticket author already identifies a plausible root cause: the Azure cost export may not be configured, or is misconfigured, on the safinops/cost-management side, and flags a possible container path/prefix mismatch (azure_0din_daily_actual vs azure_0din_actual) as worth checking.
  • There is no current business-impact/undercount because a separate ticket's fallback logic is compensating, meaning this is a latent/masked defect rather than an active data-loss incident.
  • Ticket has zero comments and is sitting in Backlog status — no prior investigation or ownership has been recorded in Jira.

proposed actions

none

tool calls

[
  {
    "capability": "jira.issue.read",
    "args": {
      "key": "MZCLD-3656"
    },
    "result": {
      "key": "MZCLD-3656",
      "summary": "Investigate why azure_0din_actual_daily_actual_view is empty \u2014 0DIN Azure export delivers no data",
      "status": "Backlog",
      "description_text": "The dedicated 0DIN Azure cost pipeline was provisioned in variables_all_the_vars.tf (commit #6171 \u2014 actual + amortized entries, app_code: devsandbox), which stands up the container transfer, load/lookup tables, BigQuery view, and daily Cloud Function (azure-0din-actual-daily-actual-function). However the resulting view returns zero rows: azure_0din_actual_daily_actual_view: 0 rows, total_cost NULL Meanwhile 0DIN spend clearly exists in the EA-wide pull \u2014 $2,554.99 since 2024-04 in mozilla_all_actual_view (subscription Mozilla 0DIN, ~$380\u2013560/month). So the export/transfer or the load step is not delivering data into the dedicated pipeline. Impact: No current undercount \u2014 MZCLD-3399's azure_uncovered fallback captures 0DIN from the EA pull. But the dedicated pipeline built in #6171 is non-functional, and its intended per-sub attribution isn't happening. The catch-all is masking a broken export. Likely root cause: Azure cost export not configured (or misconfigured container path azure_0din_daily_actual/azure_0din_actual/) on the safinops/cost-management side, so nothing lands in the source bucket. Note the container path in the entry doesn't match the prefix \u2014 worth checking.",
      "comment_count": 0,
      "comments": []
    }
  },
  {
    "capability": "jira.issue.read",
    "args": {
      "key": "MZCLD-3399"
    },
    "result": {
      "error": "read blocked by policy: resource not in run subject",
      "args": {
        "key": "MZCLD-3399"
      }
    },
    "blocked": true
  }
]

usage

{
  "model": "claude-sonnet-5",
  "input_tokens": 5854,
  "output_tokens": 2264,
  "estimated_cost_usd": 0.051522000000000005
}

approvals

[]

log

launched k8s job run-run-b1440c5840779b6f in ns/mzcld-demo-dev image=us-docker.pkg.dev/moz-fx-mzcld-demo-prod/mzcld-demo-prod/agentplat:latest
runner started
live reasoning model=claude-sonnet-5
POLICY: blocked read jira.issue.read args={'key': 'MZCLD-3399'} not in run subject