Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql no data,why? #139

Open
hope1234567hope opened this issue Mar 21, 2025 · 0 comments
Open

mysql no data,why? #139

hope1234567hope opened this issue Mar 21, 2025 · 0 comments

Comments

@hope1234567hope
Copy link

my yaml is

variables:
mysql_connection: mysql -u root -s --database mysql --skip-column-names
sparklines:

  • title: MySQL (random number example)
    pty: true
    init: $mysql_connection
    sample: select rand();
    runcharts:
  • title: thread moniot
    rate-ms: 2000
    items:
    • label: bgthread
      init: $mysql_connection
      sample: SELECT COUNT(*)
      FROM performance_schema.threads
      WHERE TYPE = 'BACKGROUND'
      AND NAME LIKE '%io%';
      color: 178

But does not display the corresponding values; it shows "NAN" instead.

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

No branches or pull requests

1 participant