Skip to content

Transition links from LB UI to YDB UI (inspect topic data) #2318

@ElenaAfina

Description

@ElenaAfina

Add transition links from LB UI Partitions Tab to YDB UI Data Tab for topic.
Design here #2231.

Caption for link is "View topic data in YDB UI".

Link targets:

  1. If Original cluster = Target cluster, link should lead to the topic in this cluster
  2. If Original cluster != Target cluster, link should lead to the topic in target cluster, mirrored from original cluster. Rules for mirrored topic names see below (<name of original topic>-mirrored-from-<original cluster>).

Rules for entities match:

  1. Clusters
    <cluster> - value from Original cluster or Target cluster column
    Rules for getting cluster name in YDB UI from cluster in LogBroker:
    1.1. For logbroker federation: Cluster in YDB UI = LBK <cluster>, for example LBK sas
    1.2. For logbroker federation prestable: LBK PREPROD <cluster>, for example LBK PREPROD sas
    1.3. For LBKX: LBKX
    1.4. For LBKX prestable: LBKXT PREPROD
    Disclamer: Here Cluster in YDB UI = Name of cluster from page https://monitoring.ydb.yandex-team.ru/clusters, there is another cluster name in url (prod: lbk-sas, kikimr_lbk_vla, lbk-klg; preprod: lbkp-sas, lbkp-vla, lbkp-klg; cross-dc: lbkx, lbkxt)
  2. Database path: /Root/logbroker-federation/<account>, for example /Root/logbroker-federation/bigb
  3. Topic: full topic name (including directories, without account), for example production/all-query-log, where production is a directory which contains topic all-query-log
  4. Mirrored topics have complex names: <name of original topic>-mirrored-from-<original cluster>, for example feeds-mirrored-from-klg
  5. Partition: value from Partition ID column. This value should be selected in filter Partition in YDB UI

Example for access-log topic of bigb account (for sas cluster): links from this topic in LB UI should lead to this topic in YDB UI

Metadata

Metadata

Assignees

Labels

area/topicsFor issues about YDB Topicsarea/uxIssues to improve UX. Mainly research follow-ups

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions