Page MenuHomePhabricator

AQS 2.0: Page Analytics Service: Deploy to staging and production
Closed, ResolvedPublic

Description

Background/Goal

Key task for Epic T288296: AQS 2.0: Page Analytics Service

Required:

  • Add blubber and pipeline configuration to page-analytics repo (blubber.yaml and config.yaml) (merged)
  • Integrate page-analytics image building in CI pipeline
  • Add page-analytics Cassandra user
  • Add k8s secrets
  • Create deployment-charts helmfile.d configuration entries
  • Run smoke tests against staging and certify service is working properly
  • Add service catalogue entry for page-analytics
  • Deploy page-analytics to LVS in state service_setup
  • Move page-analytics lvs_setup in LVS
  • Move page-analytics production in LVS
  • Add page-analytics to the API Gateway
  • Route public requests via ATS

Event Timeline

Change 955946 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[generated-data-platform/aqs/editor-analytics@main] Add working blubber file and config

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

Change 955948 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[integration/config@master] zuul: add editor-analytics

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

Change 955953 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[integration/config@master] jjb: add editor-analytics

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

Change 955953 merged by jenkins-bot:

[integration/config@master] jjb: add editor-analytics

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

Change 955948 merged by jenkins-bot:

[integration/config@master] zuul: add editor-analytics

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

Change 955946 merged by Santiago Faci:

[generated-data-platform/aqs/editor-analytics@main] Add working blubber file and config

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

Change 956912 had a related patch set uploaded (by Santiago Faci; author: Santiago Faci):

[generated-data-platform/aqs/page-analytics@main] Ready to be dockerized for deployment and QA purposes

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

Sfaci triaged this task as Medium priority.Sep 12 2023, 3:31 PM
Sfaci updated the task description. (Show Details)
Sfaci raised the priority of this task from Medium to High.Sep 12 2023, 3:40 PM

Change 956912 merged by Santiago Faci:

[generated-data-platform/aqs/page-analytics@main] Ready to be dockerized for deployment and QA purposes

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

Please let me know which Cassandra tables the service will need access to

Change 961774 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] k8s, cassandra: add entries for {edit,editor,page}-analytics

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

  • page-analytics cassandra tables:
    • local_group_default_T_pageviews_per_project_v2
    • local_group_default_T_lgc_pagecounts_per_project
    • local_group_default_T_pageviews_per_article_flat
    • local_group_default_T_top_bycountry
    • local_group_default_T_top_pageviews
    • local_group_default_T_top_percountry

Change 961777 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[integration/config@master] jjb: add editor-analytics, edit-analytics and page-analytics

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

Change 961778 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[integration/config@master] zuul: add edit-analytics and page-analytics

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

Change 961782 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/deployment-charts@master] admin: add namespaces for remaining aqs2 services, add config for page-analytics

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

Change 961777 merged by jenkins-bot:

[integration/config@master] jjb: add editor-analytics, edit-analytics and page-analytics

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

Change 961778 merged by jenkins-bot:

[integration/config@master] zuul: add edit-analytics and page-analytics

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

Change 961774 merged by Hnowlan:

[operations/puppet@production] k8s, cassandra: add entries for {edit,editor,page}-analytics

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

Change 962570 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] service: add {edit,editor,page}-analytics services

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

Change 961782 merged by jenkins-bot:

[operations/deployment-charts@master] admin: add namespaces for remaining aqs2 services, add config for page-analytics

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

Change 963106 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/dns@master] wmnet: add records for edit-, editor- and page-analytics

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

Change 963106 merged by Hnowlan:

[operations/dns@master] wmnet: add records for edit-, editor- and page-analytics

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

Change 962570 merged by Hnowlan:

[operations/puppet@production] service: add {edit,editor,page}-analytics services

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

Change 964044 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/deployment-charts@master] rest-gateway: route edit-,editor- and page-analytics

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

Change 964044 merged by jenkins-bot:

[operations/deployment-charts@master] rest-gateway: route edit-,editor- and page-analytics

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

Change 964923 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] service: change state to production for {edit,editor,page}-analytics

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

Change 964923 merged by Hnowlan:

[operations/puppet@production] service: change state to production for {edit,editor,page}-analytics

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

Change 964946 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] trafficserver: route pageviews to page-analytics

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

Change 964946 merged by Hnowlan:

[operations/puppet@production] trafficserver: route pageviews to page-analytics

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

Change 965184 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] trafficserver: correct pageviews paths

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

Change 965184 merged by Hnowlan:

[operations/puppet@production] trafficserver: correct pageviews paths

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

hnowlan updated the task description. (Show Details)

To fully migrate to page-analytics so as to be able to deprecate AQS1, it is required that changes be made to wikifeeds and Mediawiki. Currently requests are still hitting the old AQS pageviews endpoint coming from appservers and wikifeeds instances - these are outside the scope of this ticket.