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

Add prometheus in helm chart #230

Merged
merged 5 commits into from
Feb 13, 2020
Merged

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Feb 13, 2020

Signed-off-by: yeya24 [email protected]

What problem does this PR solve?

What is changed and how does it work?

Check List

Tests

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

Code changes

  • Has Go code change
  • Has CI related scripts change
  • Has Terraform scripts change

Side effects

  • Breaking backward compatibility

Related changes

  • Need to update the documentation

Does this PR introduce a user-facing change?:

Add prometheus in helm chart

Signed-off-by: yeya24 <[email protected]>
@codecov-io
Copy link

codecov-io commented Feb 13, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@7054303). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #230   +/-   ##
=========================================
  Coverage          ?   43.64%           
=========================================
  Files             ?       18           
  Lines             ?      685           
  Branches          ?        0           
=========================================
  Hits              ?      299           
  Misses            ?      353           
  Partials          ?       33

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 7054303...d57fb8d. Read the comment docs.

zhouqiang-cl
zhouqiang-cl previously approved these changes Feb 13, 2020
Copy link
Contributor

@zhouqiang-cl zhouqiang-cl left a comment

Choose a reason for hiding this comment

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

LGTM

@zhouqiang-cl zhouqiang-cl requested a review from cwen0 February 13, 2020 05:07
regex: (.*)
target_label: pod
replacement: $1
action: replace
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe we can drop this label. Any idea about it?

Copy link
Contributor

Choose a reason for hiding this comment

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

I dont. what about you @cwen0

Copy link
Member

Choose a reason for hiding this comment

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

Maybe in the future, we will provide a multi-node way to deploy controller-manger, so I think it is ok to keep this label.

@@ -96,6 +96,41 @@ dashboard:
storage: 3Gi
storageClassName: standard

prometheus:
create: true
Copy link
Member

Choose a reason for hiding this comment

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

Can we set the default value to false?

@@ -0,0 +1,95 @@
apiVersion: apps/v1
Copy link
Member

Choose a reason for hiding this comment

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

{{- if .Values.prometheus.create }}

@@ -96,6 +96,41 @@ dashboard:
storage: 3Gi
storageClassName: standard

prometheus:
Copy link
Member

Choose a reason for hiding this comment

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

rename it to monitor?

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 think prometheus is okay since it is just a single external component.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's ok too

@@ -0,0 +1,64 @@
---
Copy link
Member

Choose a reason for hiding this comment

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

{{- if .Values.prometheus.create }}

@@ -0,0 +1,19 @@
apiVersion: v1
Copy link
Member

Choose a reason for hiding this comment

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

ditto

@yeya24
Copy link
Contributor Author

yeya24 commented Feb 13, 2020

Updated. PTAL

Copy link
Member

@cwen0 cwen0 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@zhouqiang-cl zhouqiang-cl left a comment

Choose a reason for hiding this comment

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

LGTM

@zhouqiang-cl zhouqiang-cl merged commit dfd6814 into chaos-mesh:master Feb 13, 2020
@yeya24 yeya24 deleted the add-prom branch February 13, 2020 16:16
sjwsl pushed a commit to sjwsl/chaos-mesh that referenced this pull request May 6, 2021
* add prometheus

Signed-off-by: yeya24 <[email protected]>
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.

4 participants