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.

[mixed time-series] Metric name is shown in legend instead of label

See original GitHub issue

A clear and concise description of what the bug is.

How to reproduce the bug

  1. Create a metric with a custom label
  2. Use this metric in Mixed Time-series Chart

Expected results

Custom label for metric is shown in legend.

Actual results

Metric name is shown in legend.

Screenshots

If applicable, add screenshots to help explain your problem. image

Environment

(please complete the following information):

  • browser type and version: Chrome 96
  • superset version: master
  • python version: 3.9
  • node.js version: 14.15.5
  • any feature flags active:

Checklist

Make sure to follow these steps 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.

Additional context

This issue is not present in other time-series echarts

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
stephenLYZcommented, Dec 1, 2021

There is a related pr can refer to, https://github.com/apache-superset/superset-ui/pull/1337 is to fix the timeseries chart, the logic is basically the same.

1reaction
Yahyakianicommented, Dec 1, 2021

@junlincc I would like to work on this issue if it’s available . Also, any direction regarding this issue would be appreciated. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Metric and label naming - Prometheus.io
An open-source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern alerting approach.
Read more >
Timeseries Widget - Datadog Docs
A timeseries widget showing the average system.cpu.user for a host ... the display on the graph and legend, which is useful for long...
Read more >
KB221661: Graph legend displays metric name for an attribute ...
1 product when attributes with blank values (not null) in a graph legend are displayed when using the option 'suppress last level labels'...
Read more >
Using SQL data to label time series (via v7 transformations?)
In Grafana, we would like to display some timeseries metrics, labeled with the corresponding system names from the SQL table. We've previously ...
Read more >
Using metric math - Amazon CloudWatch - AWS Documentation
Function Arguments Return type* Supported for cross‑account? ABS TS. TS TS. TS ✓ ANOMALY_DETECTION_BAND TS. TS, S TS AVG TS. TS S. TS ✓
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