<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[DataOps.tech - Medium]]></title>
        <description><![CDATA[Learn more about how integrate and build data platforms - Medium]]></description>
        <link>https://medium.com/dataops-tech?source=rss----f0812bb7fef0---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>DataOps.tech - Medium</title>
            <link>https://medium.com/dataops-tech?source=rss----f0812bb7fef0---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 00:03:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/dataops-tech" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Routing alerts in Slack/PagerDuty by severity — so noise doesn’t kill you]]></title>
            <link>https://medium.com/dataops-tech/routing-alerts-in-slack-pagerduty-by-severity-so-noise-doesnt-kill-you-874060ef2996?source=rss----f0812bb7fef0---4</link>
            <guid isPermaLink="false">https://medium.com/p/874060ef2996</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[alerting]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[slack]]></category>
            <category><![CDATA[noise]]></category>
            <dc:creator><![CDATA[Vitalii Polyvianyi]]></dc:creator>
            <pubDate>Thu, 04 Sep 2025 11:04:04 GMT</pubDate>
            <atom:updated>2025-09-04T10:59:10.915Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Routing alerts in Slack/PagerDuty by severity, so noise doesn’t kill you</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SL0lRnzPv9CJqPifbnJ3pg.png" /></figure><p><strong>Goal:</strong> make sure the <strong>important stuff</strong> always reaches the right people (and triggers PagerDuty), while <strong>noise</strong> goes to quiet Slack channels and doesn’t get in the way.</p><p>1. Give alerts a <strong>clear severity model</strong> (P1–P4 / critical–warning–info).</p><p>2. Add <strong>labels</strong>: env, team, service, component, severity, runbook, dashboard</p><p>3. In Alertmanager/VMAlert, configure a <strong>routing tree</strong>:</p><ul><li>severity=critical AND env=prod → PagerDuty + the team’s Slack channel</li><li>severity=warning → Slack only (with strict grouping/repeat intervals)</li><li>env!=prod → quiet channels, no night-time notifications</li></ul><p>4. Add <strong>inhibit rules</strong> (critical suppresses warnings) and <strong>time windows</strong> (at night — only P1).</p><p>5. For SLOs — use <strong>burn rate</strong>; for jobs — set concrete thresholds for <strong>freshness/volume/errors</strong>.</p><h3>Severity model (example for Data/ETL)</h3><p><strong>Rule:</strong> it’s better to have <strong>2–3 crisp thresholds per signal</strong> than <em>one fuzzy alert that covers everything</em>.</p><h3>Signal taxonomy</h3><ul><li><strong>Freshness:</strong> “data hasn’t been updated for N minutes.”</li><li><strong>Completeness:</strong> “new record volume dropped by X% vs baseline.”</li><li><strong>Correctness:</strong> “sharp divergence in counts, dashboard drift.”</li><li><strong>Pipeline health:</strong> “DAG starvation / lost workers / retry storms.”</li><li><strong>Infra:</strong> S3/ATHENA/secrets/quotas.</li></ul><h3>Label contract (mandatory)</h3><p>Every alert rule adds:</p><ul><li>severity: critical|error|warning|info</li><li>env: prod|stage|dev</li><li>team: e.g., data-platform</li><li>service/component: airflow, dbt, ltv, adyen, etc.</li><li>runbook: URL with “what to do”</li><li>dashboard: link to the chart/panel</li></ul><p>This makes routing and on-call support predictable.</p><h3>Example rules (VMAlert/Prometheus-compatible)</h3><h3>Mart freshness (warning/critical)</h3><pre>groups:<br>- name: freshness.rules<br>  rules:<br>  - alert: DataFreshnessHigh<br>    expr: (time() - data_last_success_unixtime{dataset=&quot;ltv_transactions&quot;, env=&quot;prod&quot;}) &gt; 15*60<br>    for: 5m<br>    labels:<br>      severity: warning<br>      env: prod<br>      team: data-platform<br>      service: ltv<br>      runbook: https://runbooks.company/ltv-freshness<br>      dashboard: https://grafana.company/d/ltv<br>    annotations:<br>      summary: &quot;LTV freshness &gt; 15 minutes&quot;<br>      description: &quot;Last success was {{ $value | humanizeDuration }} ago&quot;<br><br>  - alert: DataFreshnessCritical<br>    expr: (time() - data_last_success_unixtime{dataset=&quot;ltv_transactions&quot;, env=&quot;prod&quot;}) &gt; 60*60<br>    for: 5m<br>    labels:<br>      severity: critical<br>      env: prod<br>      team: data-platform<br>      service: ltv<br>      runbook: https://runbooks.company/ltv-freshness<br>      dashboard: https://grafana.company/d/ltv<br>    annotations:<br>      summary: &quot;CRIT: LTV freshness &gt; 60 minutes&quot;<br>      description: &quot;Staleness duration: {{ $value | humanizeDuration }}&quot;</pre><h3>Airflow: failure spike</h3><pre>- name: airflow.rules<br>  rules:<br>  - alert: AirflowFailuresSpike<br>    expr: increase(airflow_task_failed_total{env=&quot;prod&quot;}[5m]) &gt; 20<br>    for: 10m<br>    labels:<br>      severity: critical<br>      env: prod<br>      team: data-platform<br>      service: airflow<br>      runbook: https://runbooks.company/airflow-failures<br>      dashboard: https://grafana.company/d/airflow<br>    annotations:<br>      summary: &quot;CRIT: Airflow task failure wave&quot;<br>      description: &quot;Over 20 tasks failed in 5m. Check workers/broker/secrets.&quot;</pre><h3>Volume drift (bronze → silver)</h3><pre>- name: volume.rules<br>  rules:<br>  - alert: VolumeDriftWarning<br>    expr: |<br>      abs( (sum(rate(bronze_ingest_rows_total{table=&quot;adyen&quot;}[30m])) <br>          - sum(rate(silver_rows_total{table=&quot;adyen&quot;}[30m])))<br>          / clamp_min(sum(rate(bronze_ingest_rows_total{table=&quot;adyen&quot;}[30m])), 1) ) &gt; 0.2<br>    for: 20m<br>    labels:<br>      severity: warning<br>      env: prod<br>      team: data-platform<br>      service: adyen<br>      runbook: https://runbooks.company/adyen-volume<br>      dashboard: https://grafana.company/d/adyen<br>    annotations:<br>      summary: &quot;Adyen volume drift &gt; 20%&quot;<br>      description: &quot;Check dedup/incremental boundaries.&quot;</pre><h3>SLO burn rate (two windowed estimates)</h3><pre>- name: slo.rules<br>  rules:<br>  - alert: LTVSLOBurnFast<br>    expr: (1 - slo_ok_ratio{service=&quot;ltv&quot;, env=&quot;prod&quot;}[5m]) / (1 - 0.99) &gt; 5<br>    for: 10m<br>    labels: {severity: critical, env: prod, team: data-platform, service: ltv}<br>    annotations:<br>      summary: &quot;CRIT: Fast SLO burn for LTV&quot;<br>      description: &quot;5m window burning error budget &gt;5×.&quot;<br><br>  - alert: LTVSLOBurnSlow<br>    expr: (1 - slo_ok_ratio{service=&quot;ltv&quot;, env=&quot;prod&quot;}[1h]) / (1 - 0.99) &gt; 1<br>    for: 30m<br>    labels: {severity: error, env: prod, team: data-platform, service: ltv}<br>    annotations:<br>      summary: &quot;Sustained SLO burn for LTV&quot;<br>      description: &quot;1h window shows ongoing burn.&quot;</pre><h3>Routing in Alertmanager: the routing tree</h3><p><strong>Idea</strong></p><ul><li>The root route groups and sets timings.</li><li>Branches by severity/env/team.</li><li><strong>critical + prod</strong> → PagerDuty <strong>and</strong> the team’s Slack; continue: true for fan-out.</li><li><strong>warning</strong> → Slack only (with strict grouping).</li><li>Night-time windows: mute everything except critical.</li></ul><p><strong>Example config</strong></p><pre>route:<br>  group_by: [&#39;alertname&#39;,&#39;service&#39;,&#39;env&#39;,&#39;team&#39;]<br>  group_wait: 30s<br>  group_interval: 5m<br>  repeat_interval: 2h<br>  receiver: slack-default<br><br>  routes:<br>  - matchers:<br>      - &#39;env=&quot;prod&quot;&#39;<br>      - &#39;severity=&quot;critical&quot;&#39;<br>    receiver: pagerduty-prod<br>    continue: true<br>    routes:<br>    - matchers: [&#39;team=&quot;data-platform&quot;&#39;]<br>      receiver: slack-data-platform<br><br>  - matchers:<br>      - &#39;severity=&quot;error&quot;&#39;<br>      - &#39;env=&quot;prod&quot;&#39;<br>    receiver: slack-prod<br>    repeat_interval: 1h<br><br>  - matchers:<br>      - &#39;severity=&quot;warning&quot;&#39;<br>    receiver: slack-warning<br>    active_time_intervals: [&#39;work-hours&#39;]<br>    repeat_interval: 4h<br><br>  - matchers:<br>      - &#39;env!=&quot;prod&quot;&#39;<br>    receiver: slack-dev<br>    active_time_intervals: [&#39;work-hours&#39;]<br>    group_wait: 1m<br>    repeat_interval: 6h<br><br>receivers:<br>- name: slack-default<br>  slack_configs:<br>  - send_resolved: true<br>    api_url: ${SLACK_WEBHOOK_DEFAULT}<br>    channel: &#39;#alerts&#39;<br>    title: &#39;[{{ .Status | toUpper }}] {{ .CommonLabels.alertname }} ({{ .CommonLabels.env }})&#39;<br>    text: &gt;<br>      *Severity:* {{ .CommonLabels.severity }}<br>      *Service:* {{ .CommonLabels.service }}<br>      *Team:* {{ .CommonLabels.team }}<br>      *Runbook:* {{ .CommonAnnotations.runbook }}<br>      *Dashboard:* {{ .CommonAnnotations.dashboard }}<br><br>- name: slack-data-platform<br>  slack_configs:<br>  - send_resolved: true<br>    api_url: ${SLACK_WEBHOOK_DATA_PLATFORM}<br>    channel: &#39;#data-platform-alerts&#39;<br><br>- name: slack-prod<br>  slack_configs:<br>  - api_url: ${SLACK_WEBHOOK_PROD}<br>    channel: &#39;#prod-alerts&#39;<br><br>- name: slack-warning<br>  slack_configs:<br>  - api_url: ${SLACK_WEBHOOK_WARNING}<br>    channel: &#39;#warnings&#39;<br><br>- name: slack-dev<br>  slack_configs:<br>  - api_url: ${SLACK_WEBHOOK_DEV}<br>    channel: &#39;#dev-alerts&#39;<br><br>- name: pagerduty-prod<br>  pagerduty_configs:<br>  - routing_key: ${PAGERDUTY_ROUTING_KEY_PROD}<br>    severity: &#39;{{ .CommonLabels.severity | default &quot;critical&quot; }}&#39;   # PD supports info|warning|error|critical<br>    send_resolved: true<br><br># Inhibit: a critical alert suppresses warnings/errors of the same alert<br>inhibit_rules:<br>- source_matchers: [&#39;severity=&quot;critical&quot;&#39;]<br>  target_matchers: [&#39;severity=~&quot;warning|error&quot;&#39;]<br>  equal: [&#39;alertname&#39;,&#39;service&#39;,&#39;env&#39;,&#39;team&#39;]<br><br># Time windows (Europe/Kyiv)<br>time_intervals:<br>- name: work-hours<br>  time_intervals:<br>  - weekdays: [&#39;monday:friday&#39;]<br>    times:<br>    - start_time: &#39;09:00&#39;<br>      end_time: &#39;19:00&#39;<br>    location: &#39;Europe/Kyiv&#39;</pre><p><strong>Notes:</strong></p><ul><li>Use continue: true so one event fans out to both PD and the right Slack channel.</li><li>Pick repeat_interval <strong>longer than typical fix time</strong> to avoid duplicate noise.</li><li>Keep secrets (api_url, routing_key) in env or an external secret store.</li></ul><h3>Escalation and quiet hours</h3><ul><li>For <strong>warning/error</strong> — <strong>business hours</strong> only.</li><li>For <strong>critical</strong> — <strong>24/7</strong>.</li><li><strong>Auto-escalation:</strong> if a warning isn’t resolved within 30 minutes, resend as error. Implement via a separate rule or a PD policy.</li><li><strong>Inhibit:</strong> when a critical alert is firing, “lower-severity” alerts of the same kind don’t spam.</li></ul><h3>Grouping and deduplication</h3><ul><li>group_by: [&#39;alertname&#39;,&#39;service&#39;,&#39;env&#39;,&#39;team&#39;] — minimal necessary keys.</li><li>group_wait: 30s — wait to batch similar alerts.</li><li>group_interval: 5m — don’t resend every 10 seconds.</li><li>For “chatty” sources (task retries) — increase for: in rules.</li></ul><h3>Silences and maintenance</h3><ul><li><strong>Planned window:</strong> create a Silence with matchers env=&quot;prod&quot;, team=&quot;data-platform&quot;, service=&quot;airflow&quot;, duration 30–60 min.</li><li><strong>CI hook:</strong> during deploy — auto-silence the relevant services (via Alertmanager API) so migrations don’t wake the team.</li></ul><h3>Per-alert checklist</h3><ul><li>Has severity/env/team/service</li><li>Has runbook and dashboard</li><li>Threshold justified (data/history)</li><li>Has for: (stability)</li><li>Alert tested (rule test / promtool)</li><li>Ownership clear (team) and routing destination defined</li></ul><h3>Step-by-step rollout (painless)</h3><ol><li>Align on the P1–P4 model and examples.</li><li>Enforce a unified <strong>label contract</strong> in rules.</li><li>Enable <strong>inhibit rules</strong> and <strong>night-time windows</strong>.</li><li>Split Slack channels (prod, warnings, dev).</li><li>Add PagerDuty <strong>only for P1 prod</strong>.</li><li>Re-check thresholds against historical charts.</li><li>Write runbooks (at least 5–10 key incidents).</li><li>Enable burn-rate alerts for the most critical SLOs.</li><li>Add deploy-time auto-silences.</li><li>Run a monthly <strong>post-review of noisy alerts</strong> (trim/tune).</li></ol><h3><strong>Summary</strong></h3><p>Good routing = <strong>label contract + routing tree + sane thresholds</strong>.</p><p>Critical =&gt; PagerDuty + the right Slack channel;</p><p>everything else =&gt; quiet and controlled.</p><p>Add inhibit, time windows, and burn rate — so as a result your team stops going “alert-blind” and focuses on real problems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=874060ef2996" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dataops-tech/routing-alerts-in-slack-pagerduty-by-severity-so-noise-doesnt-kill-you-874060ef2996">Routing alerts in Slack/PagerDuty by severity — so noise doesn’t kill you</a> was originally published in <a href="https://medium.com/dataops-tech">DataOps.tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Common dashboard mistakes and how to fix them]]></title>
            <link>https://medium.com/dataops-tech/common-dashboard-mistakes-and-how-to-fix-them-04ab13330e89?source=rss----f0812bb7fef0---4</link>
            <guid isPermaLink="false">https://medium.com/p/04ab13330e89</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[dashboard-design]]></category>
            <category><![CDATA[dashboard]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Mariia Rubanenko]]></dc:creator>
            <pubDate>Thu, 10 Jul 2025 22:35:03 GMT</pubDate>
            <atom:updated>2025-07-10T22:35:02.894Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0W11ofV79zcmJYGZpE1OLA.png" /></figure><p>Dashboards remain one of the most convenient and intuitive tools for business analytics. They allow you to quickly assess the state of processes, spot anomalies, and support decision-making at all levels.</p><p>However, in practice, dashboards often aim to capture as much data as possible, turning into cluttered, poorly structured pages. In such cases, it becomes hard for users to navigate and get clear answers, which ultimately destroys the value of BI reporting.</p><p>To avoid this, it’s critical to approach dashboard design systematically. Below, we’ll break down several key principles that will help you build truly useful dashboards in Superset.</p><h3>Start with the purpose and the audience</h3><p>Before diving into building visualizations or assembling the final dashboard page, it’s critical to define two things: <strong>what the dashboard is for and who its primary audience is</strong>.</p><p>The purpose of the dashboard always dictates how data is selected and grouped. It might be:</p><ul><li>a tool for real-time monitoring of key metrics during daily stand-ups;</li><li>an analytical dashboard for identifying bottlenecks in the product funnel;</li><li>a specialized report to evaluate the effectiveness of a particular marketing campaign.</li></ul><p>Each of these goals requires a different level of detail, a distinct set of KPIs, and its own approach to visualization.</p><p>Equally important is to understand the audience. Some dashboards are built for managers and executives who care about high-level snapshots and KPI trends. Others serve analysts or growth teams who work with user segments and experiment hypotheses. Still others are for operations teams who need SKU-level details or inventory control.</p><p>Trying to cram all these needs into a single “universal” dashboard almost always causes it to lose focus, making it inconvenient for all types of users.</p><p>🚫 <strong>Example of a mixed-purpose dashboard with <em>unclear</em> audience</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IC1BRr_2FgHIbzO8jTw38w.png" /></figure><p>This dashboard simultaneously mixes high-level metrics like total revenue and purchases, elements that resemble a sales funnel analysis, and even product-level drill-downs. It’s unclear for whom exactly this report is. Is it for management to quickly assess financial performance, for marketing to work on conversion, or for product teams to analyze individual product popularity?<br> As a result, the meaning gets lost: the user doesn’t get an answer to the main question of why this dashboard exists and what decisions it’s supposed to drive.</p><p>When the purpose is clearly formulated and the audience is well understood, it becomes much easier to set priorities: decide which indicators should be front and center, which can be left for deeper drill-down, and which might be better off in separate pages or reports. This upfront thinking saves enormous time during design and avoids costly rework later.</p><h3>Use a logical hierarchy from overview to details</h3><p>One of the simplest but most critical principles in dashboard design is to follow a clear visual and informational <strong>hierarchy</strong>. A dashboard should guide the user from general to specific: helping them first grasp the overall situation, then see trends, and only then dive into details if needed.</p><p>This is the standard pattern applied in most BI tools and product analytics systems:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1S7Cq2gnR--ahDcED0PhTw.png" /></figure><p>This structure helps keep focus and quickly answer:</p><ul><li>Are core metrics (like revenue, conversion) healthy?</li><li>How have they changed over time?</li><li>Which details or segments drive the overall result?</li></ul><h4>Why this matters even for “well-chosen themes”</h4><p>Hierarchy may seem obvious, but it’s also the most commonly violated principle.</p><p>For example, look at this SKU-level dashboard. The topic is correct and it’s focused on product analytics. The chart types are also reasonable. We see transaction metrics and distribution across categories and brands. But the lack of a deliberate block order kills readability.</p><p><strong>🚫Example of <em>poor</em> <em>hierarchy</em>: attention is scattered across equally weighted charts</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oi_L0lc-kIrN-hMDo6ekLA.png" /></figure><p>All charts carry roughly the same visual weight and color intensity. There’s no dedicated top-level KPI block that immediately draws the eye. As a result, the viewer’s attention scatters across the entire canvas. Eyes jump from pie to bar charts and back to numeric cards. Although the original goal might have been simple (quickly glance at key figures for the selected period), this gets lost.</p><p>This demonstrates that hierarchy isn’t a formality. It’s an essential tool for steering user attention. Even if the dashboard theme is right and the charts are well chosen, without a clear block structure it fails its primary role helping users quickly understand what’s going on.</p><h3>Meaningful titles, consistent terminology, and in-dashboard docs</h3><p>One of the most underrated aspects of dashboard design is <strong>clear naming and textual explanations</strong>. Yet these often determine how easily users can interpret data and what decisions they’ll make.</p><h4>Why titles matter</h4><p>The dashboard name is the first thing a user sees. It should immediately convey which processes and which key metrics it covers. The same goes for titles of individual charts and KPI cards.</p><p>When titles are vague, overly generic, or inconsistent, the dashboard loses transparency. Users then waste time figuring out what exactly they’re looking at.</p><p>It’s also important to establish a consistent style and terminology, especially if multiple teams in the company use the same BI system. If one dashboard calls a metric Revenue per Session and another shows the same indicator as Profit/Session, it’s a recipe for misinterpretation and wrong conclusions.</p><p>On the screenshot below, you can spot several classic mistakes:</p><p><strong>🚫 Example of <em>poor documentation </em>and <em>unclear titles</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dGcjo2G2wccqxPCwQRFhWw.png" /></figure><p>Chart title lack context. The pivot table uses color fills, but nowhere does it explain what these shades represent, what thresholds are set and why this gradient is chosen. This easily misleads and reduces the analytical value.</p><h4>When there’s a title, but it’s not informative</h4><p>Even when charts and markdown blocks have titles, it’s crucial they match internal standards and truly reflect the data.</p><p><strong>🚫 Example where titles exist but <em>aren’t informative</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aJlLVeJS8gMYijkGNdAcuQ.png" /></figure><p>Here, the chart name and markdown heading don’t give a clear idea of the visualization content. This creates a sense of inconsistency and forces users to re-interpret data each time.</p><h4>Good practice: in-dashboard descriptions and filter explanation</h4><p>Well-designed dashboards often include at least a few lines of description at the top. This briefly states the dashboard’s main purpose, its intended scenario, and sometimes recommended filters. This way users get context instantly and don’t have to ask extra questions.</p><p><strong>✅ Example of <em>clear dashboard</em> purpose and filter context at the top</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pJ_pi5Z370lw6nK_wstBWA.png" /></figure><p>This example shows a concise explanation of why the dashboard exists and which key stages it tracks. It also signals that filters allow drilling into specific user segments or products.</p><h3>Key Takeaways</h3><ul><li><strong>Define the purpose and audience before you start.</strong><br>It’s the foundation that shapes what data to collect, where to put emphasis, and which visualizations to use.</li><li><strong>Build dashboards in a clear hierarchy: from overview to details.</strong><br>Start with top-level KPIs, then show trends and stage metrics, and only then dive into segments or products.</li><li><strong>Use meaningful, consistent titles and terminology.</strong><br>For dashboards themselves, individual charts, and metrics inside. This makes interpretation easier and reduces mistakes.</li><li><strong>Add brief documentation right in the dashboard.</strong><br>Even a short markdown block at the top can help new users understand its purpose and prevent wrong conclusions.</li><li><strong>Don’t overload dashboards.</strong><br>It’s better to have multiple focused reports for different tasks and audiences than one giant “all-in-one” board.</li></ul><h3>Conclusion</h3><p>Dashboards aren’t just pretty sets of charts. Their role is to help teams make decisions, quickly find answers to key business questions, and see where attention is needed.</p><p>If you approach dashboard design thoughtfully, define its purpose, build a clear hierarchy, give it meaningful names, and add short in-dashboard docs. It becomes a genuinely valuable tool for everyone from managers to analysts and operations teams.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=04ab13330e89" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dataops-tech/common-dashboard-mistakes-and-how-to-fix-them-04ab13330e89">Common dashboard mistakes and how to fix them</a> was originally published in <a href="https://medium.com/dataops-tech">DataOps.tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to understand that it is time to refactor ETL: signals and recommendations]]></title>
            <link>https://medium.com/dataops-tech/how-to-understand-that-it-is-time-to-refactor-etl-signals-and-recommendations-5ea25d08c838?source=rss----f0812bb7fef0---4</link>
            <guid isPermaLink="false">https://medium.com/p/5ea25d08c838</guid>
            <category><![CDATA[etl]]></category>
            <category><![CDATA[data-architecture]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[risk-management]]></category>
            <category><![CDATA[data-quality]]></category>
            <dc:creator><![CDATA[Vitalii Polyvianyi]]></dc:creator>
            <pubDate>Thu, 05 Jun 2025 09:47:53 GMT</pubDate>
            <atom:updated>2025-06-05T09:47:53.460Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*n3U4W4EikhCBgRZU" /></figure><p>ETL (Extract, Transform, Load) is a critical element of any analytical or BI system. It ensures that high-quality and relevant data is delivered to the warehouse and reports. However, as the volume of data grows, logic becomes more complex, and business requirements expand, even well-built ETL processes begin to fail and require revision.</p><p>In this article, we will look at the key signs that ETL needs refactoring, and approaches that will help make the process more stable, faster and scalable.</p><p><strong>Signs that ETL needs refactoring</strong></p><ol><li><strong>ETL execution time has increased significantly</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KG4j2prxeb_3TIuf35MGdA.png" /></figure><p>If an ETL that used to run in 10–15 minutes now takes hours, that’s a red flag. With each run, you’re wasting resources, money, and analyst time waiting for updated data.</p><p><strong>Possible reasons:</strong></p><ul><li><strong>Full refresh: </strong>ETL processes the entire table every day, regardless of whether the data has changed or not. Example: loading all orders for 5 years every day, instead of processing only new/changed records.</li><li><strong>Suboptimal SQL queries: </strong>Heavy subqueries, JOIN without indexes, SELECT *, no filters or constraints. Example: query without WHERE, working on the entire table with millions of rows.</li><li><strong>Sequential processing instead of parallel: </strong>All steps are executed one after another, although they can be run in parallel by dates, regions, IDs, etc. Example: processing country data in one thread instead of running in 10 threads.</li><li><strong>Excessive I/O usage: </strong>Temporary data is written to disk (CSV, JSON, Excel) and then read again. This is especially slow for large volumes.</li><li><strong>Outdated technologies: </strong>Old versions of Pandas, Spark, Airflow are used, which work less efficiently.</li><li><strong>Lack of incremental approach: </strong>All data is loaded and transformed every time, without taking into account that most of it has not changed.</li><li><strong>Duplicate or redundant transformations: </strong>The same steps are performed in different parts of the pipeline, increasing the load and time.</li></ul><p><strong>2. Common errors and crashes</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6AsuDrgiL1WLvo7BiGCN0w.jpeg" /></figure><p>If the ETL is unstable and has to be “manually repaired” on a regular basis, this is a symptom of technical debt.</p><p><strong>What could be the reason:</strong></p><ul><li><strong>Hard-coded logic: </strong>Magic numbers, column names, file paths are hard-coded.</li><li><strong>No exception handling: </strong>An error in one step crashes the entire process without the possibility of restarting from a checkpoint.</li><li><strong>Untrusted external sources: </strong>The API may not respond, the file may not load — and your pipeline can’t handle it.</li></ul><p><strong>3. Complex and unreadable code</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nHRd58rSChQNJeUXZUr8tQ.png" /></figure><p>If developers avoid working with ETL logic, this is a sign that it is:</p><ul><li>Monolithic and difficult to scale.</li><li>Poorly structured and not divided into modules.</li><li>Not documented.</li><li>Has duplicate or outdated logic.</li></ul><p>All this slows down development, increases the risk of errors and makes the project vulnerable to team changes.</p><p><strong>4. New requirements are difficult to implement</strong></p><p>If each new field in a report or data source requires reworking the entire logic:</p><ul><li>ETL architecture does not support extension.</li><li>No separation of extraction, transformation and loading logic.</li><li>All steps are tightly coupled.</li></ul><p><strong>5. Lack of testing and monitoring</strong></p><p>Without tests and metrics, ETL works blindly. Problems are discovered in reports or when users complain.</p><p><strong>What is needed:</strong></p><ul><li><strong>Data integrity tests:</strong> schemas, required fields, types.</li><li><strong>Business validation: </strong>for example, the number of transactions must be &gt; 0.</li><li><strong>Performance monitoring:</strong> tracking execution time, data volume, errors.</li></ul><p><strong>When and how to refactor</strong></p><p>Refactoring does not always mean “rewriting everything from scratch.” It is a process of iterative improvement that can (and should) occur in parallel with the evolution of the system.</p><p><strong>Conduct a technical audit every 6–12 months</strong></p><p>Analyze: where ETL has become slower, where failures often occur, which parts of the code are no longer relevant.</p><p><strong>Implement metrics and logs</strong></p><p>Collect:</p><ul><li>The time it takes to complete each step.</li><li>The number of records processed.</li><li>The frequency of errors and reasons for manual intervention.</li></ul><p><strong>Move to a modular architecture</strong></p><p>Each step (extract, transform, load) should be independent and reusable. This makes testing, scaling and maintenance easier.</p><p><strong>Add automated testing</strong></p><p>Cover ETL with unit tests, data checks, schema checks, and business logic level validation.</p><p><strong>Use incremental loading</strong></p><p>Load and process only the data that has changed. This speeds up the process and reduces the load on sources and storage.</p><p><strong>Refactoring is a means, not an end</strong></p><p>Refactoring is not done for the sake of “beautiful code”. It is needed to:</p><ul><li>Speed ​​up data delivery.</li><li>Increase ETL reliability.</li><li>Make the system adaptable to changes.</li></ul><p><strong>Refactoring should be started when:</strong></p><ul><li>The team spends more time fixing bugs than developing.</li><li>The architecture cannot cope with the growth of data.</li><li>The business requires greater flexibility and speed in analytics.</li></ul><p><strong>Conclusion</strong></p><p>ETL is not a one-time setup, but an ongoing process. It should evolve with the product and business. Refactoring started in time:</p><ul><li>Reduces risks,</li><li>Improves data quality,</li><li>Makes the analytical infrastructure more resilient.</li></ul><p>Monitor symptoms, evaluate performance regularly, and don’t be afraid to improve. It’s an investment in the stability of your analytics.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ea25d08c838" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dataops-tech/how-to-understand-that-it-is-time-to-refactor-etl-signals-and-recommendations-5ea25d08c838">How to understand that it is time to refactor ETL: signals and recommendations</a> was originally published in <a href="https://medium.com/dataops-tech">DataOps.tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flux terraform provider]]></title>
            <link>https://medium.com/dataops-tech/flux-terraform-provider-edb68f0012c9?source=rss----f0812bb7fef0---4</link>
            <guid isPermaLink="false">https://medium.com/p/edb68f0012c9</guid>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[gitops]]></category>
            <category><![CDATA[flux]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Golohanikita]]></dc:creator>
            <pubDate>Mon, 05 May 2025 14:59:13 GMT</pubDate>
            <atom:updated>2025-05-05T14:59:13.719Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HsM8-KLBln0UhTaQELhCsg.png" /><figcaption>FluxCD, HashiCorp Terraform</figcaption></figure><p>In today’s cloud-native landscape, Terraform has become the standard for managing infrastructure across major cloud providers. From provisioning compute resources to configuring storage and networking, Terraform enables teams to define their entire infrastructure as code in a consistent, repeatable way.</p><p>This approach naturally extends to Kubernetes clusters, which are often provisioned and configured using Terraform modules. But what about the tools <em>inside</em> your clusters, especially GitOps controllers like <a href="https://fluxcd.io/">Flux</a>?</p><p>Flux is widely adopted as a GitOps solution for Kubernetes, enabling automated and declarative delivery of application workloads and cluster configurations. And while Flux itself promotes the idea of managing resources via Git, it might surprise some that Flux can also be managed <em>as code</em> using the Terraform Flux provider. This opens the door to managing your entire infrastructure stack from cloud resources to Kubernetes clusters to GitOps controllers, within a single Terraform workflow.</p><p>In this article, we’ll explore how the Flux Terraform provider works, and how you can use it to bring your GitOps setup under the same declarative control as the rest of your infrastructure.</p><h3>Setup EKS cluster</h3><p>To demonstrate how to manage Flux with Terraform, we’ll use a common scenario: a Kubernetes cluster running on <strong>Amazon Elastic Kubernetes Service (EKS)</strong>. EKS is a popular choice for teams using AWS, and it integrates well with Terraform through the official AWS provider and community-maintained EKS modules.</p><p>In this example, we’ll assume that you already have an EKS cluster provisioned via Terraform. If not, we’ll briefly outline the necessary steps to create one, before moving on to installing and configuring Flux using the Flux Terraform provider.</p><pre>module &quot;eks&quot; {<br>  source  = &quot;terraform-aws-modules/eks/aws&quot;<br>  version = &quot;~&gt; 20.0&quot;<br><br>  cluster_name    = &quot;example&quot;<br>  cluster_version = &quot;1.31&quot;<br><br>  bootstrap_self_managed_addons = false<br>  cluster_addons = {<br>    coredns = {<br>      most_recent = true<br>    }<br>    kube-proxy = {<br>      most_recent = true<br>    }<br>    vpc-cni = {<br>      most_recent = true<br>    }<br>    aws-ebs-csi-driver = {<br>      most_recent = true<br>    }<br>  }<br><br>  # Optional<br>  cluster_endpoint_public_access = true<br><br>  # Optional: Adds the current caller identity as an administrator via cluster access entry<br>  enable_cluster_creator_admin_permissions = true<br><br>  vpc_id                   = &quot;vpc-1234556abcdef&quot;<br>  subnet_ids               = [&quot;subnet-abcde012&quot;, &quot;subnet-bcde012a&quot;, &quot;subnet-fghi345a&quot;]<br>  control_plane_subnet_ids = [&quot;subnet-xyzde987&quot;, &quot;subnet-slkjf456&quot;, &quot;subnet-qeiru789&quot;]<br><br>  # EKS Managed Node Group(s)<br>  eks_managed_node_group_defaults = {<br>    instance_types = [&quot;m6i.large&quot;, &quot;m5.large&quot;, &quot;m5n.large&quot;, &quot;m5zn.large&quot;]<br>  }<br><br>  eks_managed_node_groups = {<br>    example = {<br>      # Starting on 1.30, AL2023 is the default AMI type for EKS managed node groups<br>      ami_type       = &quot;AL2023_x86_64_STANDARD&quot;<br>      instance_types = [&quot;m5.xlarge&quot;]<br><br>      min_size     = 2<br>      max_size     = 10<br>      desired_size = 2<br>    }<br>  }<br><br>  tags = {<br>    Environment = &quot;dev&quot;<br>    Terraform   = &quot;true&quot;<br>  }<br>}</pre><h3>Setup Github ssh</h3><p>Flux connects to your Git repository to pull manifests and synchronize your cluster state. While it supports multiple authentication methods, <strong>SSH is the most common and secure choice</strong> for private repositories.</p><p>To enable this, Flux requires an SSH deploy key to authenticate with GitHub. In a typical setup, you would generate a key pair manually and configure it both in Flux and on GitHub. But with the <strong>Flux Terraform provider</strong>, we can automate this process entirely, generating the key, provisioning it into Flux, and registering the public key in your GitHub repo using the <strong>Terraform GitHub provider</strong>.</p><p>This ensures a fully automated and reproducible GitOps setup with no manual key handling.</p><pre>provider &quot;github&quot; {<br>  owner = &quot;your-github-owner&quot;<br>  token = &quot;your-github-token&quot;<br>}<br><br>resource &quot;tls_private_key&quot; &quot;flux&quot; {<br>  algorithm   = &quot;ECDSA&quot;<br>  ecdsa_curve = &quot;P256&quot;<br>}<br><br>resource &quot;github_repository_deploy_key&quot; &quot;this&quot; {<br>  title      = &quot;Flux&quot;<br>  repository = var.github_repository<br>  key        = tls_private_key.flux.public_key_openssh<br>  read_only  = &quot;false&quot;<br>}</pre><h3>Setup flux terraform provider</h3><p>At this stage, we’re ready to configure the <strong>Flux Terraform provider</strong>. This is where we connect to both our <strong>Kubernetes cluster</strong> and the <strong>Git repository</strong>, and define how Flux should operate.</p><p>Using the provider, we specify:</p><ul><li>the Kubernetes cluster context (via kubernetes provider or kubeconfig),</li><li>the Git repository to sync from (typically over SSH),</li><li>the <strong>directory path</strong> within the repository that contains the Kubernetes manifests.</li></ul><p>This allows you to declaratively manage Flux resources such as GitRepository, Kustomization, and others from Terraform. With this setup, any changes to the repository or sync settings can be tracked and applied through Terraform, giving you full control over your GitOps pipeline.</p><pre>data &quot;aws_eks_cluster&quot; &quot;cluster&quot; {<br>  name = module.eks.cluster_name<br>}<br><br>data &quot;aws_eks_cluster_auth&quot; &quot;cluster&quot; {<br>  name = module.eks.cluster_name<br>}<br>provider &quot;flux&quot; {<br>  kubernetes = {<br>    host                   = module.eks.cluster_endpoint<br>    cluster_ca_certificate = base64decode(module.eks.cluster_certificate_authority_data)<br>    exec = {<br>      api_version = &quot;client.authentication.k8s.io/v1beta1&quot;<br>      args        = [&quot;eks&quot;, &quot;get-token&quot;, &quot;--cluster-name&quot;, module.eks.cluster_name]<br>      command     = &quot;aws&quot;<br>    }<br>  }<br>  git = {<br>    url = &quot;your-ssh-github-url&quot;<br>    ssh = {<br>      username    = &quot;git&quot;<br>      private_key = tls_private_key.flux.private_key_pem<br>    }<br>  } <br>}<br><br>resource &quot;flux_bootstrap_git&quot; &quot;flux&quot; {<br>  embedded_manifests = true<br>  path               = &quot;flux&quot;<br>}</pre><h3>Deploy manifest to cluster</h3><p>After deploying the initial manifests to the Kubernetes cluster, we enable a GitOps workflow. Any changes to the manifests can simply be pushed to the Git repository, and they will be <strong>automatically applied</strong> to the cluster.</p><p>As a result we have:</p><ul><li>the Git repository becomes the <strong>single source of truth</strong> for cluster state;</li><li>every commit represents a <strong>declarative change</strong> to the infrastructure;</li><li>this ensures <strong>transparency</strong>, <strong>version control</strong>, and <strong>easy recovery</strong>.</li></ul><pre>apiVersion: v1<br>kind: Namespace<br>metadata:<br>  name: test<br>---<br>apiVersion: v1<br>kind: ConfigMap<br>metadata:<br>  creationTimestamp: null<br>  name: test<br>  namespace: test<br>data:<br>  test.json: |<br>    {<br>      &quot;test&quot; : test<br>    }</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8WFk_HtjHJpdfictLbRT2A.png" /></figure><h3><strong>Conclusion</strong></h3><p>Managing Flux with Terraform is a great way to bring your entire GitOps setup under the same declarative control as the rest of your infrastructure. Instead of juggling separate tools and manual steps, you get a streamlined, reproducible workflow from spinning up an EKS cluster to syncing your manifests from GitHub.</p><p>This approach not only simplifies operations, but also gives your team a single source of truth for everything that runs in your cloud and Kubernetes environments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=edb68f0012c9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dataops-tech/flux-terraform-provider-edb68f0012c9">Flux terraform provider</a> was originally published in <a href="https://medium.com/dataops-tech">DataOps.tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[dlt system tables]]></title>
            <link>https://medium.com/dataops-tech/dlt-system-tables-c87900e5b00a?source=rss----f0812bb7fef0---4</link>
            <guid isPermaLink="false">https://medium.com/p/c87900e5b00a</guid>
            <category><![CDATA[data-management]]></category>
            <category><![CDATA[dlt]]></category>
            <category><![CDATA[system-tables]]></category>
            <category><![CDATA[data-platforms]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Vitalii Polyvianyi]]></dc:creator>
            <pubDate>Fri, 04 Apr 2025 15:59:20 GMT</pubDate>
            <atom:updated>2025-04-04T15:59:20.426Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RGDAUw82U3HGLFVKYb0PNA.gif" /><figcaption><a href="https://dlthub.com/">dlthub.com</a></figcaption></figure><p>dlt (data load tools) is a powerful data processing tool that uses system tables to store essential system information. These tables help track the dltversion, monitor the current state of the data pipeline, and keep a history of data loads.</p><h4><strong>_dlt_version table</strong></h4><p>The _dlt_version table contains information about the dlt version used for database table creation and management. This can be useful for troubleshooting errors or tracking dlt updates.</p><p>How to check the current dlt version:</p><pre>SELECT * FROM _dlt_version;</pre><p>Typical columns in this table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JGP4K7nhDbbogGYVwIWt8w.png" /></figure><p>If errors occur or an update is performed, checking this table can help determine which dlt version was used.</p><p><strong>_dlt_pipeline_state table</strong></p><p>This table stores the current state of the data pipeline, helping to:</p><ul><li>Track pipeline execution</li><li>Resume operations after failures</li><li>Manage incremental data loading</li></ul><p>Depending on the configuration, this table may include the following fields:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sppHU17ehhhPzW-axR5mpg.png" /></figure><p><strong>Decoding the encrypted state column</strong></p><p>Since the state column may contain encrypted data, use the following python function to decode it:</p><pre>import base64<br>import zlib<br>def decode_state(encoded_str):<br>return zlib.decompress(base64.b64decode(encoded_str)).decode(&quot;utf-8&quot;, errors=&quot;ignore&quot;)</pre><p><strong>Deleting pipeline state</strong></p><p>To manually clear the pipeline state, run:</p><pre>DELETE FROM _dlt_pipeline_state WHERE pipeline_name = &#39;stripe_source_account&#39;;</pre><p>However, it is recommended to use pipeline.drop() in Python for safe deletion.</p><p><strong>Managing state in dlt</strong></p><p>dlt allows saving and managing state variables, which is useful for incremental data loading.</p><p><strong>Retrieving the current state</strong></p><pre>state = dlt.current.state()</pre><p><strong>Setting a value in state using setdefault()</strong></p><pre>current_start_date: pendulum.DateTime = ensure_pendulum_datetime(<br>  dlt.current.state().setdefault(<br>    f&quot;date_start_{account_id}&quot; if not manual else str(uuid.uuid4()),<br>    start_date.isoformat()<br>  )<br>)</pre><p><strong>Explanation:</strong></p><ul><li>If the key date_start_{account_id} exists, the old value is used.</li><li>If the key does not exist, start_date.isoformat() is set as the initial value.</li><li>If manual=True, a random key is created using uuid.uuid4() (creating a new state).</li><li>ensure_pendulum_datetime() converts the saved string to a pendulum.DateTime object.</li></ul><p><strong>Updating the state</strong></p><pre>dlt.current.state()[f&quot;date_start_{account_id}&quot;] = end_date</pre><p><strong>_dlt_loads table</strong></p><p>The _dlt_loads table tracks data loads into the storage system. It records both successful and failed loads, aiding in monitoring and debugging.</p><p><strong>Example structure of _dlt_loads</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oxyIdwc7CVhz4ABrmYzvlg.png" /></figure><p>If a schema-related error occurs, such as :</p><pre>dlt.destinations.exceptions.DatabaseUndefinedRelation: (TABLE/COLUMN)_NOT_FOUND</pre><p>you may need to delete the saved schema in _dlt_loads. However, be careful, as this will also remove the saved state reference in _dlt_pipeline_state.</p><p><strong>Conclusion</strong></p><p>dlt system tables provide powerful tools for monitoring and managing data pipelines. They help track versions, manage load states, and restore processes in case of failures. Using these tables ensures data processing stability and transparency.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c87900e5b00a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dataops-tech/dlt-system-tables-c87900e5b00a">dlt system tables</a> was originally published in <a href="https://medium.com/dataops-tech">DataOps.tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to test dbt sources with apache airflow & astronomer cosmos.]]></title>
            <link>https://medium.com/dataops-tech/how-to-test-dbt-sources-with-apache-airflow-astronomer-cosmos-de314b86efc8?source=rss----f0812bb7fef0---4</link>
            <guid isPermaLink="false">https://medium.com/p/de314b86efc8</guid>
            <category><![CDATA[data-pipeline]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[apache-airflow]]></category>
            <category><![CDATA[dbt]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Anton Reshetniak]]></dc:creator>
            <pubDate>Mon, 03 Mar 2025 10:30:42 GMT</pubDate>
            <atom:updated>2025-03-03T10:30:42.169Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>We used Cosmos for rendering DAGs, so it was natural to leverage Cosmos when we started thinking about testing.</strong><br>Below is the story — and a step-by-step guide — on how we integrated <a href="https://docs.getdbt.com/faqs/Tests/testing-sources"><strong>dbt source tests</strong></a> into our Airflow workflows using <a href="https://www.astronomer.io/cosmos/"><strong>Astronomer Cosmos</strong></a>. Along the way, you’ll see how Cosmos can simplify DAG generation, maintain data quality, and reduce the chaos of manual testing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XcSlYoE07gvmi1ytOlerog.png" /><figcaption>AI generated image</figcaption></figure><h3><strong>Why test dbt sources in airflow?</strong></h3><p>Before we jump into Cosmos, it’s important to clarify why <strong>source testing</strong> in DBT is such a critical aspect of your data pipelines:</p><p><strong>Early data quality checks</strong><br>If your raw data isn’t up to spec, it’s best to fail early. By testing sources before transformations, you ensure data anomalies don’t cascade through your pipelines.</p><p><strong>Automation and scheduling</strong><br>Airflow is already the orchestration engine. Offloading your tests there means you can run them on a schedule or on data updates, without manually triggering or coordinating separate processes.</p><p><strong>Reliability and confidence</strong><br>Testing fosters trust in your data. If a broken source fails tests, you know you’ve caught the issue right away, preventing corrupted transformations or reporting.</p><h3>Meet astronomer cosmos</h3><p><a href="https://github.com/astronomer/astronomer-cosmos"><strong>Astronomer Cosmos</strong></a> is a library that helps integrate modern data tools like dbt directly into airflow. Instead of manually creating separate tasks (e.g., BashOperator) for each dbt command, Cosmos can <strong>render</strong> your DAGs for you, pulling information from manifest generated by dbt (dbt_project.yml) and tasks (dbt test, dbt run, etc.).</p><h4><strong>Key advantages of Cosmos:</strong></h4><p><strong>Auto-generated DAGs</strong><br>Cosmos reads your dbt directory structure and dynamically builds DAG tasks, minimizing boilerplate code.</p><p><strong>Customizable</strong><br>You can selectively run or test specific models, sources, or even seeds by adjusting parameters in Cosmos.</p><p><strong>Maintains clean code</strong><br>Instead of copying the same “run dbt command” snippet across multiple airflow tasks, Cosmos centralizes that logic, making your DAGs more readable and maintainable.</p><h3>Project overview</h3><p>For this example, we’re working with a weather_insights dbt project that transforming data ingested from a public Weather API (weather node) and Prokerala API (horoscope node) as sample.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*F_E-TnWqcC_SoxG5kbdy-A.png" /><figcaption>DBT project structure</figcaption></figure><pre># dbt_project.yml<br>...<br><br>models:<br>  weather_insights:<br>    +materialized: table<br>    +tags: [&quot;transform&quot;, &quot;dbt&quot;]<br>    weather:<br>      +tags: &quot;weather&quot;<br>    horoscope:<br>      +tags: &quot;horoscope&quot;<br><br>...</pre><p>By focusing on source testing first, we can ensure that incoming weather data meets our quality standards before proceeding to transformations or downstream reporting.</p><h3>Defining tests in dbt</h3><p>In your sources.yaml and schema.yaml files, you can define tests at the <strong>source</strong> and <strong>model</strong> levels. In the example below, weather_data and horoscope_data are sources, while horoscope is both a source table and a model (transformed version) in the dbt project:</p><h4>sources.yaml:</h4><pre>version: 2<br><br>sources:<br>  - name: weather_data<br>    schema: weather_data<br>    tables:<br>      - name: current_weather<br>      ...<br><br>  - name: horoscope_data<br>    schema: horoscope_data<br>    tables:<br>      - name: horoscope<br>        tags: [&#39;ingest&#39;, &#39;horoscope&#39;]<br>        data_tests:<br>          - not_null:<br>              column_name: data__daily_prediction__date<br>        columns:<br>          - name: status<br>          - name: data__daily_prediction__sign_id<br>            data_tests:<br>              - not_null<br>          - name: data__daily_prediction__sign_name<br>          - name: data__daily_prediction__date<br>          - name: data__daily_prediction__prediction<br>          - name: _dlt_load_id<br>          - name: _dlt_id</pre><h4>horoscope/schema.yaml:</h4><pre>version: 2<br><br>models:<br>  - name: horoscope<br>    columns:<br>      - name: row_id<br>      - name: sign_id<br>        data_tests:<br>          - unique<br>      - name: sign_name<br>      - name: prediction<br>      - name: prediction_date</pre><p>When you run dbt test, dbt finds all <strong>tests</strong> defined under data_tests and also those under columns in the model .yml files.</p><p>Now we can try to run our tests:</p><pre>dbt test<br>12:37:18  Running with dbt=1.8.8<br>12:37:18  Registered adapter: postgres=1.8.2<br>12:37:18  Unable to do partial parsing because saved manifest not found. Starting full parse.<br>12:37:19  Found 4 models, 1 seed, 3 data tests, 13 sources, 424 macros<br>12:37:19  <br>12:37:22  Concurrency: 1 threads (target=&#39;dev&#39;)<br>12:37:22  <br>12:37:22  1 of 3 START test source_not_null_horoscope_data_horoscope_data__daily_prediction__date  [RUN]<br>12:37:23  1 of 3 PASS source_not_null_horoscope_data_horoscope_data__daily_prediction__date  [PASS in 0.85s]<br>12:37:23  2 of 3 START test source_not_null_horoscope_data_horoscope_data__daily_prediction__sign_id  [RUN]<br>12:37:24  2 of 3 PASS source_not_null_horoscope_data_horoscope_data__daily_prediction__sign_id  [PASS in 0.74s]<br>12:37:24  3 of 3 START test unique_horoscope_sign_id ..................................... [RUN]<br>12:37:25  3 of 3 PASS unique_horoscope_sign_id ........................................... [PASS in 1.06s]<br>12:37:25  <br>12:37:25  Finished running 3 data tests in 0 hours 0 minutes and 6.25 seconds (6.25s).<br>12:37:25  <br>12:37:25  Completed successfully<br>12:37:25  <br>12:37:25  Done. PASS=3 WARN=0 ERROR=0 SKIP=0 TOTAL=3</pre><h3>Selecting specific models or sources</h3><h4>By model name:</h4><pre>dbt test --select horoscope</pre><p>Runs<strong> only</strong> the tests associated with the horoscope model.</p><p>In the example, this triggers the <strong>unique</strong> test on the sign_id column.</p><h4>By source name:</h4><pre>dbt test --select source:horoscope_data</pre><p>Tests <strong>all</strong> tables under the horoscope_data source (e.g., the horoscope table).</p><pre>dbt test --select source:horoscope_data.horoscope</pre><p>Tests <strong>only</strong> the horoscope table within the horoscope_data source.</p><h3>Using tags for targeted tests</h3><p>Tags in dbt let you label certain models or sources and then <strong>filter</strong> runs based on those labels.</p><h4>Add tags to sources or models</h4><p>In the sources.yaml above, we used:</p><pre>tags: [&#39;ingest&#39;, &#39;horoscope&#39;]</pre><p>These tags appear in any tests associated with that source. Meanwhile, if you define tags in a model .yml, they’ll apply to that model’s tests as well.</p><h4>Run tests by tag</h4><pre>dbt test --select tag:horoscope</pre><ul><li>Runs all tests (both source-level and model-level) carrying the horoscope tag.</li></ul><pre>dbt test --select tag:ingest</pre><ul><li>Runs tests for any models or sources labeled as ingest.</li></ul><pre>dbt test --select tag:transform</pre><ul><li>If you labeled a model with transform, it would run only those tests.</li></ul><h4>Combine or exclude tags</h4><p>You can also <strong>combine</strong> or <strong>exclude</strong> tags with more advanced selectors. For example:</p><pre>dbt test --select tag:horoscope+tag:transform</pre><p>This would run tests that have <strong>either</strong> tag horoscope or transform (depending on your selection logic—check the dbt docs on selection syntax for advanced queries).</p><pre>dbt test --select tag:horoscope --exclude tag:transform</pre><p>This runs tests tagged with horoscope but <strong>excludes</strong> any that also carry the transform tag.</p><h3>Why selective testing matters</h3><p><strong>Speed</strong>: When iterating on a specific model or source, you don’t want to wait for every test in your project to run.</p><p><strong>Focused debugging</strong>: If you suspect an issue with horoscope data, you can zero in on just that source or model.</p><p><strong>Tag-based organization</strong>: Tagging by pipeline stage (ingest, transform, reporting) or data domain (horoscope, weather) helps teams manage large projects more systematically.</p><h3>The DAG code</h3><p>Here’s a snippet that shows the overall structure. Below it, you’ll find a breakdown of each piece.</p><pre>from cosmos import ProjectConfig, ProfileConfig, RenderConfig, LoadMode, DbtTaskGroup<br>from cosmos.operators import DbtTestOperator<br><br>from common.tasks import start_task, end_task<br>from common.constants import (DBT_PROJECT_PATH, DBT_PROFILES_PATH, ENV as AIRFLOW_ENV, DAGS_PATH,<br>                              PG_HOST, PG_USER, PG_PORT, PG_DATABASE, PG_PASSWORD)<br><br>from airflow.utils.dates import days_ago<br>from airflow.models import DAG, Variable<br><br><br>ENV_VARS = {<br>        &quot;PG_HOST&quot;: PG_HOST,<br>        &quot;PG_USER&quot;: PG_USER,<br>        &quot;PG_PORT&quot;: PG_PORT,<br>        &quot;PG_DATABASE&quot;: PG_DATABASE,<br>        &quot;PG_PASSWORD&quot;: PG_PASSWORD,<br>    }<br><br><br>def generate_dbt_dag() -&gt; DAG:<br>    dbt_project_config = ProjectConfig(<br>        dbt_project_path=DBT_PROJECT_PATH,<br>        env_vars=ENV_VARS,<br>    )<br><br>    dbt_profile_config = ProfileConfig(<br>        target_name=AIRFLOW_ENV,<br>        profile_name=&quot;weather_insights&quot;,<br>        profiles_yml_filepath=DBT_PROFILES_PATH,<br>    )<br><br>    dbt_render_config = RenderConfig(<br>        load_method=LoadMode.DBT_LS,<br>        dbt_deps=True,<br>        select=[&#39;tag:transform&#39;],<br>    )<br><br>    cosmos_config = {<br>        &#39;project_config&#39;: dbt_project_config,<br>        &#39;profile_config&#39;: dbt_profile_config,<br>        &#39;render_config&#39;: dbt_render_config,<br>        &#39;operator_args&#39;: {<br>            &quot;dbt_cmd_global_flags&quot;: [&quot;--debug&quot;],<br>            &quot;vars&quot;: {&quot;etl_ts&quot;: &quot;{{ data_interval_end.strftime(&#39;%Y-%m-%d-%H:%M:%S&#39;) }}&quot;},<br>            &quot;install_deps&quot;: True<br>        }<br>    }<br><br>    with DAG(<br>        dag_id=&#39;transform&#39;,<br>        schedule_interval=&#39;10 * * * *&#39;,<br>        max_active_runs=1,<br>        catchup=False,<br>        start_date=days_ago(1),<br>    ) as dag:<br>        start = start_task()<br>        end = end_task()<br><br>        source_test = DbtTestOperator(<br>            task_id=&#39;source_test&#39;,<br>            project_dir=DBT_PROJECT_PATH,<br>            profile_config=dbt_profile_config,<br>            env=ENV_VARS,<br>            select=[&#39;tag:ingest&#39;],<br>        )<br><br>        dbt_tg = DbtTaskGroup(**cosmos_config)<br><br>        start &gt;&gt; source_test &gt;&gt; dbt_tg &gt;&gt; end<br><br>    return dag</pre><h3>Step-by-step explanation:</h3><h4>1. Environment &amp; configs</h4><p>We define a dictionary ENV_VARS containing all the Postgres credentials. Then we configure our dbt project and profiles:</p><pre>dbt_project_config = ProjectConfig(...)<br>dbt_profile_config = ProfileConfig(...)<br>dbt_render_config = RenderConfig(...)</pre><p>These objects tell Cosmos:</p><ul><li>Where to locate your dbt project (project_dir).</li><li>Which dbt profile to use (profile_name, profiles_yml_filepath).</li><li>How to discover tasks within your project (load_method=LoadMode.DBT_LS).</li></ul><h4>2. Cosmos dictionary</h4><p>We wrap our configs in cosmos_config:</p><pre>cosmos_config = {<br>  &#39;project_config&#39;: dbt_project_config,<br>  &#39;profile_config&#39;: dbt_profile_config,<br>  &#39;render_config&#39;: dbt_render_config,<br>  &#39;operator_args&#39;: {...}<br>}</pre><p>This ensures the same environment and config are passed to every dbt-related task in the DAG and makes code prettier.</p><h4>3. The DAG definition</h4><p>Using airflow’s DAG context manager, we specify:</p><pre>with DAG(<br>    dag_id=&#39;transform&#39;,<br>    schedule_interval=&#39;10 * * * *&#39;,<br>    max_active_runs=1,<br>    catchup=False,<br>    start_date=days_ago(1)<br>) as dag:<br>    ...</pre><p>This tells airflow to run it hourly at the 10th minute, allow only one active run at a time, and start from one day ago.</p><h4>4. Source tests first</h4><p>Next comes a <a href="https://github.com/astronomer/astronomer-cosmos/blob/ddea39cf483451650244d93ce78a4f32b724e8ca/cosmos/operators/local.py#L880">DbtTestOperator</a> we call source_test:</p><pre>source_test = DbtTestOperator(<br>    task_id=&#39;source_test&#39;,<br>    project_dir=DBT_PROJECT_PATH,<br>    profile_config=dbt_profile_config,<br>    env=ENV_VARS,<br>    select=[&#39;tag:ingest&#39;],<br>)</pre><p>The magic is in select=[&#39;tag:ingest&#39;]: This runs only dbt tests for models or sources tagged ingest. In your dbt .yml files, if you tagged a source (for example, raw tables from the API) with ingest, this operator tests them. If any fail, the pipeline stops.</p><h4>5. Transform models with DbtTaskGroup</h4><p>We create a DbtTaskGroup (dbt_tg) from our cosmos_config:</p><pre>dbt_tg = DbtTaskGroup(**cosmos_config)</pre><p>Under the hood, this calls dbt ls to find all models and tests matching select=[&#39;tag:transform&#39;], then creates a separate task for each. This means every model tagged transform is run within this group—no extra boilerplate required.</p><h4>6. Orchestrate the flow</h4><p>Finally, we define the <strong>task order</strong>:</p><pre>start &gt;&gt; source_test &gt;&gt; dbt_tg &gt;&gt; end</pre><p>start: A dummy start task.</p><p>source_test: Validate your raw ingestion tables.</p><p>dbt_tg: Dynamically generated tasks for transformation (and any associated tests).</p><p>end: A dummy end task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w6rn3XGPlGQgPMUNSkxYAA.png" /><figcaption>Graph visualization of created DAG.</figcaption></figure><h3>Why this pattern is powerful</h3><p><strong>Early data quality checks</strong><br>Fail fast if data ingestion doesn’t meet quality standards.</p><p><strong>Minimal boilerplate</strong><br>Thanks to Cosmos, you don’t have to handwrite tasks for each dbt model/test.</p><p><strong>Selective testing</strong><br>Tag-based selects (tag:ingest, tag:transform) make your pipeline modular.</p><p><strong>Scalable</strong><br>As your dbt project expands, your DAG stays lean — no monstrous, hand-coded tasks.</p><h3>Next steps</h3><p><strong>Refine your tag strategy</strong>: Use tags like ingest, transform, report to compartmentalize each stage of your analytics pipeline.</p><p><strong>Add more test operators</strong>: If you want to isolate certain critical tests, you can add another DbtTestOperator for them.</p><p><strong>Explore advanced dbt/CLI options</strong>: Customize dbt_cmd_global_flags or pass additional vars to parameterize your models further (e.g., time-based partitions).</p><h3>Conclusion</h3><p>Implementing <strong>dbt source tests</strong> directly into your Airflow DAG ensures <strong>data quality</strong> from the earliest point in your pipeline. By leveraging <strong>Astronomer Cosmos</strong>, you minimize the manual overhead of building and maintaining multiple tasks. This approach lets you <strong>fail fast</strong> if the raw data is incorrect, so you don’t waste time — or create spurious analytics — on broken pipelines.</p><p>Give it a try in your own project. Once you see how easy it is to orchestrate transformations <strong>after</strong> validating sources, you’ll wonder how you ever shipped data pipelines without it!</p><p><strong>Thanks for reading!</strong> Feel free to share this post or leave a comment with any questions or suggestions. Data quality starts at the source — so go forth and build robust, trustworthy pipelines!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de314b86efc8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dataops-tech/how-to-test-dbt-sources-with-apache-airflow-astronomer-cosmos-de314b86efc8">How to test dbt sources with apache airflow &amp; astronomer cosmos.</a> was originally published in <a href="https://medium.com/dataops-tech">DataOps.tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Ingestion vs Data Integration: Understanding the difference with Medallion Architecture]]></title>
            <link>https://medium.com/dataops-tech/data-ingestion-vs-data-integration-understanding-the-difference-with-medallion-architecture-ab7baee3aaec?source=rss----f0812bb7fef0---4</link>
            <guid isPermaLink="false">https://medium.com/p/ab7baee3aaec</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-platforms]]></category>
            <category><![CDATA[data-ingestion]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-integration]]></category>
            <dc:creator><![CDATA[Alexander Shcherbak]]></dc:creator>
            <pubDate>Tue, 04 Feb 2025 14:02:03 GMT</pubDate>
            <atom:updated>2025-02-04T14:02:02.581Z</atom:updated>
            <content:encoded><![CDATA[<h3>Intro</h3><p>We see confusion between <strong><em>data ingestion</em></strong> and <strong><em>data integration</em></strong>, especially when teams adopt medallion<strong> </strong>architecture for building modern data platforms. While these processes work together, they overlap each other in the data pipeline. To clear up this misunderstanding, we will explain how they map to the bronze and silver layers in medallion architecture, a framework increasingly popular for creating flexible data storage.</p><h3>A little bit about Medallion Architecture</h3><p><strong><em>Medallion Architecture</em></strong> is an approach to organizing data in a data lake or a data lakehouse by dividing it into three logical layers: <strong><em>bronze</em></strong>, <strong><em>silver</em></strong>, and <strong><em>gold</em></strong>. Each layer serves a specific purpose in preparing data for analytics and BI and also can be splitted on several, improving its quality, manageability, and usability for various business needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OcT_MVWN_c5pZ0HE1V6GsQ.jpeg" /></figure><h4><strong>Bronze Layer: raw data</strong></h4><p>Contains raw, unprocessed data ingested from various sources (e.g., databases, APIs, logs, or IoT devices). Data at this layer is stored as-is, without any transformations or cleaning.</p><p><strong>Key purpose:</strong> To serve as a historical record and a single source of truth, retaining all original details for traceability.</p><p><strong>Examples<em>:</em></strong> contains raw tables as is.</p><h4><strong>Silver Layer: cleansed and transformed data</strong></h4><p>Processes raw data from the bronze layer to clean, filter, and standardize it. Ensures data quality by handling duplicates, missing values, and errors. Often used for intermediate analytics or operational reporting.</p><p><strong>Examples:</strong> Consolidated and structured data tables, with cleaned customer or product records.</p><h4><strong>Gold Layer: aggregated and analytics-ready data</strong></h4><p>Refines data further to make it suitable for business intelligence (BI) and decision-making. Includes curated, aggregated, and ready-to-use datasets tailored for specific use cases or teams. Focuses on delivering high performance for end-user queries and dashboards.</p><p><strong>Examples:</strong> Pre-aggregated sales metrics or customer behavior insights for dashboards.</p><h3>Data ingestion</h3><p>This is the process of extracting data from sources and loading it into a storage system.<br>In <strong><em>Medallion Architecture</em></strong>, ingestion is focused on loading into <strong><em>bronze</em></strong> layer, where raw data is stored as-is, without transformations.<br>Its purpose is to deliver data efficiently, not to clean or combine it.</p><h3>Data integration</h3><p>Integration also starts as gathering data from different source into <strong><em>bronze</em></strong> layer, where data from multiple sources stored in a single location in raw form.<br>The primary integration happens in the <strong><em>silver</em></strong> layer, where data is cleaned, normalized, and combined.<br>For example, joining transactional data with customer records from different systems to create a unified and consistent view for analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pxv_KOa_4AE9SDyvZ4dN8A.jpeg" /></figure><h3>Conclusion</h3><p>In <strong><em>medallion architecture</em></strong>, data ingestion operates at the <strong><em>bronze</em></strong> layer, handling data delivery, while data integration spans both <strong><em>bronze</em></strong> and <strong><em>silver</em></strong> layers. Integration begins with raw data storage in <strong><em>bronze</em></strong> and is fully realized in <strong><em>silver</em></strong> through cleaning and unifying the data. So I would conclude that <strong>data ingestion is a subset of the data integrity process</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab7baee3aaec" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dataops-tech/data-ingestion-vs-data-integration-understanding-the-difference-with-medallion-architecture-ab7baee3aaec">Data Ingestion vs Data Integration: Understanding the difference with Medallion Architecture</a> was originally published in <a href="https://medium.com/dataops-tech">DataOps.tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data engineering in 2025]]></title>
            <link>https://medium.com/dataops-tech/data-engineering-in-2025-d0800037a6c6?source=rss----f0812bb7fef0---4</link>
            <guid isPermaLink="false">https://medium.com/p/d0800037a6c6</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-platforms]]></category>
            <category><![CDATA[trends]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Anastasiia Panchenko]]></dc:creator>
            <pubDate>Fri, 03 Jan 2025 13:02:37 GMT</pubDate>
            <atom:updated>2025-01-03T13:02:36.013Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>As we step into 2025, data engineering continues to evolve at a rapid pace. Emerging technologies are automating processes, streamlining workflows, and redefining how organizations design and manage data solutions. Even with these achievements, architectural planning, cost optimization, and reliability remain the foundations of success.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LPoueg8EmTmyDCuHLezACg.png" /></figure><h3><strong>AI in data engineering</strong></h3><p>AI is revolutionizing data engineering by automating routine tasks and enhancing decision-making across the data lifecycle. <strong>Large Language Models (LLMs)</strong> are increasingly being used for tasks such as detecting data quality anomalies, generating transformation logic (e.g., DBT models, <a href="https://medium.com/dataops-tech/data-load-tool-dlt-pros-cons-and-integration-into-data-platform-as-an-ingest-tool-eb34311a2007">DLT sources</a>), and speeding up the creation of configurations.</p><h4><strong>AI is not a silver bullet</strong></h4><p>While <strong>AI</strong> can automate substantial parts of data workflows, it cannot replace the human expertise required to architect robust, scalable systems. Data engineers remain critical for adapting to new challenges and ensuring that AI-driven solutions align with long-term business goals.</p><h3><strong>YAML engineering in data platforms</strong></h3><p>An emerging trend powered by AI is the focus on YAML-driven workflows. Large teams benefit from automatically generating <strong>YAML</strong> configurations for orchestrators like <strong>Apache Airflow</strong> and other data engineering tools. This approach streamlines development cycles, reduces manual errors, and ensures consistent, repeatable configurations across the platform.</p><h3><strong>Cloud-agnostic and modularized data solutions</strong></h3><p>Organizations are increasingly adopting cloud-agnostic approaches and modular architectures to remain flexible and avoid vendor lock-in.</p><h4><strong>The role of open table format</strong></h4><p><strong>Apache Iceberg</strong> has become a cornerstone of modern data platforms. Its support for schema evolution, change tracking, and partition filtering makes it a natural fit for scalable, cloud-agnostic solutions and a key facilitator of modular architectures.</p><h4><strong>Modularization across data solutions</strong></h4><p>All components of data platforms, from ingestion to storage and visualization, will be modular, enabling seamless updates, scaling, and operational efficiency.</p><h3><strong>FinOps: cost optimization in data platforms</strong></h3><p>As organizations increasingly adopt cloud-first strategies, managing costs has become a central priority. <strong>FinOps</strong> solutions are evolving, offering new tools and approaches for efficient cost management. Integration tools such as <a href="https://www.opencost.io/">cost trackers</a> will be on par with <a href="https://datahubproject.io/">metadata tools</a> and <a href="https://www.elementary-data.com/">data governance tools</a></p><h4><strong>How FinOps adds value</strong></h4><p>FinOps integrates financial accountability into cloud operations, enabling teams to:</p><p><strong>Track</strong> cloud usage in real time.</p><p><strong>Optimize</strong> resource utilization by automating actions like shutting down unused resources.</p><p><strong>Predict</strong> cloud spending trends to align budgets with operational needs.</p><p>Implementing <strong>FinOps</strong> practices, like rightsizing computer instances or optimizing storage configurations, can lead to significant savings without compromising performance.</p><h3><strong>SRE: a core component of data platforms</strong></h3><p><strong>Site Reliability Engineering (SRE)</strong> principles are now a fundamental part of data platform design.</p><p><strong>Why SRE is critical?</strong></p><p>SRE techniques, such as service-level objectives (SLOs), incident automation, and proactive monitoring, are essential for ensuring the reliability, availability, and scalability of data systems. These practices are no longer optional; they form the backbone of resilient data solutions.</p><h3>Orchestrator is key element of data solution</h3><p>Apache Airflow remains the leading orchestrator in modern data platforms, and as workflows grow more complex, it continues to evolve. The anticipated Airflow 3.0<strong> </strong>represents not just an upgrade but a reimagining of workflow orchestration for the demands of 2025.</p><h4><strong>Living and reincarnating</strong></h4><p>Airflow’s adaptability ensures its longevity and continued dominance in orchestration. With each version, it reincarnates to meet the evolving needs of data engineers, solidifying its position as a critical tool in the data ecosystem.</p><h3><strong>Data privacy and governance: a top priority</strong></h3><p>As regulations like GDPR and CCPA expand, data privacy and governance continue to be critical components of modern data applications.</p><h4>Impact on data engineers</h4><p>Data engineers play a key role in embedding compliance measures into pipelines. These measures include encryption, data lineage, and automated checks, ensuring regulatory compliance at every step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZZOcdwXq2DCcBQmKKxo63w.png" /><figcaption>Adobe Firefly</figcaption></figure><h3><strong>Architectural planning: a timeless skill</strong></h3><p>Despite advancements in automation, the ability to plan and architect data solutions remains irreplaceable. Engineers must ensure that systems are scalable, maintainable, and cost-efficient while meeting both business and regulatory requirements.</p><h3><strong>Conclusion</strong></h3><p>While the field of data engineering may not experience groundbreaking shifts in the near future, 2025 will see continued progress through the use of established practices and technologies. The focus will shift from writing code to high-level tasks, while core responsibilities like architectural planning and infrastructure management remain essential.</p><p>At the same time, <strong>AI, </strong><a href="https://medium.com/better-programming/10-things-you-might-not-know-about-yaml-b0589da547c"><strong>YAML engineering</strong></a><strong>, </strong><a href="https://iceberg.apache.org/"><strong>Apache Iceberg</strong></a><strong>, </strong><a href="https://www.opencost.io/"><strong>FinOps</strong></a><strong>, </strong><a href="https://medium.com/dataops-tech/our-top-3-books-for-data-engineers-in-2025-9bb30f3d2c1d"><strong>SRE</strong></a><strong>, and </strong><a href="https://medium.com/@alexander.shcherbak.as/data-quality-in-snowplow-100c3f9719b5"><strong>Data Quality</strong></a> will continue to shape modern data platforms. These practices will be increasingly integrated into data applications, driving efficiency, scalability, and reliability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0800037a6c6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dataops-tech/data-engineering-in-2025-d0800037a6c6">Data engineering in 2025</a> was originally published in <a href="https://medium.com/dataops-tech">DataOps.tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Managing data projects: the structure, challenges, and lessons that keep us moving forward]]></title>
            <link>https://medium.com/dataops-tech/managing-data-projects-the-structure-challenges-and-lessons-that-keep-us-moving-forward-b0f78571e58f?source=rss----f0812bb7fef0---4</link>
            <guid isPermaLink="false">https://medium.com/p/b0f78571e58f</guid>
            <category><![CDATA[data-platforms]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[project-management]]></category>
            <dc:creator><![CDATA[Anastasiia Panchenko]]></dc:creator>
            <pubDate>Wed, 25 Dec 2024 13:37:01 GMT</pubDate>
            <atom:updated>2024-12-25T13:37:01.076Z</atom:updated>
            <content:encoded><![CDATA[<p>Managing data projects might sound complicated, but it doesn’t have to be. As a Project Manager (PM) at DataOps.tech, I’ve discovered that with the right approach, anyone can keep a data project on track — even without prior experience in project management.</p><h3><strong>The structure of our work</strong></h3><p>We work in sprints, which are short, focused periods (usually a week) where the team tackles specific tasks. At the start of every sprint, we hold a <strong>weekly call </strong>with the client to discuss tasks, which should go into the sprint, priorities and estimations. This ensures everyone is aligned on what’s most important.</p><p>I have <strong>daily-meetings</strong> with the team to share updates: what we’ve completed, what we’re working on, and any blockers we’re facing up with. These short sessions keep communication transparent and ensure problems are addressed quickly.</p><p>We also have <strong>refinement sessions</strong>, where we break down complex tasks into smaller, manageable pieces and clarify requirements.</p><p>At the end of each month, we host a <strong>Demo</strong> to showcase what we’ve achieved. This is a great opportunity to receive feedback and celebrate progress.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1D_3HKybHkiACE3qWm4m5g.jpeg" /><figcaption>Adobe Firefly</figcaption></figure><h3><strong>Tracking and problem-solving</strong></h3><p>One of my key responsibilities is managing our <strong>Notion board</strong>, where all tasks are tracked. I regularly check it to ensure tasks are progressing as planned, identify any delays, and help resolve issues the team might encounter. Staying on top of the board helps me maintain a clear overview of the project’s status and ensures nothing falls through the cracks.</p><h3><strong>Challenges we face</strong></h3><p>Being a PM comes with its fair share of challenges. For me, one of the hardest parts is balancing between client`s needs and the team`s capacity. Sometimes, there are high expectations, tight deadlines, or last-minute changes that require quick adjustments. It’s a constant exercise in prioritization and communication.</p><p>For the team, technical challenges can be tough. Data projects often involve complex problems that require innovative solutions, and occasionally, we encounter unexpected roadblocks that can slow progress. Keeping morale high during these moments and ensuring the team feels supported is a big part of my role.</p><h3><strong>My feelings about being a PM</strong></h3><p>Being a PM is both challenging and rewarding. I enjoy seeing a project come together and knowing that I played a part in its success. At the same time, it’s a role that requires constant focus and adaptability. There are days when the pressure feels overwhelming, but the sense of accomplishment when we overcome difficulties makes it worthwhile.</p><h3><strong>Then and now</strong></h3><p>When I started as a PM, it felt a bit tough. It was a completely new sphere for me, and the responsibilities seemed overwhelming. At times, I doubted whether I could handle it all and feared making mistakes.</p><p>Now, I see challenges as opportunities to learn and grow. I’ve been developing stronger communication skills, and getting to know how to build trust within the team. While I’m still learning every day, I’m proud of how far I’ve come and excited about where I’m headed.</p><h3><strong>Learning is never enough</strong></h3><p>I believe that continuous learning and skill development are essential, not just for me, but for anyone involved in fast-paced industries like IT. Whether it’s honing communication skills, mastering new tools, or understanding more about data workflows, there’s always room to improve.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vjc-W9hImcPbpwGZCYVt7Q.png" /></figure><h3><strong>Final thoughts</strong></h3><p>Managing data projects is all about collaboration, clarity, and adaptability. By following Scrum practices, maintaining transparent communication, and committing to ongoing learning, I’m able to help my team deliver meaningful results. If you’re a PM or aspiring to become one, I hope this glimpse into my workflow inspires you to build your own effective management style.</p><p>If anyone has additional tips or recommendations for improving my approach, I’d love to hear them. Let’s continue learning and growing together!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0f78571e58f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dataops-tech/managing-data-projects-the-structure-challenges-and-lessons-that-keep-us-moving-forward-b0f78571e58f">Managing data projects: the structure, challenges, and lessons that keep us moving forward</a> was originally published in <a href="https://medium.com/dataops-tech">DataOps.tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our top 3 books for data engineers in 2025]]></title>
            <link>https://medium.com/dataops-tech/our-top-3-books-for-data-engineers-in-2025-9bb30f3d2c1d?source=rss----f0812bb7fef0---4</link>
            <guid isPermaLink="false">https://medium.com/p/9bb30f3d2c1d</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-platforms]]></category>
            <category><![CDATA[data-architecture]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Alexander Shcherbak]]></dc:creator>
            <pubDate>Wed, 18 Dec 2024 14:01:36 GMT</pubDate>
            <atom:updated>2024-12-18T14:01:34.578Z</atom:updated>
            <content:encoded><![CDATA[<h3>3 must-read books for data engineers in 2025</h3><blockquote>When discussing d<strong>ata engineering</strong>, it’s easy to focus on books that dive into specific tools: Spark, Kafka, Terraform, etc. However, to build effective and reliable platforms, you must remember that the fundamental principles truly matter and stand the test of time, regardless of technology.</blockquote><h4><strong>Fundamentals of Data Engineering</strong></h4><p>📖 <em>Joe Reis and Matt Housley</em></p><p>This book provides a comprehensive understanding of <strong>Data Engineering</strong> (DE). It covers the data lifecycle, core architectural patterns, and best practices for building scalable and reliable systems. The authors focus on methodologies rather than tying concepts to specific tools, making them timeless.</p><p>It offers a clear and approachable explanation of key data engineering principles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*BPNkera37Q7uzwsGZjKPKw.jpeg" /></figure><h4><strong>Designing Data-Intensive Applications</strong></h4><p>📖 <em>Martin Kleppmann</em></p><p>This is a classic guide on designing reliable, scalable, and high-performance systems for handling data. It covers key topics such as data storage, distributed systems, consistency, and stream processing.</p><p>It’s the main resource for understanding the architecture of data systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*adCpPyAQCnAyXNgC2GA85A.png" /></figure><h4><strong>Site Reliability Engineering: How Google Runs Production Systems</strong></h4><p>📖 <em>Google’s SRE Team</em></p><p>While this book focuses on <strong>Site Reliability Engineering</strong> (SRE), its principles are highly relevant to building reliable<strong> </strong>data platforms. It introduces Google’s approach to ensuring system reliability, covering concepts like <strong>SLA</strong>, <strong>SLO</strong>, <strong>SLI</strong>, and automation.</p><p>It teaches you how to design and maintain resilient, high-availability platforms and provides a deeper understanding of operations, monitoring, and observability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*cAUrnbw2H61H2Amh0WiszA.jpeg" /></figure><h4><strong>Conclusion</strong></h4><p>These three books will give you a solid foundation for designing and maintaining modern data platforms. They aren’t about tools that become obsolete in a few years — they focus on principles and approaches that remain relevant regardless of technology.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9bb30f3d2c1d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dataops-tech/our-top-3-books-for-data-engineers-in-2025-9bb30f3d2c1d">Our top 3 books for data engineers in 2025</a> was originally published in <a href="https://medium.com/dataops-tech">DataOps.tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>