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

tests/tiup-cluster: check prometheus monitored components #1041

Merged
merged 3 commits into from
Jan 6, 2021

Conversation

9547
Copy link
Contributor

@9547 9547 commented Jan 4, 2021

What problem does this PR solve?

fix #1038

What is changed and how it works?

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Code changes

  • Has exported function/method change
  • Has exported variable/fields change
  • Has interface methods change
  • Has persistent data change

Side effects

  • Possible performance regression
  • Increased code complexity
  • Breaking backward compatibility

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation

Release notes:

NONE

@ti-chi-bot ti-chi-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 4, 2021
@ti-chi-bot ti-chi-bot requested a review from july2993 January 4, 2021 17:14
@codecov-io
Copy link

codecov-io commented Jan 4, 2021

Codecov Report

Merging #1041 (63c4c2b) into master (56d7377) will increase coverage by 0.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1041      +/-   ##
==========================================
+ Coverage   55.66%   55.75%   +0.08%     
==========================================
  Files         280      280              
  Lines       19759    19759              
==========================================
+ Hits        10999    11016      +17     
+ Misses       7048     7035      -13     
+ Partials     1712     1708       -4     
Flag Coverage Δ
cluster 43.69% <100.00%> (+0.07%) ⬆️
dm 24.11% <100.00%> (+0.13%) ⬆️
integrate 50.03% <100.00%> (+0.08%) ⬆️
playground 20.31% <ø> (ø)
tiup 16.50% <0.00%> (+0.02%) ⬆️
unittest 22.27% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/cluster/spec/prometheus.go 79.47% <100.00%> (+5.29%) ⬆️
pkg/cluster/api/dmapi.go 60.00% <0.00%> (+1.73%) ⬆️
pkg/repository/store/txn.go 62.01% <0.00%> (+2.32%) ⬆️
pkg/cluster/template/config/prometheus.go 70.49% <0.00%> (+6.55%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56d7377...63c4c2b. Read the comment docs.

@lucklove lucklove added this to the v1.3.2 milestone Jan 5, 2021
@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Jan 5, 2021
@lucklove
Copy link
Member

lucklove commented Jan 5, 2021

The test failed, there is something wrong, @9547 could you take a look?

@9547
Copy link
Contributor Author

9547 commented Jan 5, 2021

The test failed, there is something wrong, @9547 could you take a look?

I'll look at it tonight

@9547 9547 force-pushed the fix/wrong-prometheus-grafana-name branch from bdd1652 to b7ecc45 Compare January 5, 2021 14:42
@9547 9547 force-pushed the fix/wrong-prometheus-grafana-name branch from b7ecc45 to 63c4c2b Compare January 5, 2021 15:13
@ti-chi-bot ti-chi-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 5, 2021
@lucklove
Copy link
Member

lucklove commented Jan 6, 2021

/lgtm

@lucklove
Copy link
Member

lucklove commented Jan 6, 2021

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 63c4c2b

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Jan 6, 2021
@ti-chi-bot ti-chi-bot merged commit 8feef43 into pingcap:master Jan 6, 2021
lucklove pushed a commit that referenced this pull request Jan 28, 2021
* fix(cluster/spec): missing {alertmanager,grafana}s

* typo(tests/tiup-cluster): wrong use grep expr

* fix(tests/tiup-cluster): tiflash only available if no_tls
@9547 9547 deleted the fix/wrong-prometheus-grafana-name branch April 6, 2021 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S Denotes a PR that changes 10-29 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT1 Indicates that a PR has LGTM 1.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tiup deployed prometheus can't generate alertmanager configurations correctly
5 participants