Docs: Allow users to view query plans in the Web UI

Created on 18 Oct 2017  路  10Comments  路  Source: cockroachdb/docs

Background: https://airtable.com/tblD3oZPLJgGhCmch/viwINAgXA5on9pr2T/recijX3LQyP2EvCF8
PM: @piyush-singh
Eng partners: @couchand, @vilterp

PRs:

A-observability P-1

Most helpful comment

Yes, the UI docs are up-to-date with the current implementation. Since I worked on this issue for an alpha release, I wanted to keep the issue open for tracking purposes (in case we tweak the implementation before the final release).

All 10 comments

This has been moved to 2.2.

From @celiala 's email:

Logical Plans: Cluster Settings

sql.metrics.statement_details.plan_collection.enabled

  • Boolean, default is true
  • Specifies whether to periodically save a logical plan for each fingerprint

sql.metrics.statement_details.plan_collection.period

  • Duration, default is 5 minutes
  • The time until a new logical plan is collected (e.g. how often we sample a new logical plan for a particular fingerprint)

The logical plan is the recent sample but the latency is an average of all SQL statements forming the fingerprint.

@Amruta-Ranade, can you give a quick update on this project? I know it's at least partially done.

Yes, the UI docs are up-to-date with the current implementation. Since I worked on this issue for an alpha release, I wanted to keep the issue open for tracking purposes (in case we tweak the implementation before the final release).

Closing this issue since I am not anticipating any doc changes for logical plans for 19.1. Will open a follow-up issue if something comes up.

Hi @Amruta-Ranade -

Fyi, the functionality will be the same, but based on customer feedback we're doing one more cosmetic change -- see design prototype below:

logicalPlan-05-cautionExpand

cc @piyush-singh

Yes, but I checked the Statements page doc and do not think there's a doc impact.

Ah, agreed that there's no doc impact for the cosmetic change :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

awoods187 picture awoods187  路  7Comments

sploiselle picture sploiselle  路  3Comments

wub picture wub  路  4Comments

jseldess picture jseldess  路  8Comments

jseldess picture jseldess  路  5Comments