Skip to content

Grafana data source not found  #665

@YangKeao

Description

@YangKeao

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

Deploy with the following yaml file:

global:
  user: "tidb"
  ssh_port: 22
  deploy_dir: "/tidb-deploy"
  data_dir: "/tidb-data"

pd_servers:
  - host: 127.0.0.1
    name: pd

tidb_servers:
  - host: 127.0.0.1

tikv_servers:
  - host: 127.0.0.1
    data_dir: "/mnt/test/tikv-data"

monitoring_servers:
  - host: 127.0.0.1

grafana_servers:
  - host: 127.0.0.1

Deploy with command: tiup cluster deploy toda-test-cluster v4.0.4 ./test-cluster.conf

Then visit http://127.0.0.1:3000/d/SVbh2xUWk/toda-test-cluster-tiflash-summary?orgId=1.

  1. What did you expect to see?

No error in grafana.

  1. What did you see instead?

I got an error: Datasource named toda-toda-test-cluster was not found. The datasource set in dashboard is toda-toda-test-cluster, but the real datasource name is toda-test-cluster

  1. What version of TiUP are you using (tiup --version)?
v1.0.8 tiup
Go Version: go1.13
Git Branch: master
GitHash: 4276089

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.type/bugCategorizes issue as related to a bug.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions