Page MenuHomePhabricator

KCVelaga_WMF (KC)
Product Analytics, Wikimedia Foundation

Today

  • No visible events.

Tomorrow

  • No visible events.

Tuesday

  • No visible events.

User Details

User Since
Sep 15 2021, 11:36 AM (256 w, 3 d)
Availability
Available
LDAP User
KCVelaga
MediaWiki User
KCVelaga (WMF) [ Global Accounts ]
  • Part of the Product Analytics team.
    • Currently focus areas: WE5: Responsible Use of Infrastructure
    • Previously supported analytics of Language and Product Localization and Moderator Tools teams.
  • For my volunteer profile, please visit: KCVelaga

Recent Activity

Fri, Aug 14

KCVelaga_WMF added a comment to T432735: Audit and update data pipelines that extract thumbnail requests from webrequest_text.

Hi @Snwachukwu - quick note, I just created a MR today for the models I maintain in dbt: dbt-jobs/163

Fri, Aug 14, 7:09 PM · Patch-For-Review, Data-Engineering (Q1 FS26/27 July 1st - September 30th)
KCVelaga_WMF added a comment to T433982: Add cloudflare_radar API connection to Airflow analytics main instance.

Chris already created a patch: https://gerrit.wikimedia.org/r/1320964 - just needs to be deployed.

Fri, Aug 14, 1:15 PM · Infrastructure-Foundations, Data-Platform-SRE (2026-08-07 - 2026-08-28), Data-Engineering, Product-Analytics, Patch-For-Review

Wed, Aug 12

KCVelaga_WMF moved T434179: Data analysis request for media rate limiting from Next 2 weeks to Doing on the Product-Analytics (Kanban) board.
Wed, Aug 12, 2:34 PM · Product-Analytics (Kanban), ServiceOps, ServiceOps-Services-Oids
KCVelaga_WMF changed the status of T434179: Data analysis request for media rate limiting, a subtask of T424052: Tune policy from shadow-mode data before enforcement, from Open to In Progress.
Wed, Aug 12, 2:33 PM · ServiceOps, ServiceOps-Services-Oids
KCVelaga_WMF changed the status of T434179: Data analysis request for media rate limiting from Open to In Progress.
Wed, Aug 12, 2:33 PM · Product-Analytics (Kanban), ServiceOps, ServiceOps-Services-Oids
KCVelaga_WMF moved T434516: dbt: Jobs with associated data tests do not run the main job from Triage to Tracking on the Product-Analytics board.
Wed, Aug 12, 12:05 PM · Product-Analytics, Data-Engineering (Q1 FS26/27 July 1st - September 30th)
KCVelaga_WMF added a project to T434516: dbt: Jobs with associated data tests do not run the main job: Product-Analytics.
Wed, Aug 12, 12:04 PM · Product-Analytics, Data-Engineering (Q1 FS26/27 July 1st - September 30th)
KCVelaga_WMF added a comment to T434516: dbt: Jobs with associated data tests do not run the main job.

I have cleared the task instances for https://airflow.wikimedia.org/dags/dbt_daily/grid?search=dbt_daily&task_id=product-analytics.known_clients_aggregate_daily&tab=details from 5-11 August, and re-ran. Everything is good now, thanks for quick fix.

Wed, Aug 12, 12:03 PM · Product-Analytics, Data-Engineering (Q1 FS26/27 July 1st - September 30th)

Tue, Aug 11

KCVelaga_WMF renamed T434137: Add page_visit event instrumentation to current developer portal from Add Test Kitchen instrumentation to current developer portal to Add page_visit event instrumentation to current developer portal.
Tue, Aug 11, 2:41 PM · MediaWiki-API-Platform-Team (MediaWiki-Interfaces-Sprints), OKR-Work, Wikimedia-Developer-Portal
KCVelaga_WMF updated the task description for T434516: dbt: Jobs with associated data tests do not run the main job.
Tue, Aug 11, 11:57 AM · Product-Analytics, Data-Engineering (Q1 FS26/27 July 1st - September 30th)
KCVelaga_WMF triaged T434516: dbt: Jobs with associated data tests do not run the main job as High priority.
Tue, Aug 11, 11:50 AM · Product-Analytics, Data-Engineering (Q1 FS26/27 July 1st - September 30th)
KCVelaga_WMF created T434516: dbt: Jobs with associated data tests do not run the main job.
Tue, Aug 11, 11:50 AM · Product-Analytics, Data-Engineering (Q1 FS26/27 July 1st - September 30th)
KCVelaga_WMF added a comment to T433509: Feature request: Enable dbt jobs to be scheduled hourly.

Thanks for enabling this feature, and supporting the transition. We have the first job with hourly schedule: https://airflow.wikimedia.org/dags/dbt_api_requests_hourly/grid?search=dbt_api_requests_hourly

Tue, Aug 11, 7:03 AM · Data-Engineering
KCVelaga_WMF updated the task description for T434137: Add page_visit event instrumentation to current developer portal.
Tue, Aug 11, 6:20 AM · MediaWiki-API-Platform-Team (MediaWiki-Interfaces-Sprints), OKR-Work, Wikimedia-Developer-Portal

Fri, Aug 7

KCVelaga_WMF updated the task description for T434137: Add page_visit event instrumentation to current developer portal.
Fri, Aug 7, 8:31 AM · MediaWiki-API-Platform-Team (MediaWiki-Interfaces-Sprints), OKR-Work, Wikimedia-Developer-Portal

Thu, Aug 6

KCVelaga_WMF triaged T434179: Data analysis request for media rate limiting as Medium priority.
Thu, Aug 6, 10:52 AM · Product-Analytics (Kanban), ServiceOps, ServiceOps-Services-Oids

Tue, Aug 4

KCVelaga_WMF triaged T433992: Switch to user_agents_info and deprecate user_agent_compliance_classified_hourly as Medium priority.
Tue, Aug 4, 3:51 PM · Product-Analytics (Kanban), Data-Engineering
KCVelaga_WMF created T433992: Switch to user_agents_info and deprecate user_agent_compliance_classified_hourly.
Tue, Aug 4, 3:51 PM · Product-Analytics (Kanban), Data-Engineering
KCVelaga_WMF moved T433982: Add cloudflare_radar API connection to Airflow analytics main instance from Triage to Tracking on the Product-Analytics board.
Tue, Aug 4, 2:38 PM · Infrastructure-Foundations, Data-Platform-SRE (2026-08-07 - 2026-08-28), Data-Engineering, Product-Analytics, Patch-For-Review
KCVelaga_WMF added projects to T433982: Add cloudflare_radar API connection to Airflow analytics main instance: Data-Platform-SRE, SRE, Product-Analytics.
Tue, Aug 4, 2:36 PM · Infrastructure-Foundations, Data-Platform-SRE (2026-08-07 - 2026-08-28), Data-Engineering, Product-Analytics, Patch-For-Review
KCVelaga_WMF added a parent task for T433982: Add cloudflare_radar API connection to Airflow analytics main instance: Unknown Object (Task).
Tue, Aug 4, 2:35 PM · Infrastructure-Foundations, Data-Platform-SRE (2026-08-07 - 2026-08-28), Data-Engineering, Product-Analytics, Patch-For-Review
KCVelaga_WMF renamed T433982: Add cloudflare_radar API connection to Airflow analytics main instance from Add cloudflare_radar API connection to analytics main instance to Add cloudflare_radar API connection to Airflow analytics main instance.
Tue, Aug 4, 2:34 PM · Infrastructure-Foundations, Data-Platform-SRE (2026-08-07 - 2026-08-28), Data-Engineering, Product-Analytics, Patch-For-Review
KCVelaga_WMF created T433982: Add cloudflare_radar API connection to Airflow analytics main instance.
Tue, Aug 4, 2:34 PM · Infrastructure-Foundations, Data-Platform-SRE (2026-08-07 - 2026-08-28), Data-Engineering, Product-Analytics, Patch-For-Review

Mon, Aug 3

KCVelaga_WMF added a comment to T429280: Extend User-Agent classification to Dumps logs.

Closing this as duplicate as User-Agents that appear in Dumps logs will be populated in wmf_traffic.user_agents_info with source = 'dumps'.

Mon, Aug 3, 2:13 PM · Product-Analytics, MediaWiki-API-Platform-Team
KCVelaga_WMF merged T429280: Extend User-Agent classification to Dumps logs into T430020: Setup and populate initial version of user_agents_info table.
Mon, Aug 3, 2:11 PM · Product-Analytics (Kanban), Data-Engineering
KCVelaga_WMF merged task T429280: Extend User-Agent classification to Dumps logs into T430020: Setup and populate initial version of user_agents_info table.
Mon, Aug 3, 2:11 PM · Product-Analytics, MediaWiki-API-Platform-Team
KCVelaga_WMF closed T430020: Setup and populate initial version of user_agents_info table as Resolved.
Mon, Aug 3, 2:10 PM · Product-Analytics (Kanban), Data-Engineering
KCVelaga_WMF added a project to T430020: Setup and populate initial version of user_agents_info table: Product-Analytics (Kanban).

The initial version of the table is setup and is being populated:

Mon, Aug 3, 2:10 PM · Product-Analytics (Kanban), Data-Engineering

Wed, Jul 29

KCVelaga_WMF updated the task description for T433509: Feature request: Enable dbt jobs to be scheduled hourly.
Wed, Jul 29, 4:34 PM · Data-Engineering
KCVelaga_WMF created T433509: Feature request: Enable dbt jobs to be scheduled hourly.
Wed, Jul 29, 3:35 PM · Data-Engineering

Thu, Jul 23

KCVelaga_WMF added a comment to T430637: Rerun baseline for PP3.4 by the end of Q1FY27.

Now that we're updating the bot detection model in the data platform, you should be able to run a query like:

select agent_type, count(*) as freq
from wmf_traffic.webrequest_v2 where dt >= make_timestamp(2026, 7, 2, 0, 0, 0) and dt < make_timestamp(2026, 7, 2, 1, 0, 0) and target.uri_host like "%developer.wikimedia.org%"
group by agent_type;

to get human pageviews for developer.wikimedia.org. Naturally you'll probably want to filter this down to specific URLs etc, which I think Halley will be able to inform.

Thu, Jul 23, 1:20 PM · Metrics-Sprint-2026-2027

Tue, Jul 21

KCVelaga_WMF updated the task description for T430020: Setup and populate initial version of user_agents_info table.
Tue, Jul 21, 4:26 PM · Product-Analytics (Kanban), Data-Engineering
KCVelaga_WMF closed T423320: [WE5.1, FY25-26] Ad-hoc analytics support for API rate limits rollout and potential impact, a subtask of T412585: Epic: Enforce API rate limits (WE5.1.3c), as Resolved.
Tue, Jul 21, 12:04 PM · MediaWiki-Core-Platform-Team (Radar), ServiceOps, Traffic, Epic, OKR-Work, MediaWiki-API-Platform-Team, FY2025-26 KR 5.1
KCVelaga_WMF closed T423320: [WE5.1, FY25-26] Ad-hoc analytics support for API rate limits rollout and potential impact as Resolved.

Great time supporting the rate limits roll-out. Resolving this now, we can have additional tasks for future rollouts.

Tue, Jul 21, 12:04 PM · Product-Analytics (Kanban), MediaWiki-Core-Platform-Team (Kanban)
KCVelaga_WMF added a comment to T423320: [WE5.1, FY25-26] Ad-hoc analytics support for API rate limits rollout and potential impact.
  • 2026-04-21: development of a few query templates for reuse
  • 2026-04-29: user agents had change significant changes in overall request volume or 429 errors (on 28 Apr compared to 27 Apr).
  • 2026-05-18: investigation of rl_null for various endpoints, in support of T419522.
Tue, Jul 21, 12:03 PM · Product-Analytics (Kanban), MediaWiki-Core-Platform-Team (Kanban)

Mon, Jul 20

KCVelaga_WMF added a comment to T405960: Fetch base wiki data from SiteMatrix or similar.

I am happy to review :) I will do that today/tomorrow.

Mon, Jul 20, 1:35 PM · Movement-Insights (FY26-27 H1), Analytics-Canonical-Data

Fri, Jul 17

KCVelaga_WMF updated the task description for T429341: dbt-jobs backfill: PP3 API hourly and known clients aggregate jobs.
Fri, Jul 17, 10:55 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics

Jul 8 2026

KCVelaga_WMF updated the task description for T429341: dbt-jobs backfill: PP3 API hourly and known clients aggregate jobs.
Jul 8 2026, 7:14 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics
KCVelaga_WMF added a comment to T431249: Add user_agent raw string to pageview_actor and pageview_hourly.

Can you please expand on the "track activity" part? I'd like to understand what we need to measure here so we can find the best table(s) to create and change.

It sounds like what you're looking for is: How many pageviews came from a particular client, whether that is a self-identified bot or assumed human, aggregated to hourly counts.

Is that it?

Jul 8 2026, 6:42 AM · Data-Engineering

Jul 6 2026

KCVelaga_WMF created T431249: Add user_agent raw string to pageview_actor and pageview_hourly.
Jul 6 2026, 8:17 AM · Data-Engineering
KCVelaga_WMF updated the task description for T431246: Add cache_status to pageview_actor table.
Jul 6 2026, 8:03 AM · Product-Analytics, Data-Engineering
KCVelaga_WMF created T431246: Add cache_status to pageview_actor table.
Jul 6 2026, 8:02 AM · Product-Analytics, Data-Engineering

Jul 3 2026

KCVelaga_WMF added a comment to T425087: Send JSON access logs for dumps.wikimedia.org to Kafka.

Hi @BTullis @Ottomata: can we move the schema out of development namespace to a permanent one, and also generate canary events?

Jul 3 2026, 6:24 AM · Data-Platform-SRE (2026-08-07 - 2026-08-28), tools-platform-team, Patch-For-Review, cloud-services-team, Data-Services

Jun 30 2026

KCVelaga_WMF added a comment to T430020: Setup and populate initial version of user_agents_info table.

That would mean we'd have to regularly import the JSON to be able to exact-match individual UAs against it, rather than extracting information from the UA ourselves like we currently do. Is that right?

I think this makes sense as a future improvement for user_agents_info, but we probably just want to file it as a follow-up ticket.

I do see that bot_name and bot_operator would be good to have.

About bot or agent, if I'm reading the link right, this one is less useful to us. It just means that Cloudflare is able to verify the identity of the bot and pass it on to its client for use in firewall rules. This is done not using the UA, but with IP lists or Web Bot Auth. Since we don't do the same verification, the field doesn't quite carry the same meaning.

Jun 30 2026, 1:20 PM · Product-Analytics (Kanban), Data-Engineering
KCVelaga_WMF added a comment to T430020: Setup and populate initial version of user_agents_info table.

I just had a chat with @Pablo - reviewing the Cloudflare's taxonomy.

Jun 30 2026, 10:21 AM · Product-Analytics (Kanban), Data-Engineering
KCVelaga_WMF updated the task description for T430020: Setup and populate initial version of user_agents_info table.
Jun 30 2026, 6:29 AM · Product-Analytics (Kanban), Data-Engineering

Jun 29 2026

KCVelaga_WMF added a comment to T430020: Setup and populate initial version of user_agents_info table.

Looks good to me!

I'm just wondering whether is_bot_like should be a subcategory under bot_category: semantically, it's a fallback that says "we think this is a bot, but we don't know how to categorize it".

Jun 29 2026, 4:01 PM · Product-Analytics (Kanban), Data-Engineering
KCVelaga_WMF added a comment to T430020: Setup and populate initial version of user_agents_info table.

I have the updated the proposed schema in the description based on the discussion and also additional stats columns.

Jun 29 2026, 12:11 PM · Product-Analytics (Kanban), Data-Engineering
KCVelaga_WMF updated the task description for T430020: Setup and populate initial version of user_agents_info table.
Jun 29 2026, 12:05 PM · Product-Analytics (Kanban), Data-Engineering
KCVelaga_WMF closed T430485: Add wme_metrics connection to analytics-airflow-product as Resolved.

Thanks to @BTullis for quick help on this; filing this task for posterity.

Jun 29 2026, 7:55 AM · Data-Platform-SRE (2026-06-05 - 2026-06-26)
KCVelaga_WMF added a parent task for T430485: Add wme_metrics connection to analytics-airflow-product: Unknown Object (Task).
Jun 29 2026, 7:55 AM · Data-Platform-SRE (2026-06-05 - 2026-06-26)
KCVelaga_WMF created T430485: Add wme_metrics connection to analytics-airflow-product.
Jun 29 2026, 7:54 AM · Data-Platform-SRE (2026-06-05 - 2026-06-26)

Jun 26 2026

KCVelaga_WMF added a comment to T430020: Setup and populate initial version of user_agents_info table.

Are we going to store only bot-like User-Agents or all of them? Maybe, since we can not extract contact/agent/policy information from them and they are also not useful for KAPOW, we might not want to store them to save storage space.

Jun 26 2026, 9:18 AM · Product-Analytics (Kanban), Data-Engineering

Jun 24 2026

KCVelaga_WMF added a comment to T428550: Classify requests to developer.wikimedia.org as pageviews.

This will make it much easier to calculate the required metrics downstream, rather than aggregating from webrequest. Thanks for proposing this @GGoncalves-WMF.

Jun 24 2026, 11:33 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th)
KCVelaga_WMF created T430020: Setup and populate initial version of user_agents_info table.
Jun 24 2026, 8:26 AM · Product-Analytics (Kanban), Data-Engineering

Jun 23 2026

KCVelaga_WMF added a comment to T429280: Extend User-Agent classification to Dumps logs.

Summary of planned changes from Slack discussion

Jun 23 2026, 8:53 AM · Product-Analytics, MediaWiki-API-Platform-Team

Jun 22 2026

KCVelaga_WMF added a parent task for T422880: Dumps user identification monitoring: Unknown Object (Task).
Jun 22 2026, 7:10 AM · Product-Analytics, MediaWiki-API-Platform-Team
KCVelaga_WMF closed T427474: Request for backfill of webrequest with is_api_request and ip_provenance columns as Declined.

Note: We have decided not to backfill webrequest. The other task for dbt jobs backfill is already in progress: T429341

Jun 22 2026, 7:08 AM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)
KCVelaga_WMF added a parent task for T429341: dbt-jobs backfill: PP3 API hourly and known clients aggregate jobs: Unknown Object (Task).
Jun 22 2026, 7:08 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics

Jun 19 2026

KCVelaga_WMF added a comment to T429280: Extend User-Agent classification to Dumps logs.

I don't have a strong opinion on "one row per source", that's sensible if you two agree to it :) For what it's worth, in KAPOW, we'll probably not care about what is the source of a UA, we'd just join to that table based on (unique) UAs.
Let me try to flesh out the resulting table, then. How do you feel about something like this?

user_agentsourceuser_agent_mapcontact_methodcontact_infoua_policy_compliance_levelcategoryagentts
Jun 19 2026, 3:05 PM · Product-Analytics, MediaWiki-API-Platform-Team
KCVelaga_WMF added a comment to T429341: dbt-jobs backfill: PP3 API hourly and known clients aggregate jobs.

I've started backfilling wmf_traffic.mrt_api_requests_hourly and one day's backfill takes about half an hour. That means the first batch 2026-02-01 to 2026-03-31 will be done in approx. 30 hours.

Jun 19 2026, 8:50 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics
KCVelaga_WMF updated the task description for T429341: dbt-jobs backfill: PP3 API hourly and known clients aggregate jobs.
Jun 19 2026, 8:26 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics

Jun 18 2026

KCVelaga_WMF moved T429341: dbt-jobs backfill: PP3 API hourly and known clients aggregate jobs from Triage to Tracking on the Product-Analytics board.
Jun 18 2026, 4:17 PM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics
KCVelaga_WMF added a comment to T429280: Extend User-Agent classification to Dumps logs.

@JAllemandou and I discussed about the schema changes on Slack.

Jun 18 2026, 3:46 PM · Product-Analytics, MediaWiki-API-Platform-Team
KCVelaga_WMF updated the task description for T429341: dbt-jobs backfill: PP3 API hourly and known clients aggregate jobs.
Jun 18 2026, 7:57 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics

Jun 17 2026

KCVelaga_WMF updated the task description for T429341: dbt-jobs backfill: PP3 API hourly and known clients aggregate jobs.
Jun 17 2026, 7:52 PM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics
KCVelaga_WMF added a comment to T429280: Extend User-Agent classification to Dumps logs.

I think it makes sense to have one canonical table that contains structured data for the User-Agents we've seen anywhere (dumps logs as well as webrequest). We'd probably still want to keep the original source as a dimension to allow you to do analysis on dumps alone.

Jun 17 2026, 2:15 PM · Product-Analytics, MediaWiki-API-Platform-Team
KCVelaga_WMF added a comment to T427474: Request for backfill of webrequest with is_api_request and ip_provenance columns.

@JAllemandou @KCVelaga_WMF can you provide an update on the progress?

Jun 17 2026, 8:41 AM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)

Jun 16 2026

KCVelaga_WMF added a comment to T429280: Extend User-Agent classification to Dumps logs.

How do we currently compute user_agent_compliance_classified_hourly? Is this logic still in a notebook?

Jun 16 2026, 4:30 PM · Product-Analytics, MediaWiki-API-Platform-Team
KCVelaga_WMF triaged T429341: dbt-jobs backfill: PP3 API hourly and known clients aggregate jobs as High priority.
Jun 16 2026, 1:44 PM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics
KCVelaga_WMF created T429341: dbt-jobs backfill: PP3 API hourly and known clients aggregate jobs.
Jun 16 2026, 1:44 PM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics
KCVelaga_WMF closed T427840: Create API and User-Agent compliance related tables under wmf_traffic, a subtask of T419522: Create an MVP data product of API requests, as Resolved.
Jun 16 2026, 7:54 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics (Kanban), Patch-For-Review
KCVelaga_WMF closed T427840: Create API and User-Agent compliance related tables under wmf_traffic as Resolved.
Jun 16 2026, 7:54 AM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)
KCVelaga_WMF updated subscribers of T429280: Extend User-Agent classification to Dumps logs.
Jun 16 2026, 5:58 AM · Product-Analytics, MediaWiki-API-Platform-Team
KCVelaga_WMF updated subscribers of T429280: Extend User-Agent classification to Dumps logs.

@JAllemandou @GGoncalves-WMF can you please review this and what do you think about the proposed approach?

Jun 16 2026, 5:58 AM · Product-Analytics, MediaWiki-API-Platform-Team
KCVelaga_WMF created T429280: Extend User-Agent classification to Dumps logs.
Jun 16 2026, 5:57 AM · Product-Analytics, MediaWiki-API-Platform-Team

Jun 11 2026

KCVelaga_WMF added a comment to T425087: Send JSON access logs for dumps.wikimedia.org to Kafka.

Great! How much more testing to we have to do before promoting the schema from the development namespace, and who should make that call?

Thank you all for working on this. I can explore the data today or Monday and report back. Not sure about the schema decision though.

Jun 11 2026, 6:30 AM · Data-Platform-SRE (2026-08-07 - 2026-08-28), tools-platform-team, Patch-For-Review, cloud-services-team, Data-Services

Jun 9 2026

KCVelaga_WMF updated KCVelaga_WMF.
Jun 9 2026, 7:30 AM

Jun 5 2026

KCVelaga_WMF added a comment to T425087: Send JSON access logs for dumps.wikimedia.org to Kafka.

Great! How much more testing to we have to do before promoting the schema from the development namespace, and who should make that call?

Jun 5 2026, 9:47 AM · Data-Platform-SRE (2026-08-07 - 2026-08-28), tools-platform-team, Patch-For-Review, cloud-services-team, Data-Services

Jun 4 2026

KCVelaga_WMF added a comment to T427840: Create API and User-Agent compliance related tables under wmf_traffic.

Summarizing the conversation we just had with @KCVelaga_WMF :

  • KC owns the schedule to move the HQL and DAGs to the analytics folders, I help him with reviews and operations.
  • KC will ask the DE team about pyspark jobs repository. The DE team only have a specific pyspark job today (content_history) and uses only HQL and scala. Discussion needs to happen about if we wish to own pyspark jobs or have everything in java/scala (I'm in favor of having pyspark jobs too :), if we agree that we should have pyspark jobs, how we organize them (one repo, multi repos, with HQL or seprated etc).
Jun 4 2026, 9:58 AM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)
KCVelaga_WMF added a comment to T427840: Create API and User-Agent compliance related tables under wmf_traffic.

We talked with @GGoncalves-WMF yesterday, and we think that since the data could be defined as "core datasets", it would be a good idea to have it within the analytics realm.
For schema definition and HQL jobs, the place would be the HQL folder of the refinery repo .

Jun 4 2026, 8:41 AM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)

Jun 3 2026

KCVelaga_WMF added a comment to T427840: Create API and User-Agent compliance related tables under wmf_traffic.

Hm, I wonder what would be best here: give analytics-product write writes or move the jobs to the analytics realm.
Ping @Ahoelzl and @GGoncalves-WMF on this.
Note: the table definitions (schemas and jobs) for so called "production" tables is now spread across multiple repos, with different conventions. I'd really like if we could define common practice for all this.

Jun 3 2026, 6:21 AM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)

Jun 2 2026

KCVelaga_WMF added a comment to T427840: Create API and User-Agent compliance related tables under wmf_traffic.

@JAllemandou and I had a quick meeting, reviewing the outputs from test runs, which was very useful - thanks Joseph! We decided on the following:

Jun 2 2026, 9:06 AM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)
KCVelaga_WMF added a comment to T427840: Create API and User-Agent compliance related tables under wmf_traffic.

@KCVelaga_WMF : I don't understand why you use explicit (year, month, day, hour) partitioning for those tables when we have iceberg. You should use a timestamp field, and a function over this timestamp to partition, even if the partitioning is hourly. It'll make querying a lot easier.

Jun 2 2026, 8:21 AM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)

Jun 1 2026

KCVelaga_WMF updated the task description for T427840: Create API and User-Agent compliance related tables under wmf_traffic.
Jun 1 2026, 6:38 PM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)
KCVelaga_WMF added a comment to T427840: Create API and User-Agent compliance related tables under wmf_traffic.

Also, for future use cases, if it isn't an issue, can we consider enabling analytics-product user to be able to create tables under wmf_traffic?

Jun 1 2026, 6:34 PM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)
KCVelaga_WMF updated subscribers of T427840: Create API and User-Agent compliance related tables under wmf_traffic.

@amastilovic @JAllemandou can one of you help with this please? As you are closest to this work.

Jun 1 2026, 6:32 PM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)
KCVelaga_WMF created T427840: Create API and User-Agent compliance related tables under wmf_traffic.
Jun 1 2026, 6:30 PM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)
KCVelaga_WMF added a comment to T427474: Request for backfill of webrequest with is_api_request and ip_provenance columns.

Sounds good.

Jun 1 2026, 7:07 AM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)

May 29 2026

KCVelaga_WMF added a comment to T427474: Request for backfill of webrequest with is_api_request and ip_provenance columns.

@JAllemandou That should work. This is the DAG I wrote for that: refine_api_requests_hourly_dag.py

May 29 2026, 7:48 AM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)

May 28 2026

KCVelaga_WMF changed the edit policy for T427474: Request for backfill of webrequest with is_api_request and ip_provenance columns.
May 28 2026, 7:43 AM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)
KCVelaga_WMF created T427474: Request for backfill of webrequest with is_api_request and ip_provenance columns.
May 28 2026, 7:42 AM · Data-Engineering (Q4 FS25/26 April 1st - June 30st)

May 19 2026

KCVelaga_WMF moved T419522: Create an MVP data product of API requests from Next 2 weeks to Doing on the Product-Analytics (Kanban) board.
May 19 2026, 7:55 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics (Kanban), Patch-For-Review
KCVelaga_WMF moved T419522: Create an MVP data product of API requests from Next Up to In progress on the Data-Engineering (Q4 FS25/26 April 1st - June 30st) board.
May 19 2026, 7:55 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics (Kanban), Patch-For-Review
KCVelaga_WMF triaged T419522: Create an MVP data product of API requests as High priority.
May 19 2026, 7:54 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics (Kanban), Patch-For-Review
KCVelaga_WMF changed the status of T419522: Create an MVP data product of API requests from Open to In Progress.
May 19 2026, 7:54 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics (Kanban), Patch-For-Review

May 18 2026

KCVelaga_WMF updated subscribers of T419522: Create an MVP data product of API requests.
May 18 2026, 7:20 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics (Kanban), Patch-For-Review
KCVelaga_WMF updated subscribers of T419522: Create an MVP data product of API requests.
May 18 2026, 7:20 AM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics (Kanban), Patch-For-Review

May 1 2026

KCVelaga_WMF claimed T419522: Create an MVP data product of API requests.

As per discussions, I will be taking this up with DPE support (from @amastilovic).

May 1 2026, 4:22 PM · Data-Engineering (Q1 FS26/27 July 1st - September 30th), Product-Analytics (Kanban), Patch-For-Review

Apr 24 2026

KCVelaga_WMF added a comment to T423407: StarterKit Dashboard: Activity & Growth.

API for article topics model output: https://api.wikimedia.org/wiki/Lift_Wing_API/Reference/Get_articletopic_outlink_prediction

Apr 24 2026, 6:50 AM · LPL Onboarding and Development, LPL Projects (Starter kit MVP), Starter Kit