k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/prometheus/manifests/prometheus-windows-scrape-configs.yaml (about) 1 {{$WINDOWS_NODE_NAME := DefaultParam .WINDOWS_NODE_NAME ""}} 2 3 apiVersion: v1 4 kind: Secret 5 metadata: 6 namespace: monitoring 7 name: windows-scrape-configs 8 stringData: 9 windows-scrape-configs.yaml: |- 10 - job_name: "monitoring/windows_static" 11 scrape_interval: {{DefaultParam .CL2_WINDOWS_SCRAPE_INTERVAL "1m"}} 12 scrape_timeout: {{DefaultParam .CL2_WINDOWS_SCRAPE_TIMEOUT "10s"}} 13 static_configs: 14 - targets: ["{{$WINDOWS_NODE_NAME}}:5000"]