Skip to content

mysql no data,why? #138

Description

@hope1234567hope

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions