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

Fail to authenticate with provisioning basicAuth in Grafana alert rule creation #280

Open
davide-prade opened this issue Aug 30, 2024 · 0 comments

Comments

@davide-prade
Copy link

grafana: 11.1.4
tdengine: 3.2.3.0
grafanaplugin: 3.5.2

apiVersion: 1
datasources:
- name: TDengine
  type: tdengine-datasource
  orgId: 1
  url: "http://taosd:6041"
  basicAuth: true
  isDefault: true
  secureJsonData:
    url: "http://taosd:6041"
    basicAuth: "cm9vdDp0YW9zZGF0YQ==" # printf root:taosdata|base64 - DO NOT WORK FOR ALERTS!
  version: 1
  editable: true

With this provisioned configuration dashboards works correctly, but the Grafana alert creation not (clicking on "Preview" button).

image

If I then change manually username and password from the web interface, then the alert creation works.

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