Skip to content

Add link to tap each row in top table#1643

Merged
klingerf merged 2 commits intomasterfrom
kl/tap-link
Sep 14, 2018
Merged

Add link to tap each row in top table#1643
klingerf merged 2 commits intomasterfrom
kl/tap-link

Conversation

@klingerf
Copy link
Contributor

This branch updates the TopEventTable component with a column to tap each row in the table. It looks like this:

image

Clicking on the icon takes you to the tap page with the form fields pre-populated with metadata from the top row, and it starts the tap immediately on page load.

Fixes #1461.

@klingerf klingerf self-assigned this Sep 14, 2018
@klingerf klingerf requested a review from rmars September 14, 2018 02:35
Copy link
Contributor

@dadjeibaah dadjeibaah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look great! Thanks for adding this! 📦

Copy link

@rmars rmars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌟 🚀 nicccceeee!

title: "Tap",
key: "tap",
className: "numeric",
width: topMetricColWidth,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how do you feel about 30px here? The column spacing feels a little wide.

screen shot 2018-09-14 at 10 29 11 am

let toNamespace = "";
let toResource = "";

if (_.has(d.destinationLabels, resourceType)) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we care about doing the same fallback to pod here as we do for the sourceLabels? Or is it less important because a tap can be done without the to resources?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, that's a good point -- I'll the fallback to pods for consistency.

Copy link

@rmars rmars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐑

@klingerf klingerf merged commit 0992af6 into master Sep 14, 2018
@klingerf klingerf deleted the kl/tap-link branch September 14, 2018 21:36
zachalbert added a commit to zachalbert/linkerd2 that referenced this pull request Sep 15, 2018
* master:
  Move more info from the tap table into the expanded row (linkerd#1641)
  `linkerd check` sends params on version check (linkerd#1642)
  Bikeshed the tap and top icons (linkerd#1637)
  Add link to tap each row in top table (linkerd#1643)
  Bump default check retry time to 5 minutes (linkerd#1645)
  Make wait=true a default option for check and dashboard (linkerd#1640)
  Add version check to Grafana dashboard (linkerd#1638)
  Add data plane check for metrics Prometheus (linkerd#1635)
@rmars rmars mentioned this pull request Sep 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants