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

Macros displayed as KQL functions #405

Closed
andresmgot opened this issue Jun 10, 2022 · 0 comments · Fixed by #494
Closed

Macros displayed as KQL functions #405

andresmgot opened this issue Jun 10, 2022 · 0 comments · Fixed by #494
Assignees

Comments

@andresmgot
Copy link
Contributor

What happened:

One of the actions we did while working on the raw query editor revamp was to define Grafana macros as “functions'' so they can be autocompleted. These macros are now being displayed when configuring schema mappings but they are not real database functions so they shouldn’t. It only happens when the editor is loaded before.

What you expected to happen:

Show only real functions (if any)

How to reproduce it (as minimally and precisely as possible):

  1. Go to the query editor and load the raw editor.
  2. Go to the configuration page.
  3. Enable schema mappings.
  4. See that macros are listed there.

Screenshots

Anything else we need to know?:

Environment:

  • Grafana version:
  • Plugin version: 4.1.0
  • OS Grafana is installed on:
  • User OS & Browser:
  • Others:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant