[go: nahoru, domu]

Page MenuHomePhabricator

ApiFeatureUsageComponent
ActivePublic

Members

  • This project does not have any members.
  • View All

Watchers (1)

Details

Description

Access a summary of API feature usage logs by user agent. For more information, see the extension wiki page.

Recent Activity

Fri, Aug 30

ReleaseTaggerBot edited projects for T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage, added: MW-1.43-notes (1.43.0-wmf.21; 2024-09-03); removed MW-1.43-notes (1.43.0-wmf.15; 2024-07-23).
Fri, Aug 30, 2:00 AM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
gerritbot added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

Change #1058672 merged by jenkins-bot:

[mediawiki/core@master] api: make ApiMain::getUserAgent() only use api-user-agent when set

https://gerrit.wikimedia.org/r/1058672

Fri, Aug 30, 1:07 AM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
gerritbot added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

Change #1058672 had a related patch set uploaded (by Krinkle; author: Aaron Schulz):

[mediawiki/core@master] api: make ApiMain::getUserAgent() only use api-user-agent when set

https://gerrit.wikimedia.org/r/1058672

Fri, Aug 30, 12:38 AM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Jul 29 2024

aaron updated the task description for T371150: Finalize and create api_feature_usage table on x1.
Jul 29 2024, 7:02 PM · ApiFeatureUsage

Jul 26 2024

Peachey88 added a project to T371150: Finalize and create api_feature_usage table on x1: ApiFeatureUsage.
Jul 26 2024, 10:07 PM · ApiFeatureUsage
gerritbot added a project to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage: Patch-For-Review.
Jul 26 2024, 9:09 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
gerritbot added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

Change #1057269 had a related patch set uploaded (by Aaron Schulz; author: Aaron Schulz):

[mediawiki/extensions/ApiFeatureUsage@master] Various improvements to ApiFeatureUsageQueryEngineSql

https://gerrit.wikimedia.org/r/1057269

Jul 26 2024, 9:09 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Jul 25 2024

Ladsgroup added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

Creating new tables needs to be signed off by a DBA beforehand: https://wikitech.wikimedia.org/wiki/Creating_new_tables

Jul 25 2024, 4:43 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
aaron updated the task description for T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.
Jul 25 2024, 4:38 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Jul 18 2024

ReleaseTaggerBot edited projects for T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage, added: MW-1.43-notes (1.43.0-wmf.15; 2024-07-23); removed MW-1.43-notes (1.43.0-wmf.10; 2024-06-18).
Jul 18 2024, 1:00 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
Maintenance_bot removed a project from T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage: Patch-For-Review.
Jul 18 2024, 12:32 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
gerritbot added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

Change #1020385 merged by jenkins-bot:

[mediawiki/extensions/ApiFeatureUsage@master] Add option to use a SQL table instead of ElasticSearch

https://gerrit.wikimedia.org/r/1020385

Jul 18 2024, 12:09 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Jun 14 2024

ReleaseTaggerBot added a project to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage: MW-1.43-notes (1.43.0-wmf.10; 2024-06-18).
Jun 14 2024, 8:00 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
gerritbot added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

Change #1020383 merged by jenkins-bot:

[mediawiki/core@master] Add ApiLogFeatureUsage hook

https://gerrit.wikimedia.org/r/1020383

Jun 14 2024, 7:13 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Apr 16 2024

gerritbot added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

Change #1020385 had a related patch set uploaded (by Aaron Schulz; author: Aaron Schulz):

[mediawiki/extensions/ApiFeatureUsage@master] WIP: add option to use a SQL table instead of ElasticSearch

https://gerrit.wikimedia.org/r/1020385

Apr 16 2024, 10:30 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
gerritbot added a project to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage: Patch-For-Review.
Apr 16 2024, 10:28 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
gerritbot added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

Change #1020383 had a related patch set uploaded (by Aaron Schulz; author: Aaron Schulz):

[mediawiki/core@master] [WIP] Add ApiLogFeatureUsage hook

https://gerrit.wikimedia.org/r/1020383

Apr 16 2024, 10:28 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Apr 10 2024

FJoseph-WMF moved T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage from Backlog (Triaged and Ready) to In Progress on the MW-Interfaces-Team board.
Apr 10 2024, 4:00 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Apr 9 2024

FJoseph-WMF changed the status of T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage from Open to In Progress.
Apr 9 2024, 1:56 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Apr 5 2024

PerfektesChaos created T361917: API docs: Use "registered"/"anonymous" instead of "logged-in"/"logged-out".
Apr 5 2024, 9:14 AM · Voice & Tone, Patch-For-Review, MediaWiki-Action-API, good first task

Feb 29 2024

daniel triaged T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage as Medium priority.
Feb 29 2024, 4:47 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Feb 23 2024

Maintenance_bot removed a project from T325880: Figure out who owns apifeatureusage[12]001 servers: Patch-For-Review.
Feb 23 2024, 4:31 PM · Discovery-Search, User-bd808, Platform Engineering, ApiFeatureUsage, SRE Observability, observability
gerritbot added a comment to T325880: Figure out who owns apifeatureusage[12]001 servers.

Change 869582 abandoned by Gehel:

[operations/puppet@production] ApiFeatureUsage logstash servers are owned by Observability.

Reason:

https://gerrit.wikimedia.org/r/869582

Feb 23 2024, 3:36 PM · Discovery-Search, User-bd808, Platform Engineering, ApiFeatureUsage, SRE Observability, observability

Feb 8 2024

FJoseph-WMF moved T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage from Incoming (Needs Triage) to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Feb 8 2024, 4:21 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Jan 30 2024

aaron added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

Yes, That's how other pruning of old rows works in mediawiki (RC, CU, etc.) and for the sake of simplicity of architecture, it should just reuse the same concepts if not the same code.

Jan 30 2024, 10:08 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
Ladsgroup added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

Even for simple idempotent events like pruning some oldest X expired rows with a limit, where even some divergence would be temporary and not matter in terms of data-integrity?

Yes. It's not just replication, there are many more pieces in our infra.

In any case, I'm fine with having periodic pruning on the INSERT/UPDATE. My main preference is to not have it tied to the special page SELECT.

Yes, That's how other pruning of old rows works in mediawiki (RC, CU, etc.) and for the sake of simplicity of architecture, it should just reuse the same concepts if not the same code.

Jan 30 2024, 11:31 AM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
Ladsgroup added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

Not to mention we just had a page due to the switchover.

Jan 30 2024, 8:24 AM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
Marostegui added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

The circular replication is quite a snowflake and has caused issues before, I'd avoid it if possible.

I'm curious what those issues are, since we use it for the mainstash DB on x2. Are there tasks that mention them?

Jan 30 2024, 8:20 AM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
aaron added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

The circular replication is quite a snowflake and has caused issues before, I'd avoid it if possible.

Jan 30 2024, 1:30 AM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Jan 25 2024

aaron added a project to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage: MW-Interfaces-Team.
Jan 25 2024, 5:38 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
Ladsgroup added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

I'd rather not have the writes be cross-datacenter, tying up the working thread in the post-send stage of web requests, especially given the potential for spikes. If there was some aggregation service in the middle (batching/flushing counter updates), that would less risky, though more complex.

Maybe this could use circular replication similar like x2? It probably could just use x2, given the modest traffic there similar needs. The AUTOINCREMENT column would have to be removed. The write queries would use an "INSERT ON DUPLICATE KEY UPDATE" that would naturally merge any conflicting updates from different replication sources.

Jan 25 2024, 2:08 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
aaron added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

I'd rather not have the writes be cross-datacenter, tying up the working thread in the post-send stage of web requests, especially given the potential for spikes. If there was some aggregation service in the middle (batching/flushing counter updates), that would less risky, though more complex.

Jan 25 2024, 5:14 AM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Jan 8 2024

Krinkle added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

The ApiFeatureUsage extension, or more specifically the SpecialPage frontend and Action API module, ultimately just need a table with incrementing counters.

Jan 8 2024, 7:42 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Dec 3 2023

Theknightwho created T352612: Purging pages with API now requires a POST request.
Dec 3 2023, 6:31 AM · MediaWiki-Page-derived-data

Oct 8 2023

RKemper created T348418: Reboot apifeatureusage* hosts.
Oct 8 2023, 10:46 PM · Data-Platform-SRE

Sep 18 2023

Umherirrender closed T346482: Update ApiFeatureUsage to use the new HookContainer/HookRunner system as Resolved.
Sep 18 2023, 5:52 PM · MW-1.41-notes (1.41.0-wmf.27; 2023-09-19), Core Platform Team Initiatives (New Hook System), ApiFeatureUsage
ReleaseTaggerBot added a project to T346482: Update ApiFeatureUsage to use the new HookContainer/HookRunner system: MW-1.41-notes (1.41.0-wmf.27; 2023-09-19).
Sep 18 2023, 11:00 AM · MW-1.41-notes (1.41.0-wmf.27; 2023-09-19), Core Platform Team Initiatives (New Hook System), ApiFeatureUsage
Maintenance_bot removed a project from T346482: Update ApiFeatureUsage to use the new HookContainer/HookRunner system: Patch-For-Review.
Sep 18 2023, 10:33 AM · MW-1.41-notes (1.41.0-wmf.27; 2023-09-19), Core Platform Team Initiatives (New Hook System), ApiFeatureUsage
gerritbot added a comment to T346482: Update ApiFeatureUsage to use the new HookContainer/HookRunner system.

Change 958021 merged by jenkins-bot:

[mediawiki/extensions/ApiFeatureUsage@master] Use HookHandlers for core hook

https://gerrit.wikimedia.org/r/958021

Sep 18 2023, 10:20 AM · MW-1.41-notes (1.41.0-wmf.27; 2023-09-19), Core Platform Team Initiatives (New Hook System), ApiFeatureUsage

Sep 16 2023

Umherirrender claimed T346482: Update ApiFeatureUsage to use the new HookContainer/HookRunner system.
Sep 16 2023, 10:02 PM · MW-1.41-notes (1.41.0-wmf.27; 2023-09-19), Core Platform Team Initiatives (New Hook System), ApiFeatureUsage
Umherirrender added a parent task for T346482: Update ApiFeatureUsage to use the new HookContainer/HookRunner system: T263353: Update all Wikimedia production extensions to use the new HookContainer/HookRunner system.
Sep 16 2023, 10:01 PM · MW-1.41-notes (1.41.0-wmf.27; 2023-09-19), Core Platform Team Initiatives (New Hook System), ApiFeatureUsage
gerritbot added a project to T346482: Update ApiFeatureUsage to use the new HookContainer/HookRunner system: Patch-For-Review.
Sep 16 2023, 9:43 PM · MW-1.41-notes (1.41.0-wmf.27; 2023-09-19), Core Platform Team Initiatives (New Hook System), ApiFeatureUsage
gerritbot added a comment to T346482: Update ApiFeatureUsage to use the new HookContainer/HookRunner system.

Change 958021 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/ApiFeatureUsage@master] Use HookHandlers for core hook

https://gerrit.wikimedia.org/r/958021

Sep 16 2023, 9:43 PM · MW-1.41-notes (1.41.0-wmf.27; 2023-09-19), Core Platform Team Initiatives (New Hook System), ApiFeatureUsage
Umherirrender created T346482: Update ApiFeatureUsage to use the new HookContainer/HookRunner system.
Sep 16 2023, 9:43 PM · MW-1.41-notes (1.41.0-wmf.27; 2023-09-19), Core Platform Team Initiatives (New Hook System), ApiFeatureUsage

Jul 18 2023

lmata moved T325880: Figure out who owns apifeatureusage[12]001 servers from Inbox to Radar on the observability board.
Jul 18 2023, 11:09 PM · Discovery-Search, User-bd808, Platform Engineering, ApiFeatureUsage, SRE Observability, observability

Jul 11 2023

Aklapper changed the edit policy for ApiFeatureUsage.
Jul 11 2023, 6:45 PM

Jun 15 2023

thiemowmde renamed T186849: ApiFeatureUsage extension has no PHPUnit tests from ApiFeatureUsage extension has no tests to ApiFeatureUsage extension has no PHPUnit tests.
Jun 15 2023, 9:31 AM · Test-Coverage, Technical-Debt, ApiFeatureUsage

May 25 2023

hashar placed T302638: Sunset ApiFeatureUsage (TDMP) up for grabs.
May 25 2023, 12:39 PM · ApiFeatureUsage, tech-decision-forum

Mar 28 2023

lmata moved T325880: Figure out who owns apifeatureusage[12]001 servers from Inbox to Radar on the SRE Observability board.
Mar 28 2023, 8:27 PM · Discovery-Search, User-bd808, Platform Engineering, ApiFeatureUsage, SRE Observability, observability

Mar 16 2023

Gehel triaged T325880: Figure out who owns apifeatureusage[12]001 servers as High priority.
Mar 16 2023, 7:30 PM · Discovery-Search, User-bd808, Platform Engineering, ApiFeatureUsage, SRE Observability, observability