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

Support Promremotebench Metrics && Add Monitoring Dash #2131

Merged
merged 5 commits into from
Jan 31, 2020

Conversation

notbdu
Copy link
Contributor

@notbdu notbdu commented Jan 31, 2020

What this PR does / why we need it:

Adds prom deployment to promremotebench server and adds a monitoring dash for both m3db node and promremotebench.
Also increases prom retention to 48h.

Special notes for your reviewer:

Does this PR introduce a user-facing and/or backwards incompatible change?:

NONE

Does this PR require updating code package or user-facing documentation?:

NONE

- apiVersion: v1
data:
m3db_node_details.json: |-
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way we can pull this out into a separate json representation of the dash and include that here instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so, I couldn't find anything. It looks like this is the way to do it if we write out the yamls ourselves.

Although it seems like using kubectl you can create config maps from files with a flag.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe even just as part of a build step that will swap out a template var for the dash json or something?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could prob use perl or sed but I think it's too much for these test dash defs.

All other dash are also defined in the same way in the file.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kk

@codecov
Copy link

codecov bot commented Jan 31, 2020

Codecov Report

Merging #2131 into master will increase coverage by 13.1%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #2131       /-   ##
=========================================
  Coverage    59.1%   72.3%    13.1%     
=========================================
  Files        1012    1012              
  Lines      133969   87092   -46877     
=========================================
- Hits        79298   63020   -16278     
  Misses      48451   19860   -28591     
  Partials     6220    4212    -2008
Flag Coverage Δ
#aggregator 82% <ø> ( 14%) ⬆️
#cluster 85.4% <ø> ( 32.4%) ⬆️
#collector 64.8% <ø> ( 16%) ⬆️
#dbnode 79.6% <ø> ( 7.1%) ⬆️
#m3em 60.2% <ø> ( 8.5%) ⬆️
#m3ninx 73.9% <ø> ( 23.1%) ⬆️
#m3nsch 51.1% <ø> (-26.9%) ⬇️
#metrics 17.6% <ø> (ø) ⬆️
#msg 74.7% <ø> (-25.3%) ⬇️
#query 68.4% <ø> ( 28.2%) ⬆️
#x 83% <ø> ( 11.3%) ⬆️

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 8fe0776...c3f3788. Read the comment docs.

@notbdu notbdu merged commit c223afe into master Jan 31, 2020
@notbdu notbdu deleted the bdu/promremotebench-metrics branch January 31, 2020 22:24
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

Successfully merging this pull request may close these issues.

2 participants