question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Chart Explore: Pasting text into Metrics fails and deletes other metrics

See original GitHub issue

Pasting text into Metrics fails and deletes other metrics. This feature is commonly used if metrics are long - user finds them in documentation / from a colleague (via slack) / from previous chart - instead of typing the metric name user wants to paste it. This functionality worked at some point in the past.

Expected results

Existing metric remain, and newly pasted metric (if exists) also is in the Metrics field.

Actual results

Existing metrics disappear.

Screenshots

Step 1: There is some metric in the METRICS field. Screen Shot 2020-10-21 at 6 08 15 PM

Step 2: try to paste new metric, like “test_metric”

Step 3: All metrics disappear. Regardless of if metric that is being pasted exists or not. Screen Shot 2020-10-21 at 6 08 42 PM

How to reproduce the bug

  1. Go to ‘Chart Explore’
  2. Click in ‘Metrics field’
  3. Paste name of a metric, for example try to paste ‘test_metric’
  4. See issue - all existing metrics disappear

Environment

(please complete the following information):

  • superset version: master

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven’t found one similar.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
zuzana-vejcommented, Oct 22, 2020

I can’t provide video of old behavior (when pasting a metric into the box worked) because old behavior doesn’t work right now (honestly I am not sure how long this has been broken, this might not be feature user uses every day, so it could be couple weeks).

I think they certainly touch the same component, so the regression is likely to be introduced when doing some redesign/changes to the Metrics box.

0reactions
junlincccommented, Nov 4, 2020

tested~fixed. closing issue thanks! @kgabryje

Read more comments on GitHub >

github_iconTop Results From Across the Web

Time Tracking app: Metrics you need to be measuring
The app tracks the time spent on each ticket update, and stores this with the ticket. With Explore, you can create calculated metrics...
Read more >
Troubleshooting Azure Monitor metric charts - Microsoft Learn
Use this article if you run into issues with creating, customizing, or interpreting charts in Azure metrics explorer.
Read more >
Use metrics to understand how performance impacts your ...
This table lists the mPulse system metrics that are common to most dashboards. Category, Name, Description, Requirements. Resource Timing: All Asset: includes ...
Read more >
Metrics - Product Documentation | ServiceNow
A metric measures and evaluates the effectiveness of IT service management processes.
Read more >
Table chart options | Looker - Google Cloud
See the Exploring data in Looker documentation page for more ... which can then be pasted into a spreadsheet, text file, or Looker...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found