hashicorp / hashicorp/consul

Topology with remote datacenters too

Open
#9,171 2 comments 7 reactions 0 assignees View on GitHub
theme/connect theme/ui
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

**Old UI or New UI**

New UI with Consul 1.9.0-beta3.

**Describe the problem you're having**
The topology UI is a really interesting view to help people understanding how the mesh connections are linked. There is a little _information_ icon on the downstream which let you know what only services within the same datacenters are shown.
On the upstream (right side), there's isn't such icon, so I was hopping to see all upstreams, even the one declared within another datacenter.

In my example I have a _ratings_ service declared in another DC _native2_ which isn't shown:
![Screenshot_2020-11-12 productpage - Consul](https://user-images.githubusercontent.com/1081566/98923525-0c1fa800-24d4-11eb-8a04-df2a5fb3c8a0.png)

I can see the API endpoint does not return the list of upstreams from another DC.

**Describe the solution you'd like**
I would like to see the upstreams services in any datacenter, not only the local one. Simply have extra boxes on the right hand side per datacenter with their respective services in it.
![Screenshot_2020-11-12 productpage - Consul](https://user-images.githubusercontent.com/1081566/98924193-da5b1100-24d4-11eb-8e20-770d970e3992.png)

Contributor guide

Open the contributing guide

Research direction

Start at the topology UI and the API endpoint that currently returns upstreams, then trace where results are limited to the local datacenter. Done means upstream services from other datacenters appear in separate right-hand boxes with their respective services, while preserving the existing topology view.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, distributed-systems, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.