Skip to content

Commit c2b6126

Browse files
authored
Fix build-farm to use metrics profile-type flag for ES indexing (#386)
The ES_SERVER metrics endpoint had metrics.yml hardcoded instead of using the {{.METRICS}} template variable, causing the --profile-type flag to be ignored when indexing to Elasticsearch. Signed-off-by: Marius Cornea <mcornea@redhat.com>
1 parent 79c17db commit c2b6126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/config/build-farm/build-farm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ global:
88

99
metricsEndpoints:
1010
{{ if .ES_SERVER }}
11-
- metrics: [metrics.yml]
11+
- metrics: [{{.METRICS}}]
1212
alerts: [{{.ALERTS}}]
1313
indexer:
1414
esServers: ["{{.ES_SERVER}}"]

0 commit comments

Comments
 (0)