Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a NOTES.txt that prints the endpoints that will be usable by the user for interacting with mimir/gem. Currently helm does not support rendering the NOTES for testing. Rage/vote here: helm/helm#6901 Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
operations/helm/charts/mimir-distributed/templates/NOTES.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{{- $gateway := .Values.nginx }} | ||
{{- if .Values.enterprise.enabled }} | ||
{{- $gateway = .Values.gateway }} | ||
Welcome to Grafana Enterprise Metrics! | ||
{{- else }} | ||
Welcome to Grafana Mimir! | ||
{{- end }} | ||
|
||
Remote write endpoints for Prometheus or Grafana Agent: | ||
{{ with $gateway.ingress -}} | ||
{{- if .enabled -}} | ||
From outside the cluster via ingress: | ||
{{ range .hosts }} http{{ if .tls }}s{{ end }}://{{ .host }}/api/v1/push | ||
{{ end }} | ||
{{- else -}} | ||
Ingress is not enabled, see {{ if $.Values.enterprise.enabled }}gateway.ingress{{ else }}nginx.ingress{{ end }} values. | ||
{{- end -}} | ||
{{- end }} | ||
From inside the cluster: | ||
http://{{ include "mimir.fullname" $ }}-{{ if .Values.enterprise.enabled }}gateway{{ else }}nginx{{ end }}.{{ .Release.Namespace }}.svc:{{ $gateway.service.port | default "80" }}/api/v1/push | ||
|
||
Read address, Grafana data source (Prometheus) URL: | ||
{{ with $gateway.ingress -}} | ||
{{- if .enabled -}} | ||
From outside the cluster via ingress: | ||
{{ range .hosts }} http{{ if .tls }}s{{ end }}://{{ .host }}/prometheus | ||
{{ end }} | ||
{{- else -}} | ||
Ingress is not enabled, see {{ if $.Values.enterprise.enabled }}gateway.ingress{{ else }}nginx.ingress{{ end }} values. | ||
{{- end -}} | ||
{{- end }} | ||
From inside the cluster: | ||
http://{{ include "mimir.fullname" $ }}-{{ if .Values.enterprise.enabled }}gateway{{ else }}nginx{{ end }}.{{ .Release.Namespace }}.svc:{{ $gateway.service.port | default "80" }}/prometheus |