-
Notifications
You must be signed in to change notification settings - Fork 276
feat(metrics): Decouple Grafana and Prometheus installation for OSM install command #1648
Conversation
charts/osm/values.yaml
Outdated
enableMetricsStack: true | ||
enableGrafana: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that we have a separate flag for grafana the enableMetricsStack
is primarily used for Prometheus deployment, maybe we should change that flag as well to make it more explicit
@eduser25 as FYI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, agree with Sneha, at this point let's have independant toggles for Grafana / Prometheus deployments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, sounds good!
@@ -1,4 +1,4 @@ | |||
{{- if .Values.OpenServiceMesh.enableMetricsStack }} | |||
{{- if and .Values.OpenServiceMesh.enableMetricsStack .Values.OpenServiceMesh.enableGrafana}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{- if and .Values.OpenServiceMesh.enableMetricsStack .Values.OpenServiceMesh.enableGrafana}} | |
{{- if and .Values.OpenServiceMesh.enablePrometheus .Values.OpenServiceMesh.enableGrafana}} |
charts/osm/values.yaml
Outdated
@@ -33,6 +33,7 @@ OpenServiceMesh: | |||
enableBackpressureExperimental: false | |||
enableEgress: false | |||
enableMetricsStack: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename this to enablePrometheus
@nshankar13 Could you kindly update the PR and commit title and description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make the required documentation changes as well ( one such document is observability.md )
Fixes #1599 |
@nshankar13 would you mind following this up with the requested documentation changes. |
Remove the "enableMetricStack" flag for the OSM install command. Replace with two separate flags, enable-grafana and enable-prometheus to decouple installation of Grafana and Prometheus
Please mark with X for applicable areas.
Please answer the following questions with yes/no.