Skip to content

static calibrate resource should not depend on prometheus data #49174

@glorv

Description

@glorv

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

deploy a tidb cluster with tiup playground --without-minitor and run:

mysql> calibrate resource;
ERROR 1105 (HY000): There is no CPU quota metrics, query metric error: [domain:9009]Prometheus address is not set in PD and etcd

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

nightly

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.report/customerCustomers have encountered this bug.severity/majorsig/executionSIG executiontype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions