Merge pull request #35 from grafana/do_not_run_ruler_for_dashboards_without_grafana

Do not create ruler for dashboards when Grafana is not enabled
This commit is contained in:
Michel Hollands 2024-04-10 13:01:45 +01:00 committed by GitHub
commit 0d3f9a1416
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{{- if .Values.local.metrics.enabled }} {{- if .Values.local.grafana.enabled }}
{{- if or (or .Values.dashboards.logs.enabled .Values.dashboards.metrics.enabled) .Values.dashboards.traces.enabled }} {{- if and .Values.local.grafana.enabled (or .Values.dashboards.logs.enabled .Values.dashboards.metrics.enabled .Values.dashboards.traces.enabled) }}
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:

View File

@ -112,6 +112,7 @@ metrics:
- loki_boltdb_shipper_retention_sweeper_chunk_deleted_duration_seconds_sum - loki_boltdb_shipper_retention_sweeper_chunk_deleted_duration_seconds_sum
- loki_boltdb_shipper_retention_sweeper_marker_files_current - loki_boltdb_shipper_retention_sweeper_marker_files_current
- loki_boltdb_shipper_retention_sweeper_marker_file_processing_current_time - loki_boltdb_shipper_retention_sweeper_marker_file_processing_current_time
- loki_build_info
- loki_chunk_store_index_entries_per_chunk_count - loki_chunk_store_index_entries_per_chunk_count
- loki_chunk_store_index_entries_per_chunk_sum - loki_chunk_store_index_entries_per_chunk_sum
- loki_compactor_delete_requests_processed_total - loki_compactor_delete_requests_processed_total