Skip to content

Commit

Permalink
Merge pull request #17 from valencenet/prometheus/slim-down-metrics
Browse files Browse the repository at this point in the history
add original metrics and SLOs for better reporting
  • Loading branch information
domenicrosati authored Apr 9, 2019
2 parents b3ce932 + 117a397 commit 69b9823
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/valence/prometheus/config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ data:
- valence-system
metric_relabel_configs:
- source_labels: [__name__]
regex: (?i)(valence_recommendations_memory_requests|valence_recommendations_memory_limits|valence_recommendations_cpu_requests|valence_recommendations_cpu_limits|valence_recommendations_replicas)
regex: (?i)(valence_recommendations_memory_requests|valence_recommendations_memory_limits|valence_recommendations_cpu_requests|valence_recommendations_cpu_limits|valence_recommendations_replicas|valence_original_cpu_limits|valence_original_cpu_requests|valence_original_memory_limits|valence_original_memory_requests|valence_original_replicas|valence_slo_http_latency|valence_slo_http_percentile|valence_slo_http_throughput)
action: keep
relabel_configs:
- source_labels: [__meta_kubernetes_service_label_app_kubernetes_io_component]
Expand Down
2 changes: 1 addition & 1 deletion valence.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ data:
- valence-system
metric_relabel_configs:
- source_labels: [__name__]
regex: (?i)(valence_recommendations_memory_requests|valence_recommendations_memory_limits|valence_recommendations_cpu_requests|valence_recommendations_cpu_limits|valence_recommendations_replicas)
regex: (?i)(valence_recommendations_memory_requests|valence_recommendations_memory_limits|valence_recommendations_cpu_requests|valence_recommendations_cpu_limits|valence_recommendations_replicas|valence_original_cpu_limits|valence_original_cpu_requests|valence_original_memory_limits|valence_original_memory_requests|valence_original_replicas|valence_slo_http_latency|valence_slo_http_percentile|valence_slo_http_throughput)
action: keep
relabel_configs:
- source_labels: [__meta_kubernetes_service_label_app_kubernetes_io_component]
Expand Down

0 comments on commit 69b9823

Please sign in to comment.