Skip to content

Commit b99d036

Browse files
Revert "default hi-res prometheus; use $__rate_interval (#96)" (#97)
This reverts commit a3426d8.
1 parent a3426d8 commit b99d036

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

charts/application-core/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 4.5.3
18+
version: 4.5.2
1919

2020

2121
maintainers:

charts/application-core/templates/success-rate.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ spec:
2323
query: |
2424
sum(
2525
irate(
26-
response_total{classification="success", namespace="{{`{{args.namespace}}`}}", rollouts_pod_template_hash="{{`{{args.latest-hash}}`}}", direction="inbound"}[$__rate_interval]
26+
response_total{classification="success", namespace="{{`{{args.namespace}}`}}", rollouts_pod_template_hash="{{`{{args.latest-hash}}`}}", direction="inbound"}[1m]
2727
)
2828
) by (deployment) / sum(
2929
irate(
30-
response_total{namespace="{{`{{args.namespace}}`}}", rollouts_pod_template_hash="{{`{{args.latest-hash}}`}}", direction="inbound"}[$__rate_interval])
30+
response_total{namespace="{{`{{args.namespace}}`}}", rollouts_pod_template_hash="{{`{{args.latest-hash}}`}}", direction="inbound"}[1m])
3131
) by (deployment)
3232
3333
{{- end }}

charts/application-core/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rollouts:
1212
# If rolloutsDeploymentStrategy is set, these defaults will be overridden
1313
successRateTemplate:
1414
enabled: true
15-
address: http://prometheus-operated.monitoring.svc.cluster.local:9090
15+
address: http://prometheus.monitoring.svc.cluster.local:9090
1616
interval: 30s
1717
successCondition: result[0] >= 0.95
1818
count: 10

0 commit comments

Comments
 (0)